瀏覽代碼

chore: generate

GitHub Action 1 月之前
父節點
當前提交
f4fdf0eb03
共有 2 個文件被更改,包括 0 次插入43 次删除
  1. 0 19
      packages/sdk/js/src/v2/gen/types.gen.ts
  2. 0 24
      packages/sdk/openapi.json

+ 0 - 19
packages/sdk/js/src/v2/gen/types.gen.ts

@@ -1156,24 +1156,6 @@ export type KeybindsConfig = {
  */
 export type LogLevel = "DEBUG" | "INFO" | "WARN" | "ERROR"
 
-/**
- * Server configuration for opencode serve and web commands
- */
-export type ServerConfig = {
-  /**
-   * Port to listen on
-   */
-  port?: number
-  /**
-   * Hostname to listen on
-   */
-  hostname?: string
-  /**
-   * Enable mDNS service discovery
-   */
-  mdns?: boolean
-}
-
 export type AgentConfig = {
   model?: string
   temperature?: number
@@ -1434,7 +1416,6 @@ export type Config = {
      */
     diff_style?: "auto" | "stacked"
   }
-  server?: ServerConfig
   /**
    * Command configuration, see https://opencode.ai/docs/commands
    */

+ 0 - 24
packages/sdk/openapi.json

@@ -7692,27 +7692,6 @@
         "type": "string",
         "enum": ["DEBUG", "INFO", "WARN", "ERROR"]
       },
-      "ServerConfig": {
-        "description": "Server configuration for opencode serve and web commands",
-        "type": "object",
-        "properties": {
-          "port": {
-            "description": "Port to listen on",
-            "type": "integer",
-            "exclusiveMinimum": 0,
-            "maximum": 9007199254740991
-          },
-          "hostname": {
-            "description": "Hostname to listen on",
-            "type": "string"
-          },
-          "mdns": {
-            "description": "Enable mDNS service discovery",
-            "type": "boolean"
-          }
-        },
-        "additionalProperties": false
-      },
       "AgentConfig": {
         "type": "object",
         "properties": {
@@ -8199,9 +8178,6 @@
               }
             }
           },
-          "server": {
-            "$ref": "#/components/schemas/ServerConfig"
-          },
           "command": {
             "description": "Command configuration, see https://opencode.ai/docs/commands",
             "type": "object",