zcf 3.6.5 → 3.6.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.
- package/README.md +10 -4
- package/dist/chunks/api-providers.mjs +38 -24
- package/dist/chunks/simple-config.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,6 +32,11 @@ Get 10% OFF GLM CODING PLAN:https://z.ai/subscribe?ic=8JVLJQFSKB
|
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
|
|
35
|
+
[](https://pateway.ai/?ch=vnr0h5&aff=9AWWH87C)
|
|
36
|
+
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!
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
35
40
|
[](https://share.302.ai/gAT9VG)
|
|
36
41
|
[302.AI](https://share.302.ai/gAT9VG) is a pay-as-you-go enterprise AI resource hub that offers the latest and most comprehensive AI models and APIs on the market, along with a variety of ready-to-use online AI applications.
|
|
37
42
|
|
|
@@ -44,6 +49,10 @@ Get 10% OFF GLM CODING PLAN:https://z.ai/subscribe?ic=8JVLJQFSKB
|
|
|
44
49
|
<td>Thanks to PackyCode for sponsoring this project! PackyCode is a reliable and efficient API relay service provider, offering relay services for Claude Code, Codex, Gemini, and more. PackyCode provides special discounts for our software users: register using <a href="https://www.packyapi.com/register?aff=zcf">this link</a> and enter the "zcf" promo code during recharge to get 10% off.</td>
|
|
45
50
|
</tr>
|
|
46
51
|
<tr>
|
|
52
|
+
<td width="180"><a href="https://apikey.fun/register?aff=ZCFZCF"><img src="./src/assets/apikey-fun.png" alt="APIKEY.FUN" width="150"></a></td>
|
|
53
|
+
<td>Thanks to APIKEY.FUN for sponsoring this project! APIKEY.FUN is a professional enterprise-grade AI relay platform dedicated to providing stable, efficient, and low-cost API access for both companies and individual developers. The platform supports popular models including Claude, OpenAI, and Gemini, with pricing as low as 7% of official rates. Register via <a href="https://apikey.fun/register?aff=ZCFZCF">this link</a> to enjoy an exclusive offer of up to permanent 95% recharge pricing (5% off).</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr>
|
|
47
56
|
<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
57
|
<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
58
|
</tr>
|
|
@@ -51,10 +60,6 @@ Get 10% OFF GLM CODING PLAN:https://z.ai/subscribe?ic=8JVLJQFSKB
|
|
|
51
60
|
<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
61
|
<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
62
|
</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>
|
|
58
63
|
</tbody>
|
|
59
64
|
</table>
|
|
60
65
|
|
|
@@ -121,6 +126,7 @@ A huge thank you to all our sponsors for their generous support!
|
|
|
121
126
|
- [302.AI](https://share.302.ai/gAT9VG) (first corporate sponsorship 🤠)
|
|
122
127
|
- [GLM](https://z.ai/subscribe?ic=8JVLJQFSKB) (first AI model sponsorship 🤖)
|
|
123
128
|
- [PackyCode](https://www.packyapi.com/register?aff=zcf) (first API proxy service sponsor 🧝🏻♀️)
|
|
129
|
+
- [APIKEY.FUN](https://apikey.fun/register?aff=ZCFZCF) (enterprise AI relay sponsor 🎁)
|
|
124
130
|
- [AICodeMirror](https://www.aicodemirror.com/register?invitecode=ZCFZCF) (official high-stability relay service sponsor 🪞)
|
|
125
131
|
- [UUCode](https://www.uucode.org/auth?ref=JQ2DJ1T8) (sponsored $100 proxy credits 💰)
|
|
126
132
|
- [Crazyrouter](https://crazyrouter.com/?utm_source=github&utm_medium=sponsor&utm_campaign=zcf&aff=yJFo) (AI API aggregation gateway sponsor 🚀)
|
|
@@ -1,31 +1,59 @@
|
|
|
1
1
|
const API_PROVIDER_PRESETS = [
|
|
2
2
|
{
|
|
3
|
-
id: "
|
|
4
|
-
name: "
|
|
3
|
+
id: "packycode",
|
|
4
|
+
name: "PackyCode",
|
|
5
5
|
supportedCodeTools: ["claude-code", "codex"],
|
|
6
6
|
claudeCode: {
|
|
7
|
-
baseUrl: "https://
|
|
7
|
+
baseUrl: "https://www.packyapi.com",
|
|
8
|
+
authType: "auth_token"
|
|
9
|
+
},
|
|
10
|
+
codex: {
|
|
11
|
+
baseUrl: "https://www.packyapi.com/v1",
|
|
12
|
+
wireApi: "responses"
|
|
13
|
+
},
|
|
14
|
+
description: "PackyCode API Service"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
id: "pateway",
|
|
18
|
+
name: "PatewayAI",
|
|
19
|
+
supportedCodeTools: ["claude-code", "codex"],
|
|
20
|
+
claudeCode: {
|
|
21
|
+
baseUrl: "https://api.pateway.ai",
|
|
8
22
|
authType: "api_key"
|
|
9
23
|
},
|
|
10
24
|
codex: {
|
|
11
|
-
baseUrl: "https://api.
|
|
25
|
+
baseUrl: "https://api.pateway.ai/v1",
|
|
12
26
|
wireApi: "responses"
|
|
13
27
|
},
|
|
14
|
-
description: "
|
|
28
|
+
description: "PatewayAI official direct-connect relay service"
|
|
15
29
|
},
|
|
16
30
|
{
|
|
17
|
-
id: "
|
|
18
|
-
name: "
|
|
31
|
+
id: "apikey-fun",
|
|
32
|
+
name: "APIKEY.FUN",
|
|
19
33
|
supportedCodeTools: ["claude-code", "codex"],
|
|
20
34
|
claudeCode: {
|
|
21
|
-
baseUrl: "https://
|
|
35
|
+
baseUrl: "https://api.apikey.fun",
|
|
22
36
|
authType: "auth_token"
|
|
23
37
|
},
|
|
24
38
|
codex: {
|
|
25
|
-
baseUrl: "https://
|
|
39
|
+
baseUrl: "https://api.apikey.fun/v1",
|
|
26
40
|
wireApi: "responses"
|
|
27
41
|
},
|
|
28
|
-
description: "
|
|
42
|
+
description: "APIKEY.FUN enterprise AI relay service"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: "302ai",
|
|
46
|
+
name: "302.AI",
|
|
47
|
+
supportedCodeTools: ["claude-code", "codex"],
|
|
48
|
+
claudeCode: {
|
|
49
|
+
baseUrl: "https://api.302.ai/cc",
|
|
50
|
+
authType: "api_key"
|
|
51
|
+
},
|
|
52
|
+
codex: {
|
|
53
|
+
baseUrl: "https://api.302.ai/v1",
|
|
54
|
+
wireApi: "responses"
|
|
55
|
+
},
|
|
56
|
+
description: "302.AI API Service"
|
|
29
57
|
},
|
|
30
58
|
{
|
|
31
59
|
id: "aicodemirror",
|
|
@@ -131,20 +159,6 @@ const API_PROVIDER_PRESETS = [
|
|
|
131
159
|
defaultModels: ["deepseek-v4-pro", "deepseek-v4-flash"]
|
|
132
160
|
},
|
|
133
161
|
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"
|
|
148
162
|
}
|
|
149
163
|
];
|
|
150
164
|
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.6";
|
|
22
22
|
const homepage = "https://github.com/UfoMiao/zcf";
|
|
23
23
|
|
|
24
24
|
const i18n = i18next.createInstance();
|