Skip to content

Interface: LocalDaemonCommandContext ​

Defined in: node/src/builders/local-daemon-builder.ts:15

Runtime context supplied to local.daemon .start(), .stopCommand(), and .interact() command factories.

Provides dynamically allocated conflict-free TCP ports, the collision-free hash-suffixed scopeKey, and the optional isolation scope worktreePath.

Properties ​

PropertyModifierTypeDescriptionDefined in
portsreadonlyReadonly<Record<string, number>>Dynamically allocated conflict-free TCP port numbers keyed by .port(name).node/src/builders/local-daemon-builder.ts:17
scopeKeyreadonlystringSanitized and SHA-256-suffixed scope key (${sanitizedPrefix}-${sha256(rawScopeKey).slice(0, 8)}).node/src/builders/local-daemon-builder.ts:19
worktreePath?readonlystringOptional filesystem path of the active isolation scope worktree.node/src/builders/local-daemon-builder.ts:21

Released under the MIT License.