AUTO-DETECTED VIA A PACKAGE-SCOPED ENV — LIVE SCHEMAS
Settings schema
Settings defaults schema — top-level keys (auto-detected). Each key is discovered from the loaded environment; expand its schema only when you need its complete default shape.
contextGuardCap
Fraction of the context window that trips the runaway guard and ends the turn.
Schema
{
"default": 0.9,
"description": "Fraction of the context window that trips the runaway guard and ends the turn."
}contextGuardTurnCap
Fraction of the context window a SINGLE turn may consume before the guard trips.
Schema
{
"default": 0.4,
"description": "Fraction of the context window a SINGLE turn may consume before the guard trips."
}env-allow
Child-process env allowlist for sandboxed tools/MCP servers — keep ONLY these names.
Schema
{
"description": "Child-process env allowlist for sandboxed tools/MCP servers — keep ONLY these names."
}env-refuse
Child-process env blocklist for sandboxed tools/MCP servers — drop these names.
Schema
{
"description": "Child-process env blocklist for sandboxed tools/MCP servers — drop these names."
}maxActive
Global concurrent-IO cap.
Schema
{
"default": 4,
"description": "Global concurrent-IO cap."
}maxAttempts
Provider-request attempts per turn: the first write plus retries of retryable failures (network/provider/auth).
Schema
{
"default": 3,
"description": "Provider-request attempts per turn: the first write plus retries of retryable failures (network/provider/auth)."
}mcp
MCP servers this Agent can reach (name -> {command, args?, env?, timeout?, safe?, description?}) — package/settings scope only, never the project folder.
Schema
{
"default": {},
"description": "MCP servers this Agent can reach (name -> {command, args?, env?, timeout?, safe?, description?}) — package/settings scope only, never the project folder."
}modelAccess
Model-list exposure policy: "local", "remote", or "all".
Schema
{
"default": "all",
"description": "Model-list exposure policy: \"local\", \"remote\", or \"all\"."
}prompts
Extra prompt roots (string or array).
Schema
{
"description": "Extra prompt roots (string or array)."
}providerPaths
Extra provider-class roots (string or array) — package/settings scope only.
Schema
{
"description": "Extra provider-class roots (string or array) — package/settings scope only."
}providers
Manually configured endpoints (name -> {provider, url, model?, timeout?, maxActive?, secret?, ...}).
Schema
{
"default": {},
"description": "Manually configured endpoints (name -> {provider, url, model?, timeout?, maxActive?, secret?, ...})."
}retryBase
The first request-retry delay in ms; each next attempt waits twice as long.
Schema
{
"default": 2000,
"description": "The first request-retry delay in ms; each next attempt waits twice as long."
}retryMax
The request-retry delay ceiling in ms.
Schema
{
"default": 30000,
"description": "The request-retry delay ceiling in ms."
}skills
Extra skill roots (string or array).
Schema
{
"description": "Extra skill roots (string or array)."
}tools
Extra tool-folder roots (string or array) — package/settings scope only.
Schema
{
"description": "Extra tool-folder roots (string or array) — package/settings scope only."
}toolTimeout
Default per-tool-call timeout, in ms (a tool's own schema timeout overrides it).
Schema
{
"default": 120000,
"description": "Default per-tool-call timeout, in ms (a tool's own schema `timeout` overrides it)."
}toolTimeoutLimit
The hard cap a tool's own timeout may not exceed, in ms.
Schema
{
"default": 1200000,
"description": "The hard cap a tool's own `timeout` may not exceed, in ms."
}tui
Terminal UI settings: cursor {blink, shape}, alt-screen flag, key overrides, mouse flag (true managed, false off, unset mode default), OSC 52 clipboard, scrollbar, and named themes.
Schema
{
"default": {
"cursor": {
"blink": 450,
"shape": "line"
},
"alt": false,
"keys": {},
"osc52": true,
"scroll": {
"show": true,
"track": "│",
"thumb": "█"
},
"theme": "default",
"themes": {}
},
"description": "Terminal UI settings: cursor {blink, shape}, alt-screen flag, key overrides, mouse flag (true managed, false off, unset mode default), OSC 52 clipboard, scrollbar, and named themes."
}web
Web UI settings: slash autocomplete, default collapse of thinking/tool blocks, tool-output line cap, and theme ("system"|"light"|"dark").
Schema
{
"default": {
"autocomplete": true,
"collapse": {
"thinking": true,
"tools": true
},
"toolLines": 6,
"theme": "system"
},
"description": "Web UI settings: slash autocomplete, default collapse of thinking/tool blocks, tool-output line cap, and theme (\"system\"|\"light\"|\"dark\")."
}