Skip to content

The open source coding agent.

TypeScript

chore: generate

GitHub Actionf8fb08b3b420
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts
index 6b5cfc818d0..90b2154e18a 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 2a2984854f8..c3658a90c50 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": {