Quellcode durchsuchen

chore: generate

opencode-agent[bot] vor 4 Monaten
Ursprung
Commit
bad4599bf9

+ 5 - 1
packages/opencode/src/server/routes/instance/httpapi/provider.ts

@@ -147,7 +147,11 @@ export const providerHandlers = Layer.unwrap(
     })
 
     return HttpApiBuilder.group(ProviderApi, "provider", (handlers) =>
-      handlers.handle("list", list).handle("auth", auth).handleRaw("authorize", authorizeRaw).handle("callback", callback),
+      handlers
+        .handle("list", list)
+        .handle("auth", auth)
+        .handleRaw("authorize", authorizeRaw)
+        .handle("callback", callback),
     )
   }),
 ).pipe(

+ 27 - 6
packages/sdk/openapi.json

@@ -2168,8 +2168,15 @@
             "in": "query",
             "name": "roots",
             "schema": {
-              "type": "string",
-              "enum": ["true", "false"]
+              "anyOf": [
+                {
+                  "type": "boolean"
+                },
+                {
+                  "type": "string",
+                  "enum": ["true", "false"]
+                }
+              ]
             },
             "description": "Only return root sessions (no parentID)"
           },
@@ -2209,8 +2216,15 @@
             "in": "query",
             "name": "archived",
             "schema": {
-              "type": "string",
-              "enum": ["true", "false"]
+              "anyOf": [
+                {
+                  "type": "boolean"
+                },
+                {
+                  "type": "string",
+                  "enum": ["true", "false"]
+                }
+              ]
             },
             "description": "Include archived sessions (default false)"
           }
@@ -2310,8 +2324,15 @@
             "in": "query",
             "name": "roots",
             "schema": {
-              "type": "string",
-              "enum": ["true", "false"]
+              "anyOf": [
+                {
+                  "type": "boolean"
+                },
+                {
+                  "type": "string",
+                  "enum": ["true", "false"]
+                }
+              ]
             },
             "description": "Only return root sessions (no parentID)"
           },