Skip to content

CappedOutput

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/shell/outputBuffer.ts:21

optional spillPath?: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/shell/outputBuffer.ts:29

Absolute path to the spilled full output, or undefined when not truncated.


text: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/shell/outputBuffer.ts:23

The bounded text to surface to the model (head + tail with a gap note).


totalBytes: number

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/shell/outputBuffer.ts:27

Total bytes captured (the full, untruncated size).


truncated: boolean

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/shell/outputBuffer.ts:25

True when the output exceeded the budget and was truncated.