BashSandboxPolicy
Defined in: packages/tools/src/bash/executor-pool.ts:20
Isolation policy fields — not cwd / timeouts / output caps.
Properties
Section titled “Properties”allowedDomains?
Section titled “allowedDomains?”
optionalallowedDomains?:string[]
Defined in: packages/tools/src/bash/executor-pool.ts:30
allowEnv?
Section titled “allowEnv?”
optionalallowEnv?:AllowEnv
Defined in: packages/tools/src/bash/executor-pool.ts:37
Host env vars exposed inside the sandbox. Omitted / [] → none. Part of the pool key.
allowNetwork?
Section titled “allowNetwork?”
optionalallowNetwork?:boolean
Defined in: packages/tools/src/bash/executor-pool.ts:33
Master network switch. Domain lists apply only when this is true.
allowRead?
Section titled “allowRead?”
optionalallowRead?:"**"|string[] |null
Defined in: packages/tools/src/bash/executor-pool.ts:27
Paths reads are confined to. After provider merge: a list, UNBOUNDED_ALLOW_READ
for host-wide, or null/[] for nothing readable. On options/context before merge,
omit to default to [cwd].
allowWrite
Section titled “allowWrite”allowWrite:
string[]
Defined in: packages/tools/src/bash/executor-pool.ts:21
deniedDomains?
Section titled “deniedDomains?”
optionaldeniedDomains?:string[]
Defined in: packages/tools/src/bash/executor-pool.ts:31
denyRead?
Section titled “denyRead?”
optionaldenyRead?:string[]
Defined in: packages/tools/src/bash/executor-pool.ts:28
denyWrite?
Section titled “denyWrite?”
optionaldenyWrite?:string[]
Defined in: packages/tools/src/bash/executor-pool.ts:29
tmpDir?
Section titled “tmpDir?”
optionaltmpDir?:string
Defined in: packages/tools/src/bash/executor-pool.ts:42
ASRT-only. Directory used as TMPDIR inside the sandbox. Omitted → the executor
creates a per-instance directory. Native backend rejects this field.