refactor(opencode): simplify tool output disable config

This commit is contained in:
Aiden Cline 2026-05-26 15:33:08 -05:00
commit 5d929f78c3
7 changed files with 14 additions and 42 deletions

View file

@ -1298,14 +1298,8 @@ export type Config = {
* Configure tool output truncation. When output exceeds either limit, the full text is written to the truncation directory and a preview is returned.
*/
tool_output?:
| false
| {
/**
* Disable tool output truncation
*/
truncate: false
}
| {
truncate?: true
max_lines?: number
max_bytes?: number
}