Interface: KernelBuilder
Defined in: packages/core/src/composition/kernel-builder.ts:40
Fluent pre-construction builder for additive kernel registrations.
Methods
build()
build():
Promise<Kernel>
Defined in: packages/core/src/composition/kernel-builder.ts:151
Builds the final kernel using the accumulated additive registrations.
Returns
Promise<Kernel>
A kernel equivalent to createKernel(config, accumulatedOptions)
registerActorProvider()
registerActorProvider(
provider):this
Defined in: packages/core/src/composition/kernel-builder.ts:134
Registers an additional actor detection provider.
Parameters
provider
Provider to append ahead of built-ins
Returns
this
The same builder for fluent chaining
registerArchiveStorage()
registerArchiveStorage(
adapter,factory):this
Defined in: packages/core/src/composition/kernel-builder.ts:79
Registers a named archive storage factory.
Parameters
adapter
string
Adapter name to register
factory
Factory implementation for that adapter
Returns
this
The same builder for fluent chaining
Throws
RegistryConflictError When the adapter name already exists
registerChangeStorage()
registerChangeStorage(
adapter,factory):this
Defined in: packages/core/src/composition/kernel-builder.ts:69
Registers a named change storage factory.
Parameters
adapter
string
Adapter name to register
factory
Factory implementation for that adapter
Returns
this
The same builder for fluent chaining
Throws
RegistryConflictError When the adapter name already exists
registerExternalHookRunner()
registerExternalHookRunner(
name,runner):this
Defined in: packages/core/src/composition/kernel-builder.ts:144
Registers an external hook runner.
Parameters
name
string
Caller-facing registration label
runner
Runner implementation declaring accepted external types
Returns
this
The same builder for fluent chaining
Throws
RegistryConflictError When any accepted type already exists
registerExtractorTransform()
registerExtractorTransform(
name,transform):this
Defined in: packages/core/src/composition/kernel-builder.ts:118
Registers an extractor transform under a stable name.
Parameters
name
string
Registered transform name
transform
Transform callback implementation
Returns
this
The same builder for fluent chaining
Throws
RegistryConflictError When the name already exists
registerGraphStore()
registerGraphStore(
id,factory):this
Defined in: packages/core/src/composition/kernel-builder.ts:89
Registers a named graph-store factory.
Parameters
id
string
Stable backend id to register
factory
Factory implementation for that backend
Returns
this
The same builder for fluent chaining
Throws
RegistryConflictError When the backend id already exists
registerParser()
registerParser(
format,parser):this
Defined in: packages/core/src/composition/kernel-builder.ts:108
Registers an artifact parser for a named format.
Parameters
format
string
Artifact format name
parser
Parser implementation for that format
Returns
this
The same builder for fluent chaining
Throws
RegistryConflictError When the format already exists
registerSchemaStorage()
registerSchemaStorage(
adapter,factory):this
Defined in: packages/core/src/composition/kernel-builder.ts:59
Registers a named schema storage factory.
Parameters
adapter
string
Adapter name to register
factory
Factory implementation for that adapter
Returns
this
The same builder for fluent chaining
Throws
RegistryConflictError When the adapter name already exists
registerSpecStorage()
registerSpecStorage(
adapter,factory):this
Defined in: packages/core/src/composition/kernel-builder.ts:49
Registers a named spec storage factory.
Parameters
adapter
string
Adapter name to register
factory
Factory implementation for that adapter
Returns
this
The same builder for fluent chaining
Throws
RegistryConflictError When the adapter name already exists
registerVcsProvider()
registerVcsProvider(
provider):this
Defined in: packages/core/src/composition/kernel-builder.ts:126
Registers an additional VCS detection provider.
Parameters
provider
Provider to append ahead of built-ins
Returns
this
The same builder for fluent chaining
useGraphStore()
useGraphStore(
id):this
Defined in: packages/core/src/composition/kernel-builder.ts:98
Selects the active graph-store backend id for the kernel being built.
Parameters
id
string
Registered graph-store backend id to select
Returns
this
The same builder for fluent chaining
Throws
When the backend id is not registered