Interface: LocalServiceNode
Defined in: core/dist/ast/domain/local-service-node.d.ts:38
Passive AST node representing a lifecycle-bound background daemon service (local.daemon).
Manages dynamic conflict-free port allocation, hash-suffixed scopeKey sanitization, TCP readiness verification, and framed pseudo-terminal (PTY) interaction tools.
Extends
BaseServiceASTNode<"node:service">
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
__handleBrand? | readonly | BivariantCallback<[handle: unknown], void> | Phantom type brand binding the service to its compatible scope handle type. | BaseServiceASTNode.__handleBrand | core/dist/ast/base/base-service-ast-node.d.ts:36 |
id | readonly | string | Logical identifier of the service definition. | BaseServiceASTNode.id | core/dist/ast/base/base-service-ast-node.d.ts:30 |
interactions | readonly | readonly LocalServiceInteractionConfig[] | Framed PTY interaction tool specifications exposed by this service. | - | core/dist/ast/domain/local-service-node.d.ts:61 |
lifecycle | readonly | "scope" | "fork" | "skill" | Lifecycle scope governing when the service daemon is started and stopped. | BaseServiceASTNode.lifecycle | core/dist/ast/base/base-service-ast-node.d.ts:32 |
ports | readonly | readonly string[] | Named dynamic TCP port identifiers allocated for each daemon session. | - | core/dist/ast/domain/local-service-node.d.ts:42 |
readyWhenStdoutRegex? | readonly | object | Optional regex pattern over combined stdout/stderr indicating daemon readiness. | - | core/dist/ast/domain/local-service-node.d.ts:56 |
readyWhenStdoutRegex.flags? | readonly | string | - | - | core/dist/ast/domain/local-service-node.d.ts:58 |
readyWhenStdoutRegex.pattern | readonly | string | - | - | core/dist/ast/domain/local-service-node.d.ts:57 |
runner | readonly | NodeRunnerNode | Runner pool governing daemon slot concurrency (maxDaemons). | - | core/dist/ast/domain/local-service-node.d.ts:40 |
startArgv | readonly | (ctx) => readonly string[] | Pure factory mapping allocated ports, sanitized scopeKey, and worktreePath to the startup argv. | - | core/dist/ast/domain/local-service-node.d.ts:44 |
stopArgv? | readonly | (ctx) => readonly string[] | Optional pure factory mapping session context to a cleanup/stop command argv. | - | core/dist/ast/domain/local-service-node.d.ts:50 |
toolSchemas | readonly | readonly ServiceToolSchemaDescriptor[] | Up-front tool schema descriptors for all interaction tools exposed by this service. | BaseServiceASTNode.toolSchemas | core/dist/ast/base/base-service-ast-node.d.ts:34 |
type | readonly | "node:service" | Unique string-literal discriminant of the service node. | BaseServiceASTNode.type | core/dist/ast/base/base-service-ast-node.d.ts:28 |