zcf 3.6.2 → 3.6.4
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/README.md +10 -4
- package/dist/chunks/api-providers.mjs +17 -3
- package/dist/chunks/simple-config.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
</p>
|
|
23
23
|
</div>
|
|
24
24
|
|
|
25
|
-
## ♥️
|
|
25
|
+
## ♥️ Sponsors
|
|
26
26
|
|
|
27
27
|
[](https://z.ai/subscribe?ic=8JVLJQFSKB)
|
|
28
28
|
|
|
@@ -47,12 +47,16 @@ Get 10% OFF GLM CODING PLAN:https://z.ai/subscribe?ic=8JVLJQFSKB
|
|
|
47
47
|
<td width="180"><a href="https://www.aicodemirror.com/register?invitecode=ZCFZCF"><img src="./src/assets/AICodeMirror.jpg" alt="AICodeMirror" width="150"></a></td>
|
|
48
48
|
<td>Thanks to AICodeMirror for sponsoring this project! AICodeMirror provides official high-stability relay services for Claude Code/Codex/Gemini CLI, supporting enterprise-level high concurrency, fast invoicing, and 7x24 dedicated technical support. Official channels for Claude Code/Codex/Gemini at discounts as low as 38%/2%/10.9% off, with additional discounts on top-ups! AICodeMirror offers special benefits for ZCF users: users who register through <a href="https://www.aicodemirror.com/register?invitecode=ZCFZCF">this link</a> can enjoy 20% off on first top-up, and enterprise customers can get up to 25% off!</td>
|
|
49
49
|
</tr>
|
|
50
|
-
<
|
|
50
|
+
<tr>
|
|
51
|
+
<td width="180"><a href="https://crazyrouter.com/?utm_source=github&utm_medium=sponsor&utm_campaign=zcf&aff=yJFo"><img src="./src/assets/crazyrouter.svg" alt="Crazyrouter" width="150"></a></td>
|
|
52
|
+
<td>Thanks to Crazyrouter for sponsoring this project! Crazyrouter is a high-performance AI API aggregation gateway — one API key for 300+ models (GPT, Claude, Gemini, DeepSeek, and more). All models at 55% of official pricing with auto-failover, smart routing, and unlimited concurrency. Fully OpenAI-compatible, works seamlessly with Claude Code, Codex, and Gemini CLI. Crazyrouter offers an exclusive deal for ZCF users: register via <a href="https://crazyrouter.com/?utm_source=github&utm_medium=sponsor&utm_campaign=zcf&aff=yJFo">this link</a> to get $2 free credit instantly!</td>
|
|
53
|
+
</tr>
|
|
54
|
+
</tbody>
|
|
51
55
|
</table>
|
|
52
56
|
|
|
53
57
|
## 🚀 Quick Start
|
|
54
58
|
|
|
55
|
-
- Recommended: `npx zcf` opens the interactive menu
|
|
59
|
+
- Recommended: `npx zcf` opens the interactive menu — pick what you need.
|
|
56
60
|
- Common commands:
|
|
57
61
|
|
|
58
62
|
```bash
|
|
@@ -89,7 +93,7 @@ This project is inspired by and incorporates work from:
|
|
|
89
93
|
- [ccusage](https://github.com/ryoppippi/ccusage)
|
|
90
94
|
- [BMad Method](https://github.com/bmad-code-org/BMAD-METHOD)
|
|
91
95
|
|
|
92
|
-
Thanks to these community contributors for sharing
|
|
96
|
+
Thanks to these community contributors for sharing!
|
|
93
97
|
|
|
94
98
|
## ❤️ Support & Sponsors
|
|
95
99
|
|
|
@@ -115,6 +119,7 @@ A huge thank you to all our sponsors for their generous support!
|
|
|
115
119
|
- [PackyCode](https://www.packyapi.com/register?aff=zcf) (first API proxy service sponsor 🧝🏻♀️)
|
|
116
120
|
- [AICodeMirror](https://www.aicodemirror.com/register?invitecode=ZCFZCF) (official high-stability relay service sponsor 🪞)
|
|
117
121
|
- [UUCode](https://www.uucode.org/auth?ref=JQ2DJ1T8) (sponsored $100 proxy credits 💰)
|
|
122
|
+
- [Crazyrouter](https://crazyrouter.com/?utm_source=github&utm_medium=sponsor&utm_campaign=zcf&aff=yJFo) (AI API aggregation gateway sponsor 🚀)
|
|
118
123
|
|
|
119
124
|
【Individual Sponsors】
|
|
120
125
|
|
|
@@ -128,6 +133,7 @@ A huge thank you to all our sponsors for their generous support!
|
|
|
128
133
|
- 初屿贤 (first Codex user sponsor 🙅🏻♂️)
|
|
129
134
|
- Protein (first 1688 sponsor 😏)
|
|
130
135
|
- [musistudio](https://github.com/musistudio) (first open source project author sponsor, the author of [CCR](https://github.com/musistudio/claude-code-router) 🤩)
|
|
136
|
+
- \*年 (first 100 CNY sponsor 💴)
|
|
131
137
|
- [BeatSeat](https://github.com/BeatSeat) (community expert 😎, provided $1000 Claude credits)
|
|
132
138
|
- [wenwen](https://github.com/wenwen12345) (community expert 🤓, provided daily $100 Claude&GPT credits)
|
|
133
139
|
- 16°C coffee (My best friend 🤪, offered ChatGPT Pro $200 package)
|
|
@@ -55,6 +55,20 @@ const API_PROVIDER_PRESETS = [
|
|
|
55
55
|
},
|
|
56
56
|
description: "AICodeMirror China Optimized Line"
|
|
57
57
|
},
|
|
58
|
+
{
|
|
59
|
+
id: "crazyrouter",
|
|
60
|
+
name: "Crazyrouter",
|
|
61
|
+
supportedCodeTools: ["claude-code", "codex"],
|
|
62
|
+
claudeCode: {
|
|
63
|
+
baseUrl: "https://crazyrouter.com",
|
|
64
|
+
authType: "api_key"
|
|
65
|
+
},
|
|
66
|
+
codex: {
|
|
67
|
+
baseUrl: "https://crazyrouter.com/v1",
|
|
68
|
+
wireApi: "responses"
|
|
69
|
+
},
|
|
70
|
+
description: "Crazyrouter AI API aggregation gateway"
|
|
71
|
+
},
|
|
58
72
|
{
|
|
59
73
|
id: "glm-cn",
|
|
60
74
|
name: "GLM CN",
|
|
@@ -82,7 +96,7 @@ const API_PROVIDER_PRESETS = [
|
|
|
82
96
|
claudeCode: {
|
|
83
97
|
baseUrl: "https://coding.dashscope.aliyuncs.com/apps/anthropic",
|
|
84
98
|
authType: "auth_token",
|
|
85
|
-
defaultModels: ["
|
|
99
|
+
defaultModels: ["glm-5"]
|
|
86
100
|
},
|
|
87
101
|
description: "Bailian Coding API Service"
|
|
88
102
|
},
|
|
@@ -91,9 +105,9 @@ const API_PROVIDER_PRESETS = [
|
|
|
91
105
|
name: "MiniMax",
|
|
92
106
|
supportedCodeTools: ["claude-code"],
|
|
93
107
|
claudeCode: {
|
|
94
|
-
baseUrl: "https://api.
|
|
108
|
+
baseUrl: "https://api.minimax.io/anthropic",
|
|
95
109
|
authType: "auth_token",
|
|
96
|
-
defaultModels: ["MiniMax-M2", "MiniMax-M2"]
|
|
110
|
+
defaultModels: ["MiniMax-M2.7", "MiniMax-M2.7-highspeed"]
|
|
97
111
|
},
|
|
98
112
|
description: "MiniMax API Service"
|
|
99
113
|
},
|
|
@@ -18,7 +18,7 @@ import { rm, mkdir, copyFile as copyFile$1 } from 'node:fs/promises';
|
|
|
18
18
|
import i18next from 'i18next';
|
|
19
19
|
import Backend from 'i18next-fs-backend';
|
|
20
20
|
|
|
21
|
-
const version = "3.6.
|
|
21
|
+
const version = "3.6.4";
|
|
22
22
|
const homepage = "https://github.com/UfoMiao/zcf";
|
|
23
23
|
|
|
24
24
|
const i18n = i18next.createInstance();
|