Skip to content

Commit 0b89212

Browse files
opencode-agent[bot]vaur94
authored andcommitted
chore: generate
(cherry picked from commit 5c5069b)
1 parent 72ccf29 commit 0b89212

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

packages/sdk/js/src/v2/gen/types.gen.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,6 +1855,19 @@ export type Config = {
18551855
*/
18561856
url?: string
18571857
}
1858+
/**
1859+
* Thresholds for truncating tool output. When output exceeds either limit, the full text is written to the truncation directory and a preview is returned.
1860+
*/
1861+
tool_output?: {
1862+
/**
1863+
* Maximum lines of tool output before it is truncated and saved to disk (default: 2000)
1864+
*/
1865+
max_lines?: number
1866+
/**
1867+
* Maximum bytes of tool output before it is truncated and saved to disk (default: 51200)
1868+
*/
1869+
max_bytes?: number
1870+
}
18581871
compaction?: {
18591872
/**
18601873
* Enable automatic compaction when context is full (default: true)

packages/sdk/openapi.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11836,6 +11836,24 @@
1183611836
}
1183711837
}
1183811838
},
11839+
"tool_output": {
11840+
"description": "Thresholds for truncating tool output. When output exceeds either limit, the full text is written to the truncation directory and a preview is returned.",
11841+
"type": "object",
11842+
"properties": {
11843+
"max_lines": {
11844+
"description": "Maximum lines of tool output before it is truncated and saved to disk (default: 2000)",
11845+
"type": "integer",
11846+
"exclusiveMinimum": 0,
11847+
"maximum": 9007199254740991
11848+
},
11849+
"max_bytes": {
11850+
"description": "Maximum bytes of tool output before it is truncated and saved to disk (default: 51200)",
11851+
"type": "integer",
11852+
"exclusiveMinimum": 0,
11853+
"maximum": 9007199254740991
11854+
}
11855+
}
11856+
},
1183911857
"compaction": {
1184011858
"type": "object",
1184111859
"properties": {

0 commit comments

Comments
 (0)