Skip to content

SHELL_DEFAULT_MAX_OUTPUT_BYTES

const SHELL_DEFAULT_MAX_OUTPUT_BYTES: 100000 = 100_000

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:336

Default byte budget for shell output captured into the ToolMessage returned to the model (head + tail window). ~100KB keeps a noisy log from blowing the context window; the full output is spilled to a temp file when this is exceeded.