Interface: LocalCommandNode<TIn, TOut, THandle>
Defined in: ast/domain/local-command-node.ts:31
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 | ast/base/base-domain-step-ast-node.ts:30 |
argv | readonly | | readonly string[] | BivariantCallback<[input: TIn], readonly string[]> | Static argument vector or pure mapper deriving argv from TIn. | - | ast/domain/local-command-node.ts:36 |
env? | readonly | Readonly<Record<string, string | EnvRef>> | Optional environment variables or symbolic EnvRef bindings injected into the subprocess. | - | ast/domain/local-command-node.ts:40 |
id | readonly | string | Logical identifier of the step node. | BaseDomainStepASTNode.id | ast/base/base-domain-step-ast-node.ts:24 |
inputSchema | readonly | ZodType<TIn> | Zod schema validating the step's input payload at entry. | BaseDomainStepASTNode.inputSchema | ast/base/base-domain-step-ast-node.ts:26 |
outputSchema | readonly | ZodType<TOut> | Zod schema validating the step's output payload at exit. | BaseDomainStepASTNode.outputSchema | ast/base/base-domain-step-ast-node.ts:28 |
runner | readonly | NodeRunnerNode | Runner pool governing subprocess slot concurrency. | - | ast/domain/local-command-node.ts:34 |
stdinMode | readonly | | "closed" | BivariantCallback<[input: TIn], string | Uint8Array<ArrayBufferLike>> | Standard input mode ('closed' or synchronous payload mapper). | - | ast/domain/local-command-node.ts:38 |
timeoutMinutes? | readonly | number | Optional execution timeout in minutes. | - | ast/domain/local-command-node.ts:42 |
type | readonly | "node:command" | Unique string-literal discriminant of the domain step node. | BaseDomainStepASTNode.type | ast/base/base-domain-step-ast-node.ts:22 |
unrepeatable? | readonly | LocalCommandUnrepeatableConfig<TIn, THandle> | Optional idempotency guard that skips execution when preCheckCmd returns true. | - | ast/domain/local-command-node.ts:44 |