Skip to content

BashAccessInfo

Defined in: bash/provider.ts:60

The describeBashEnv tool’s payload — see createBashToolProvider.

allowRead: string[] | null

Defined in: bash/executor.ts:54

Absolute paths reads are confined to, or null when this executor is not bounding reads at all (the whole host filesystem is visible read-only). null is the honest answer for a backend that cannot bound reads — createAsrtBashExecutor — rather than reporting an empty list that would read as “nothing is readable.”

Even when non-null, the sandbox still contains the system paths any program needs to execute (/usr, /etc, the lib directories), so /etc/passwd stays readable. The guarantee is “no user data outside these roots,” not “only these roots.”

BashExecutorDescription.allowRead


allowWrite: string[]

Defined in: bash/executor.ts:43

Absolute paths writable inside the sandbox.

BashExecutorDescription.allowWrite


backend: string

Defined in: bash/executor.ts:41

Which executor implementation this is, e.g. "asrt" or "native".

BashExecutorDescription.backend


cwd: string

Defined in: bash/provider.ts:62

The working directory this call’s bash tool actually runs commands in.


denyRead: string[]

Defined in: bash/executor.ts:56

Absolute paths hidden from reads, on top of the executor’s own defaults.

BashExecutorDescription.denyRead


denyWrite: string[]

Defined in: bash/executor.ts:58

Absolute paths denied write access, on top of allowWrite not already covering them.

BashExecutorDescription.denyWrite


network: object

Defined in: bash/executor.ts:59

optional allowedDomains?: string[]

Domains allowed when allowNetwork is true and the executor supports per-domain rules.

allowNetwork: boolean

optional deniedDomains?: string[]

BashExecutorDescription.network


timeoutMs: number

Defined in: bash/provider.ts:64

The wall-clock timeout (ms) this call’s bash tool actually enforces.