Skip to content

Interface: BaseServiceASTNode<TType, THandle> ​

Defined in: ast/base/base-service-ast-node.ts:28

Domain-agnostic base AST node contract for lifecycle-bound background services (ServiceASTNode).

Services are acquired via RuntimeExecutorRegistry.services[node.type] and automatically quiesced at step boundaries, fork suspensions, and tournament park barriers.

Extended by ​

Type Parameters ​

Type ParameterDefault typeDescription
TType extends stringstringString-literal discriminant of the service node.
THandleunknownIsolation scope handle type associated with the service.

Properties ​

PropertyModifierTypeDescriptionDefined in
__handleBrand?readonlyBivariantCallback<[handle: THandle], void>Phantom type brand binding the service to its compatible scope handle type.ast/base/base-service-ast-node.ts:38
idreadonlystringLogical identifier of the service definition.ast/base/base-service-ast-node.ts:32
lifecyclereadonly"scope" | "fork" | "skill"Lifecycle scope governing when the service daemon is started and stopped.ast/base/base-service-ast-node.ts:34
toolSchemasreadonlyreadonly ServiceToolSchemaDescriptor[]Up-front tool schema descriptors for all interaction tools exposed by this service.ast/base/base-service-ast-node.ts:36
typereadonlyTTypeUnique string-literal discriminant of the service node.ast/base/base-service-ast-node.ts:30

Released under the MIT License.