Interface: RunShellCommandPolicyContext
Defined in: src/batteries/sandbox/tool.ts:78
The per-call context handed to a RunShellCommandPolicyFn.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
args | readonly | { command: string; cwd: string; timeout_seconds: number; } | The validated tool arguments (command, cwd, timeout_seconds) for this call. | src/batteries/sandbox/tool.ts:80 |
args.command | public | string | - | src/batteries/sandbox/tool.ts:80 |
args.cwd | public | string | - | src/batteries/sandbox/tool.ts:80 |
args.timeout_seconds | public | number | - | src/batteries/sandbox/tool.ts:80 |
relativeCwd | readonly | string | The resolved workspace-relative cwd this call will run under. | src/batteries/sandbox/tool.ts:82 |