FileToolProviderOptions
Defined in: packages/tools/src/file/provider.ts:100
Properties
Section titled “Properties”allowRead?
Section titled “allowRead?”
optionalallowRead?:FileAllowRead
Defined in: packages/tools/src/file/provider.ts:112
Default read bound when a call’s context doesn’t specify one. Omitted means [root].
UNBOUNDED_ALLOW_READ is host-wide; null means nothing can be read.
allowWrite?
Section titled “allowWrite?”
optionalallowWrite?:string[]
Defined in: packages/tools/src/file/provider.ts:117
Default write allow list when a call’s context doesn’t specify any. Omitted → [root].
[] — no writes.
denyRead?
Section titled “denyRead?”
optionaldenyRead?:string[]
Defined in: packages/tools/src/file/provider.ts:119
Default deny-read paths when a call’s context doesn’t specify any.
denyWrite?
Section titled “denyWrite?”
optionaldenyWrite?:string[]
Defined in: packages/tools/src/file/provider.ts:121
Default deny-write paths when a call’s context doesn’t specify any.
effectGate
Section titled “effectGate”effectGate:
EffectGate
Defined in: packages/tools/src/file/provider.ts:105
Pre-materialize gate for every file / describe-env tool call. Required — pass import(“@agent-dev-lab/core”).allowAllGate explicitly for tests.
maxReadBytes?
Section titled “maxReadBytes?”
optionalmaxReadBytes?:number
Defined in: packages/tools/src/file/provider.ts:123
Default read byte cap when a call’s context doesn’t specify one.
maxWriteBytes?
Section titled “maxWriteBytes?”
optionalmaxWriteBytes?:number
Defined in: packages/tools/src/file/provider.ts:125
Default write byte cap when a call’s context doesn’t specify one.
optionalroot?:string
Defined in: packages/tools/src/file/provider.ts:107
Default relative-path base when a call’s context doesn’t specify one.