GitHub Action пре 1 месец
родитељ
комит
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
     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?: {
   experimental?: {
     hook?: {
     hook?: {
       file_edited?: {
       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": {
           "experimental": {
             "type": "object",
             "type": "object",
             "properties": {
             "properties": {