zcf 3.6.3 → 3.6.5
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 +28 -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
|
|
|
@@ -51,12 +51,16 @@ Get 10% OFF GLM CODING PLAN:https://z.ai/subscribe?ic=8JVLJQFSKB
|
|
|
51
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
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
53
|
</tr>
|
|
54
|
-
<
|
|
54
|
+
<tr>
|
|
55
|
+
<td width="180"><a href="https://pateway.ai/?ch=vnr0h5&aff=9AWWH87C"><img src="./src/assets/PatewayAI.png" alt="PatewayAI" width="150"></a></td>
|
|
56
|
+
<td>Thanks to PatewayAI for sponsoring this project! PatewayAI is a high-quality model API relay service provider focused on official direct connections for serious AI developers, offering the full range of Claude and Codex series models. 100% official source supply with no adulteration — open to inspection. Transparent billing with token-level invoices auditable line by line. Enterprise-grade concurrency support with a dedicated management platform for enterprise customers, including formal contracts and invoicing. PatewayAI offers an exclusive benefit for ZCF users: register via <a href="https://pateway.ai/?ch=vnr0h5&aff=9AWWH87C">this link</a> to get $3 free trial credit, recharges as low as 60% off, with bilateral invite rewards up to $150!</td>
|
|
57
|
+
</tr>
|
|
58
|
+
</tbody>
|
|
55
59
|
</table>
|
|
56
60
|
|
|
57
61
|
## 🚀 Quick Start
|
|
58
62
|
|
|
59
|
-
- Recommended: `npx zcf` opens the interactive menu
|
|
63
|
+
- Recommended: `npx zcf` opens the interactive menu — pick what you need.
|
|
60
64
|
- Common commands:
|
|
61
65
|
|
|
62
66
|
```bash
|
|
@@ -93,7 +97,7 @@ This project is inspired by and incorporates work from:
|
|
|
93
97
|
- [ccusage](https://github.com/ryoppippi/ccusage)
|
|
94
98
|
- [BMad Method](https://github.com/bmad-code-org/BMAD-METHOD)
|
|
95
99
|
|
|
96
|
-
Thanks to these community contributors for sharing
|
|
100
|
+
Thanks to these community contributors for sharing!
|
|
97
101
|
|
|
98
102
|
## ❤️ Support & Sponsors
|
|
99
103
|
|
|
@@ -120,6 +124,7 @@ A huge thank you to all our sponsors for their generous support!
|
|
|
120
124
|
- [AICodeMirror](https://www.aicodemirror.com/register?invitecode=ZCFZCF) (official high-stability relay service sponsor 🪞)
|
|
121
125
|
- [UUCode](https://www.uucode.org/auth?ref=JQ2DJ1T8) (sponsored $100 proxy credits 💰)
|
|
122
126
|
- [Crazyrouter](https://crazyrouter.com/?utm_source=github&utm_medium=sponsor&utm_campaign=zcf&aff=yJFo) (AI API aggregation gateway sponsor 🚀)
|
|
127
|
+
- [PatewayAI](https://pateway.ai/?ch=vnr0h5&aff=9AWWH87C) (official direct-connect relay service sponsor 🛡️)
|
|
123
128
|
|
|
124
129
|
【Individual Sponsors】
|
|
125
130
|
|
|
@@ -133,6 +138,7 @@ A huge thank you to all our sponsors for their generous support!
|
|
|
133
138
|
- 初屿贤 (first Codex user sponsor 🙅🏻♂️)
|
|
134
139
|
- Protein (first 1688 sponsor 😏)
|
|
135
140
|
- [musistudio](https://github.com/musistudio) (first open source project author sponsor, the author of [CCR](https://github.com/musistudio/claude-code-router) 🤩)
|
|
141
|
+
- \*年 (first 100 CNY sponsor 💴)
|
|
136
142
|
- [BeatSeat](https://github.com/BeatSeat) (community expert 😎, provided $1000 Claude credits)
|
|
137
143
|
- [wenwen](https://github.com/wenwen12345) (community expert 🤓, provided daily $100 Claude&GPT credits)
|
|
138
144
|
- 16°C coffee (My best friend 🤪, offered ChatGPT Pro $200 package)
|
|
@@ -96,7 +96,7 @@ const API_PROVIDER_PRESETS = [
|
|
|
96
96
|
claudeCode: {
|
|
97
97
|
baseUrl: "https://coding.dashscope.aliyuncs.com/apps/anthropic",
|
|
98
98
|
authType: "auth_token",
|
|
99
|
-
defaultModels: ["
|
|
99
|
+
defaultModels: ["glm-5"]
|
|
100
100
|
},
|
|
101
101
|
description: "Bailian Coding API Service"
|
|
102
102
|
},
|
|
@@ -105,9 +105,9 @@ const API_PROVIDER_PRESETS = [
|
|
|
105
105
|
name: "MiniMax",
|
|
106
106
|
supportedCodeTools: ["claude-code"],
|
|
107
107
|
claudeCode: {
|
|
108
|
-
baseUrl: "https://api.
|
|
108
|
+
baseUrl: "https://api.minimax.io/anthropic",
|
|
109
109
|
authType: "auth_token",
|
|
110
|
-
defaultModels: ["MiniMax-M2", "MiniMax-M2"]
|
|
110
|
+
defaultModels: ["MiniMax-M2.7", "MiniMax-M2.7-highspeed"]
|
|
111
111
|
},
|
|
112
112
|
description: "MiniMax API Service"
|
|
113
113
|
},
|
|
@@ -120,6 +120,31 @@ const API_PROVIDER_PRESETS = [
|
|
|
120
120
|
authType: "auth_token"
|
|
121
121
|
},
|
|
122
122
|
description: "Kimi (Moonshot AI)"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
id: "deepseek",
|
|
126
|
+
name: "DeepSeek",
|
|
127
|
+
supportedCodeTools: ["claude-code"],
|
|
128
|
+
claudeCode: {
|
|
129
|
+
baseUrl: "https://api.deepseek.com/anthropic",
|
|
130
|
+
authType: "auth_token",
|
|
131
|
+
defaultModels: ["deepseek-v4-pro", "deepseek-v4-flash"]
|
|
132
|
+
},
|
|
133
|
+
description: "DeepSeek official API (Anthropic-compatible endpoint)"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: "pateway",
|
|
137
|
+
name: "PatewayAI",
|
|
138
|
+
supportedCodeTools: ["claude-code", "codex"],
|
|
139
|
+
claudeCode: {
|
|
140
|
+
baseUrl: "https://api.pateway.ai",
|
|
141
|
+
authType: "api_key"
|
|
142
|
+
},
|
|
143
|
+
codex: {
|
|
144
|
+
baseUrl: "https://api.pateway.ai/v1",
|
|
145
|
+
wireApi: "responses"
|
|
146
|
+
},
|
|
147
|
+
description: "PatewayAI official direct-connect relay service"
|
|
123
148
|
}
|
|
124
149
|
];
|
|
125
150
|
function getApiProviders(codeToolType) {
|
|
@@ -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.5";
|
|
22
22
|
const homepage = "https://github.com/UfoMiao/zcf";
|
|
23
23
|
|
|
24
24
|
const i18n = i18next.createInstance();
|