feat(core): allow disabling tool output truncation

This commit is contained in:
Aiden Cline 2026-05-22 17:20:58 -05:00
commit 1edba25dfb
9 changed files with 87 additions and 25 deletions

View file

@ -1294,10 +1294,15 @@ export type Config = {
enterprise?: {
url?: string
}
tool_output?: {
max_lines?: number
max_bytes?: number
}
/**
* Configure tool output truncation, or set to false to disable it. When output exceeds either limit, the full text is written to the truncation directory and a preview is returned.
*/
tool_output?:
| false
| {
max_lines?: number
max_bytes?: number
}
compaction?: {
auto?: boolean
prune?: boolean