소스 검색

chore: generate

opencode-agent[bot] 5 일 전
부모
커밋
9c4e6b500e
4개의 변경된 파일52개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 3
      packages/core/src/models-dev.ts
  2. 17 1
      packages/protocol/openapi.json
  3. 17 1
      packages/www/openapi.json
  4. 17 1
      packages/www/public/openapi.json

+ 1 - 3
packages/core/src/models-dev.ts

@@ -537,9 +537,7 @@ export class Service extends Context.Service<Service, Interface>()("@opencode/Mo
 
 const CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown))
 const decodeCatalog = (text: string) =>
-  Schema.decodeUnknownEffect(CatalogJson)(text).pipe(
-    Effect.map((catalog) => catalog as Record<string, SourceProvider>),
-  )
+  Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog as Record<string, SourceProvider>))
 const Cache = Schema.Struct({
   updatedAt: Schema.Number,
   body: CatalogJson,

+ 17 - 1
packages/protocol/openapi.json

@@ -3871,6 +3871,22 @@
               ]
             },
             "required": true
+          },
+          {
+            "name": "continue",
+            "in": "query",
+            "schema": {
+              "anyOf": [
+                {
+                  "type": "string",
+                  "enum": ["true", "false"]
+                },
+                {
+                  "type": "null"
+                }
+              ]
+            },
+            "required": false
           }
         ],
         "security": [],
@@ -3916,7 +3932,7 @@
             }
           }
         },
-        "description": "Interrupt active execution owned by this OpenCode process. Idle interruption is a no-op.",
+        "description": "Interrupt active execution owned by this OpenCode process. Idle interruption is a no-op. When continue=true, execution resumes if durable pending work remains after interruption.",
         "summary": "Interrupt session execution"
       }
     },

+ 17 - 1
packages/www/openapi.json

@@ -3871,6 +3871,22 @@
               ]
             },
             "required": true
+          },
+          {
+            "name": "continue",
+            "in": "query",
+            "schema": {
+              "anyOf": [
+                {
+                  "type": "string",
+                  "enum": ["true", "false"]
+                },
+                {
+                  "type": "null"
+                }
+              ]
+            },
+            "required": false
           }
         ],
         "security": [],
@@ -3916,7 +3932,7 @@
             }
           }
         },
-        "description": "Interrupt active execution owned by this OpenCode process. Idle interruption is a no-op.",
+        "description": "Interrupt active execution owned by this OpenCode process. Idle interruption is a no-op. When continue=true, execution resumes if durable pending work remains after interruption.",
         "summary": "Interrupt session execution"
       }
     },

+ 17 - 1
packages/www/public/openapi.json

@@ -3871,6 +3871,22 @@
               ]
             },
             "required": true
+          },
+          {
+            "name": "continue",
+            "in": "query",
+            "schema": {
+              "anyOf": [
+                {
+                  "type": "string",
+                  "enum": ["true", "false"]
+                },
+                {
+                  "type": "null"
+                }
+              ]
+            },
+            "required": false
           }
         ],
         "security": [],
@@ -3916,7 +3932,7 @@
             }
           }
         },
-        "description": "Interrupt active execution owned by this OpenCode process. Idle interruption is a no-op.",
+        "description": "Interrupt active execution owned by this OpenCode process. Idle interruption is a no-op. When continue=true, execution resumes if durable pending work remains after interruption.",
         "summary": "Interrupt session execution"
       }
     },