Interface: SandboxedToolForgeConfig
Defined in: packages/agentos/src/cognition/emergent/SandboxedToolForge.ts:60
Configuration options for the SandboxedToolForge.
All fields are optional and fall back to sensible defaults.
Properties
fetchDomainAllowlist?
optionalfetchDomainAllowlist:string[]
Defined in: packages/agentos/src/cognition/emergent/SandboxedToolForge.ts:81
When fetch is in the allowlist, only requests to these domains are
permitted. An empty array means all domains are allowed.
Domain matching is case-insensitive and checks exact host equality.
Default
[]
fsReadRoots?
optionalfsReadRoots:string[]
Defined in: packages/agentos/src/cognition/emergent/SandboxedToolForge.ts:88
Filesystem roots sandboxed fs.readFile calls may access.
Relative paths are resolved from the current working directory.
Defaults to the current working directory only.
memoryMB?
optionalmemoryMB:number
Defined in: packages/agentos/src/cognition/emergent/SandboxedToolForge.ts:67
Nominal heap budget in megabytes for telemetry and future isolate-backed execution. The current node:vm implementation cannot preemptively enforce memory limits.
Default
128
timeoutMs?
optionaltimeoutMs:number
Defined in: packages/agentos/src/cognition/emergent/SandboxedToolForge.ts:73
Maximum wall-clock execution time in milliseconds.
Default
5000