diff options
| author | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-04-23 21:44:44 +0000 |
|---|---|---|
| committer | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-04-23 21:44:44 +0000 |
| commit | 5c5069b6227ce6c4cbc1b6daca65da69daf43f84 (patch) | |
| tree | a9443e05eb4ca260fdd7413567d572b440a280e2 /packages/sdk/js/src/v2 | |
| parent | f8c6ddd4cb08aab493fcaab69d44c5085083152e (diff) | |
| download | opencode-5c5069b6227ce6c4cbc1b6daca65da69daf43f84.tar.gz opencode-5c5069b6227ce6c4cbc1b6daca65da69daf43f84.zip | |
chore: generate
Diffstat (limited to 'packages/sdk/js/src/v2')
| -rw-r--r-- | packages/sdk/js/src/v2/gen/types.gen.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts index d28ce2579..40e661b46 100644 --- a/packages/sdk/js/src/v2/gen/types.gen.ts +++ b/packages/sdk/js/src/v2/gen/types.gen.ts @@ -1633,6 +1633,19 @@ export type Config = { */ url?: string } + /** + * Thresholds for truncating tool output. When output exceeds either limit, the full text is written to the truncation directory and a preview is returned. + */ + tool_output?: { + /** + * Maximum lines of tool output before it is truncated and saved to disk (default: 2000) + */ + max_lines?: number + /** + * Maximum bytes of tool output before it is truncated and saved to disk (default: 51200) + */ + max_bytes?: number + } compaction?: { /** * Enable automatic compaction when context is full (default: true) |
