opencode-codebuddy-external-auth 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/plugin.js +3 -2
  2. package/package.json +1 -1
package/dist/plugin.js CHANGED
@@ -8,9 +8,10 @@ const PROVIDER_ID = "codebuddy-external";
8
8
  const CONFIG = {
9
9
  // IOA 版本使用 copilot.tencent.com
10
10
  serverUrl: "https://copilot.tencent.com",
11
- // API 端点 - IOA 版本不需要 /plugin 前缀
11
+ // API 端点 - CodeBuddy IOA 直接使用 endpoint 作为 baseURL
12
12
  // OpenAI SDK 会自动追加 /chat/completions
13
- apiBaseUrl: "https://copilot.tencent.com/v1",
13
+ // 注意:不需要 /v1 前缀,CodeBuddy 服务端直接接收 /chat/completions
14
+ apiBaseUrl: "https://copilot.tencent.com",
14
15
  // 平台标识
15
16
  platform: "CLI",
16
17
  appVersion: "2.37.20",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-codebuddy-external-auth",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "OpenCode plugin for CodeBuddy External (IOA) authentication",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",