GitHub Action 1 месяц назад
Родитель
Сommit
f8fb08b3b4
2 измененных файлов с 23 добавлено и 0 удалено
  1. 10 0
      packages/sdk/js/src/v2/gen/types.gen.ts
  2. 13 0
      packages/sdk/openapi.json

+ 10 - 0
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?: {

+ 13 - 0
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": {