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

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

@@ -1375,6 +1375,10 @@ export type McpOAuthConfig = {
    * OAuth scopes to request during authorization
    */
   scope?: string
+  /**
+   * OAuth redirect URI (default: http://127.0.0.1:19876/mcp/oauth/callback).
+   */
+  redirectUri?: string
 }
 
 export type McpRemoteConfig = {

+ 4 - 0
packages/sdk/openapi.json

@@ -10882,6 +10882,10 @@
           "scope": {
             "description": "OAuth scopes to request during authorization",
             "type": "string"
+          },
+          "redirectUri": {
+            "description": "OAuth redirect URI (default: http://127.0.0.1:19876/mcp/oauth/callback).",
+            "type": "string"
           }
         },
         "additionalProperties": false