Skip to content

BashToolOptions

Defined in: packages/tools/src/bash/tools.ts:14

Shared constructor fields for tools that materialize through an EffectGate.

cwd: string

Defined in: packages/tools/src/bash/tools.ts:21

Working directory every command runs in.


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.

GatedToolOptions.effectGate


effectScope: ToolEffectScope

Defined in: packages/tools/src/approval/types.ts:27

Run identity stamped onto each tool intent.

GatedToolOptions.effectScope


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.


optional timeoutMs?: number

Defined in: packages/tools/src/bash/tools.ts:23

Wall-clock timeout per command, in milliseconds. Default 30,000 (30s).