opencode-agent[bot] 2 месяцев назад
Родитель
Сommit
cd2e6f06ee
2 измененных файлов с 4 добавлено и 0 удалено
  1. 1 0
      packages/sdk/js/src/v2/gen/types.gen.ts
  2. 3 0
      packages/sdk/openapi.json

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

@@ -1875,6 +1875,7 @@ export type McpLocalConfig = {
    * Command and arguments to run the MCP server
    */
   command: Array<string>
+  cwd?: string
   environment?: {
     [key: string]: string
   }

+ 3 - 0
packages/sdk/openapi.json

@@ -19296,6 +19296,9 @@
             },
             "description": "Command and arguments to run the MCP server"
           },
+          "cwd": {
+            "type": "string"
+          },
           "environment": {
             "type": "object",
             "additionalProperties": {