zcf 2.7.0 → 2.8.0

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
@@ -24,7 +24,8 @@ Menu options include:
24
24
 
25
25
  - `1` Full initialization (equivalent to `zcf i`)
26
26
  - `2` Import workflows (equivalent to `zcf u`)
27
- - `3-6` Configuration management (API, MCP, Model, AI personality, etc.)
27
+ - `3-7` Configuration management (API/CCR, MCP, Model, AI personality, etc.)
28
+ - `R` Claude Code Router management (new feature)
28
29
  - More features...
29
30
 
30
31
  ### Or, use direct commands:
@@ -45,7 +46,13 @@ npx zcf u # Update workflows only: Quick add AI workflows and command sys
45
46
  npx zcf → select 2 # Execute workflow update via menu
46
47
  ```
47
48
 
48
- #### 🎯 BMad Workflow (New Feature)
49
+ > **Note**:
50
+ >
51
+ > - Since v2.0, `zcf` opens the interactive menu by default, providing a visual operation interface
52
+ > - You can choose operations through the menu or use commands directly for quick execution
53
+ > - `zcf i` = full initialization, `zcf u` = update workflows only
54
+
55
+ #### 🎯 BMad Workflow (v2.7 New Feature)
49
56
 
50
57
  BMad (Business-Minded Agile Development) is an enterprise-grade workflow system that provides:
51
58
 
@@ -56,11 +63,29 @@ BMad (Business-Minded Agile Development) is an enterprise-grade workflow system
56
63
 
57
64
  After installation, use `/bmad-init` to initialize the BMad workflow in your project.
58
65
 
59
- > **Note**:
60
- >
61
- > - Since v2.0, `zcf` opens the interactive menu by default, providing a visual operation interface
62
- > - You can choose operations through the menu or use commands directly for quick execution
63
- > - `zcf i` = full initialization, `zcf u` = update workflows only
66
+ #### 🚀 CCR (Claude Code Router) Support (v2.8 New Feature)
67
+
68
+ CCR is a powerful proxy router that enables:
69
+
70
+ - **Free Model Access**: Use free AI models (like Gemini, DeepSeek) through Claude Code interface
71
+ - **Custom Routing**: Route different types of requests to different models based on your rules
72
+ - **Cost Optimization**: Significantly reduce API costs by using appropriate models for different tasks
73
+ - **Easy Management**: Interactive menu for CCR configuration and service control
74
+
75
+ To access CCR features:
76
+
77
+ ```bash
78
+ npx zcf ccr # Open CCR management menu
79
+ ```
80
+
81
+ CCR menu options:
82
+
83
+ - Initialize CCR - Install and configure CCR with preset providers
84
+ - Start UI - Launch CCR web interface for advanced configuration
85
+ - Service Control - Start/stop/restart CCR service
86
+ - Check Status - View current CCR service status
87
+
88
+ After CCR setup, ZCF automatically configures Claude Code to use CCR as the API proxy.
64
89
 
65
90
  ### Setup Process
66
91
 
@@ -68,7 +93,7 @@ Full initialization (`npx zcf`) will automatically:
68
93
 
69
94
  - ✅ Detect and install Claude Code
70
95
  - ✅ Select AI output language (new feature)
71
- - ✅ Configure API keys
96
+ - ✅ Configure API keys or CCR proxy
72
97
  - ✅ Select and configure MCP services
73
98
  - ✅ Set up all necessary configuration files
74
99
 
@@ -146,9 +171,9 @@ $ npx zcf
146
171
 
147
172
  Select function:
148
173
  -------- Claude Code --------
149
- 1. Full initialization - Install Claude Code + Import workflow + Configure API + Configure MCP services
174
+ 1. Full initialization - Install Claude Code + Import workflow + Configure API or CCR proxy + Configure MCP services
150
175
  2. Import workflow - Import/update workflow-related files only
151
- 3. Configure API - Configure API URL and authentication
176
+ 3. Configure API - Configure API URL and authentication (supports CCR proxy)
152
177
  4. Configure MCP - Configure MCP services (includes Windows fix)
153
178
  5. Configure default model - Set default model (opus/sonnet)
154
179
  6. Configure Claude global memory - Configure AI output language and personality
@@ -192,6 +217,8 @@ Enter your choice: _
192
217
  For tokens obtained via OAuth or browser login
193
218
  Use API Key (Key authentication)
194
219
  For API keys from Anthropic Console
220
+ Configure CCR Proxy (Claude Code Router)
221
+ Use free models and custom routing to reduce costs and explore the possibilities of Claude Code
195
222
  Skip (configure manually later)
196
223
 
197
224
  ? Enter API URL: https://api.anthropic.com
@@ -241,12 +268,13 @@ Enter your choice: _
241
268
 
242
269
  #### Commands Quick Reference
243
270
 
244
- | Command | Alias | Description |
245
- | ------------ | ------- | -------------------------------------------- |
246
- | `zcf` | - | Show interactive menu (v2.0 default command) |
247
- | `zcf init` | `zcf i` | Initialize Claude Code configuration |
248
- | `zcf update` | `zcf u` | Update workflow-related md files with backup |
249
- | `zcf ccu` | - | Run Claude Code usage analysis tool |
271
+ | Command | Alias | Description |
272
+ | ------------ | ------- | --------------------------------------------- |
273
+ | `zcf` | - | Show interactive menu (v2.0 default command) |
274
+ | `zcf init` | `zcf i` | Initialize Claude Code configuration |
275
+ | `zcf update` | `zcf u` | Update workflow-related md files with backup |
276
+ | `zcf ccu` | - | Run Claude Code usage analysis tool |
277
+ | `zcf ccr` | - | Open CCR (Claude Code Router) management menu |
250
278
 
251
279
  #### Common Options
252
280
 
package/bin/zcf.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import '../dist/cli.mjs'
2
+ import '../dist/cli.mjs';