Interface: LocalCommandNode<TIn, TOut, THandle>
Defined in: core/dist/ast/domain/local-command-node.d.ts:29
Passive AST node representing a one-shot local OS subprocess command (local.command).
Participates in StepASTNode and can be projected into a LocalCommandCheckNode (.asCheck()) or a post-flight-diffed LocalCommandToolNode (.asTool()).
Extends
BaseDomainStepASTNode<"node:command",TIn,TOut,THandle>
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TIn | unknown | Validated command input type. |
TOut | unknown | Validated command output type. |
THandle | unknown | Isolation scope handle type. |
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
__handleBrand? | readonly | BivariantCallback<[handle: THandle], void> | Phantom type brand binding the step to its compatible scope handle type. | BaseDomainStepASTNode.__handleBrand | core/dist/ast/base/base-domain-step-ast-node.d.ts:24 |
argv | readonly | | readonly string[] | BivariantCallback<[input: TIn], readonly string[]> | Static argument vector or pure mapper deriving argv from TIn. | - | core/dist/ast/domain/local-command-node.d.ts:33 |
env? | readonly | Readonly<Record<string, string | EnvRef>> | Optional environment variables or symbolic EnvRef bindings injected into the subprocess. | - | core/dist/ast/domain/local-command-node.d.ts:37 |
id | readonly | string | Logical identifier of the step node. | BaseDomainStepASTNode.id | core/dist/ast/base/base-domain-step-ast-node.d.ts:18 |
inputSchema | readonly | ZodType<TIn> | Zod schema validating the step's input payload at entry. | BaseDomainStepASTNode.inputSchema | core/dist/ast/base/base-domain-step-ast-node.d.ts:20 |
outputSchema | readonly | ZodType<TOut> | Zod schema validating the step's output payload at exit. | BaseDomainStepASTNode.outputSchema | core/dist/ast/base/base-domain-step-ast-node.d.ts:22 |
runner | readonly | NodeRunnerNode | Runner pool governing subprocess slot concurrency. | - | core/dist/ast/domain/local-command-node.d.ts:31 |
stdinMode | readonly | | "closed" | BivariantCallback<[input: TIn], string | Uint8Array<ArrayBufferLike>> | Standard input mode ('closed' or synchronous payload mapper). | - | core/dist/ast/domain/local-command-node.d.ts:35 |
timeoutMinutes? | readonly | number | Optional execution timeout in minutes. | - | core/dist/ast/domain/local-command-node.d.ts:39 |
type | readonly | "node:command" | Unique string-literal discriminant of the domain step node. | BaseDomainStepASTNode.type | core/dist/ast/base/base-domain-step-ast-node.d.ts:16 |
unrepeatable? | readonly | LocalCommandUnrepeatableConfig<TIn, THandle> | Optional idempotency guard that skips execution when preCheckCmd returns true. | - | core/dist/ast/domain/local-command-node.d.ts:41 |