@wpkernel/cli / WPKernelConfigV1
Interface: WPKernelConfigV1
Shape of a v1 wpk configuration object.
Properties
namespace
namespace: string;Short, slug-style identifier for this plugin or feature. Used as a prefix for generated PHP namespaces, JS store keys, and WordPress capability names.
resources
resources: ResourceRegistry;Registry of resource descriptors keyed by identifier. Required and drives routes, storage, capabilities, UI, and builders.
schemas
schemas: SchemaRegistry;Registry of shared schema descriptors keyed by identifier. Required but may be empty.
version
version: 1;$schema?
optional $schema: string;Optional JSON Schema URI used by editors and tooling. Ignored by WPKernel at runtime.
adapters?
optional adapters: AdaptersConfig<unknown, unknown>;directories?
optional directories: Record<string, string>;Optional mapping of applied artifact identifiers to workspace-relative directories (omit the ".applied" suffix). Supported keys: blocks, blocks.applied, controllers, controllers.applied, plugin, plugin.loader.
meta?
optional meta: PluginMetaConfig;Optional plugin metadata used for generated plugin headers. When omitted, sane defaults are derived from the namespace.
readiness?
optional readiness: ReadinessConfig;