summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGitHub Action <[email protected]>2025-12-27 00:32:34 +0000
committerGitHub Action <[email protected]>2025-12-27 00:32:34 +0000
commitf8fb08b3b42007d6b1ab995e6c55d1996050de69 (patch)
tree32acc97376f19ed77dc1af077025aec0928eb1a4
parented06de5e307c386f6aaf6294ea614deb64ddad30 (diff)
downloadopencode-f8fb08b3b42007d6b1ab995e6c55d1996050de69.tar.gz
opencode-f8fb08b3b42007d6b1ab995e6c55d1996050de69.zip
chore: generate
-rw-r--r--packages/sdk/js/src/v2/gen/types.gen.ts10
-rw-r--r--packages/sdk/openapi.json13
2 files changed, 23 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 6b5cfc818..90b2154e1 100644
--- a/packages/sdk/js/src/v2/gen/types.gen.ts
+++ b/packages/sdk/js/src/v2/gen/types.gen.ts
@@ -1586,6 +1586,16 @@ export type Config = {
*/
url?: string
}
+ compaction?: {
+ /**
+ * Enable automatic compaction when context is full (default: true)
+ */
+ auto?: boolean
+ /**
+ * Enable pruning of old tool outputs (default: true)
+ */
+ prune?: boolean
+ }
experimental?: {
hook?: {
file_edited?: {
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json
index 2a2984854..c3658a90c 100644
--- a/packages/sdk/openapi.json
+++ b/packages/sdk/openapi.json
@@ -8566,6 +8566,19 @@
}
}
},
+ "compaction": {
+ "type": "object",
+ "properties": {
+ "auto": {
+ "description": "Enable automatic compaction when context is full (default: true)",
+ "type": "boolean"
+ },
+ "prune": {
+ "description": "Enable pruning of old tool outputs (default: true)",
+ "type": "boolean"
+ }
+ }
+ },
"experimental": {
"type": "object",
"properties": {