RealpathGuardOptions
Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/core/deepAgentPermissions.ts:231
Options for guardFilesystemBackend.
Properties
Section titled “Properties”allowDirs?
Section titled “allowDirs?”
optionalallowDirs?:string[]
Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/core/deepAgentPermissions.ts:242
Extra real absolute directories allowed beyond cwd (the --allow-dir widened roots).
optionalcwd?:string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/core/deepAgentPermissions.ts:233
Real absolute cwd the sandbox is rooted at. Defaults to getCurrentWorkDir.
virtual?
Section titled “virtual?”
optionalvirtual?:boolean
Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/core/deepAgentPermissions.ts:240
True when the wrapped backend runs in virtualMode (EXT-16 Windows fallback): the
model-supplied path is a /-rooted VIRTUAL path relative to cwd, not a real OS path.
--allow-dir widening never applies in virtualMode (mirrors buildPermissions), so
allowDirs is ignored when this is true.