zcf 3.6.4 → 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 +5 -0
- package/dist/chunks/api-providers.mjs +25 -0
- package/dist/chunks/simple-config.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -51,6 +51,10 @@ 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
|
+
<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>
|
|
54
58
|
</tbody>
|
|
55
59
|
</table>
|
|
56
60
|
|
|
@@ -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
|
|
|
@@ -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();
|