BashToolOptions
Defined in: packages/tools/src/bash/tools.ts:14
Shared constructor fields for tools that materialize through an EffectGate.
Extends
Section titled “Extends”Properties
Section titled “Properties”cwd:
string
Defined in: packages/tools/src/bash/tools.ts:21
Working directory every command runs in.
effectGate
Section titled “effectGate”effectGate:
EffectGate
Defined in: packages/tools/src/approval/types.ts:25
Pre-materialize gate. Required — pass import(“@agent-dev-lab/core”).allowAllGate explicitly for tests / permissive local hosts.
Inherited from
Section titled “Inherited from”effectScope
Section titled “effectScope”effectScope:
ToolEffectScope
Defined in: packages/tools/src/approval/types.ts:27
Run identity stamped onto each tool intent.
Inherited from
Section titled “Inherited from”executor
Section titled “executor”executor:
BashExecutor
Defined in: packages/tools/src/bash/tools.ts:19
Isolation strategy. Required: this tool never picks an executor on its own, and there’s no unsandboxed default.
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?:number
Defined in: packages/tools/src/bash/tools.ts:23
Wall-clock timeout per command, in milliseconds. Default 30,000 (30s).