ccjk 15.13.0 → 15.13.1
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.
- package/dist/core/providers.js +43 -26
- package/dist/core/providers.js.map +1 -1
- package/package.json +1 -1
package/dist/core/providers.js
CHANGED
|
@@ -1,31 +1,19 @@
|
|
|
1
1
|
export const PROVIDERS = [
|
|
2
2
|
{
|
|
3
|
-
id: '
|
|
4
|
-
name: '
|
|
5
|
-
baseUrl: '
|
|
6
|
-
authType: 'auth_token',
|
|
7
|
-
defaultModel: 'glm-4.6',
|
|
8
|
-
fastModel: 'glm-4.5-air',
|
|
9
|
-
supportedTools: ['clavue', 'claude-code'],
|
|
10
|
-
description: '智谱 AI - GLM 4.6/4.5,国内可直连',
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
id: 'kimi',
|
|
14
|
-
name: 'Kimi (月之暗面)',
|
|
15
|
-
baseUrl: 'https://api.moonshot.cn/anthropic',
|
|
3
|
+
id: 'custom',
|
|
4
|
+
name: '自定义(单 model)',
|
|
5
|
+
baseUrl: '',
|
|
16
6
|
authType: 'auth_token',
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
description: 'Moonshot - Kimi K2,长上下文优秀',
|
|
7
|
+
supportedTools: ['clavue', 'claude-code', 'codex'],
|
|
8
|
+
description: '手动输入 baseUrl 和 key(一个 model 走天下)',
|
|
20
9
|
},
|
|
21
10
|
{
|
|
22
|
-
id: '
|
|
23
|
-
name: '
|
|
24
|
-
baseUrl: '
|
|
11
|
+
id: 'local',
|
|
12
|
+
name: '本地化部署',
|
|
13
|
+
baseUrl: 'http://localhost:8080',
|
|
25
14
|
authType: 'auth_token',
|
|
26
|
-
defaultModel: 'MiniMax-M2',
|
|
27
15
|
supportedTools: ['clavue', 'claude-code'],
|
|
28
|
-
description: '
|
|
16
|
+
description: '本地 LiteLLM / Ollama / one-api 代理(默认 :8080,可改)',
|
|
29
17
|
},
|
|
30
18
|
{
|
|
31
19
|
id: 'anthropic',
|
|
@@ -49,12 +37,41 @@ export const PROVIDERS = [
|
|
|
49
37
|
description: 'GPT/Codex 类网关 — 分别配 Main/Haiku/Sonnet/Opus 槽位',
|
|
50
38
|
},
|
|
51
39
|
{
|
|
52
|
-
id: '
|
|
53
|
-
name: '
|
|
54
|
-
baseUrl: '',
|
|
40
|
+
id: 'qwen',
|
|
41
|
+
name: 'Qwen (通义千问)',
|
|
42
|
+
baseUrl: 'https://dashscope.aliyuncs.com/api/v2/apps/claude-code-proxy',
|
|
55
43
|
authType: 'auth_token',
|
|
56
|
-
|
|
57
|
-
|
|
44
|
+
defaultModel: 'qwen3-coder-plus',
|
|
45
|
+
supportedTools: ['clavue', 'claude-code'],
|
|
46
|
+
description: '阿里百炼 - Qwen 3 Coder,国内可直连',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: 'glm',
|
|
50
|
+
name: 'GLM (智谱)',
|
|
51
|
+
baseUrl: 'https://open.bigmodel.cn/api/anthropic',
|
|
52
|
+
authType: 'auth_token',
|
|
53
|
+
defaultModel: 'glm-4.6',
|
|
54
|
+
fastModel: 'glm-4.5-air',
|
|
55
|
+
supportedTools: ['clavue', 'claude-code'],
|
|
56
|
+
description: '智谱 AI - GLM 4.6/4.5,国内可直连',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: 'kimi',
|
|
60
|
+
name: 'Kimi (月之暗面)',
|
|
61
|
+
baseUrl: 'https://api.moonshot.cn/anthropic',
|
|
62
|
+
authType: 'auth_token',
|
|
63
|
+
defaultModel: 'kimi-k2-turbo-preview',
|
|
64
|
+
supportedTools: ['clavue', 'claude-code'],
|
|
65
|
+
description: 'Moonshot - Kimi K2,长上下文优秀',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
id: 'minimax',
|
|
69
|
+
name: 'MiniMax (海螺)',
|
|
70
|
+
baseUrl: 'https://api.minimaxi.com/anthropic',
|
|
71
|
+
authType: 'auth_token',
|
|
72
|
+
defaultModel: 'MiniMax-M2',
|
|
73
|
+
supportedTools: ['clavue', 'claude-code'],
|
|
74
|
+
description: 'MiniMax - M2 模型',
|
|
58
75
|
},
|
|
59
76
|
];
|
|
60
77
|
export function findProvider(id) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers.js","sourceRoot":"","sources":["../../src/core/providers.ts"],"names":[],"mappings":"AAyBA,MAAM,CAAC,MAAM,SAAS,GAAkB;IACtC;QACE,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"providers.js","sourceRoot":"","sources":["../../src/core/providers.ts"],"names":[],"mappings":"AAyBA,MAAM,CAAC,MAAM,SAAS,GAAkB;IACtC;QACE,EAAE,EAAE,QAAQ;QACZ,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,CAAC,QAAQ,EAAE,aAAa,EAAE,OAAO,CAAC;QAClD,WAAW,EAAE,kCAAkC;KAChD;IACD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,uBAAuB;QAChC,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,CAAC,QAAQ,EAAE,aAAa,CAAC;QACzC,WAAW,EAAE,+CAA+C;KAC7D;IACD;QACE,EAAE,EAAE,WAAW;QACf,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE,2BAA2B;QACpC,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,CAAC,QAAQ,EAAE,aAAa,CAAC;QACzC,WAAW,EAAE,eAAe;KAC7B;IACD;QACE,EAAE,EAAE,aAAa;QACjB,IAAI,EAAE,oBAAoB;QAC1B,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,YAAY;QACtB,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,SAAS;QACvB,SAAS,EAAE,eAAe;QAC1B,WAAW,EAAE,SAAS;QACtB,SAAS,EAAE,SAAS;QACpB,cAAc,EAAE,CAAC,QAA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