zcf 3.6.4 → 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 CHANGED
@@ -32,6 +32,11 @@ Get 10% OFF GLM CODING PLAN:https://z.ai/subscribe?ic=8JVLJQFSKB
32
32
 
33
33
  ---
34
34
 
35
+ [![Sponsor PatewayAI](./src/assets/pateway.ai-en.png)](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
  [![Sponsor AI API](./src/assets/302.ai-en.jpg)](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>
@@ -117,9 +126,11 @@ A huge thank you to all our sponsors for their generous support!
117
126
  - [302.AI](https://share.302.ai/gAT9VG) (first corporate sponsorship 🤠)
118
127
  - [GLM](https://z.ai/subscribe?ic=8JVLJQFSKB) (first AI model sponsorship 🤖)
119
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 🎁)
120
130
  - [AICodeMirror](https://www.aicodemirror.com/register?invitecode=ZCFZCF) (official high-stability relay service sponsor 🪞)
121
131
  - [UUCode](https://www.uucode.org/auth?ref=JQ2DJ1T8) (sponsored $100 proxy credits 💰)
122
132
  - [Crazyrouter](https://crazyrouter.com/?utm_source=github&utm_medium=sponsor&utm_campaign=zcf&aff=yJFo) (AI API aggregation gateway sponsor 🚀)
133
+ - [PatewayAI](https://pateway.ai/?ch=vnr0h5&aff=9AWWH87C) (official direct-connect relay service sponsor 🛡️)
123
134
 
124
135
  【Individual Sponsors】
125
136
 
@@ -1,31 +1,59 @@
1
1
  const API_PROVIDER_PRESETS = [
2
2
  {
3
- id: "302ai",
4
- name: "302.AI",
3
+ id: "packycode",
4
+ name: "PackyCode",
5
5
  supportedCodeTools: ["claude-code", "codex"],
6
6
  claudeCode: {
7
- baseUrl: "https://api.302.ai/cc",
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.302.ai/v1",
25
+ baseUrl: "https://api.pateway.ai/v1",
12
26
  wireApi: "responses"
13
27
  },
14
- description: "302.AI API Service"
28
+ description: "PatewayAI official direct-connect relay service"
15
29
  },
16
30
  {
17
- id: "packycode",
18
- name: "PackyCode",
31
+ id: "apikey-fun",
32
+ name: "APIKEY.FUN",
19
33
  supportedCodeTools: ["claude-code", "codex"],
20
34
  claudeCode: {
21
- baseUrl: "https://www.packyapi.com",
35
+ baseUrl: "https://api.apikey.fun",
22
36
  authType: "auth_token"
23
37
  },
24
38
  codex: {
25
- baseUrl: "https://www.packyapi.com/v1",
39
+ baseUrl: "https://api.apikey.fun/v1",
26
40
  wireApi: "responses"
27
41
  },
28
- description: "PackyCode API Service"
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",
@@ -120,6 +148,17 @@ const API_PROVIDER_PRESETS = [
120
148
  authType: "auth_token"
121
149
  },
122
150
  description: "Kimi (Moonshot AI)"
151
+ },
152
+ {
153
+ id: "deepseek",
154
+ name: "DeepSeek",
155
+ supportedCodeTools: ["claude-code"],
156
+ claudeCode: {
157
+ baseUrl: "https://api.deepseek.com/anthropic",
158
+ authType: "auth_token",
159
+ defaultModels: ["deepseek-v4-pro", "deepseek-v4-flash"]
160
+ },
161
+ description: "DeepSeek official API (Anthropic-compatible endpoint)"
123
162
  }
124
163
  ];
125
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.4";
21
+ const version = "3.6.6";
22
22
  const homepage = "https://github.com/UfoMiao/zcf";
23
23
 
24
24
  const i18n = i18next.createInstance();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zcf",
3
3
  "type": "module",
4
- "version": "3.6.4",
4
+ "version": "3.6.6",
5
5
  "description": "Zero-Config Code Flow - One-click configuration tool for Code Cli",
6
6
  "author": {
7
7
  "name": "Miao Da",