zcf 2.12.3 → 2.12.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.
Files changed (36) hide show
  1. package/README.md +43 -3
  2. package/dist/chunks/simple-config.mjs +782 -1712
  3. package/dist/cli.mjs +372 -407
  4. package/dist/i18n/locales/en/api.json +35 -0
  5. package/dist/i18n/locales/en/ccr.json +63 -0
  6. package/dist/i18n/locales/en/cli.json +42 -0
  7. package/dist/i18n/locales/en/cometix.json +29 -0
  8. package/dist/i18n/locales/en/common.json +14 -0
  9. package/dist/i18n/locales/en/configuration.json +60 -0
  10. package/dist/i18n/locales/en/errors.json +20 -0
  11. package/dist/i18n/locales/en/installation.json +12 -0
  12. package/dist/i18n/locales/en/language.json +13 -0
  13. package/dist/i18n/locales/en/mcp.json +17 -0
  14. package/dist/i18n/locales/en/menu.json +31 -0
  15. package/dist/i18n/locales/en/tools.json +15 -0
  16. package/dist/i18n/locales/en/updater.json +20 -0
  17. package/dist/i18n/locales/en/workflow.json +23 -0
  18. package/dist/i18n/locales/zh-CN/api.json +35 -0
  19. package/dist/i18n/locales/zh-CN/ccr.json +63 -0
  20. package/dist/i18n/locales/zh-CN/cli.json +42 -0
  21. package/dist/i18n/locales/zh-CN/cometix.json +29 -0
  22. package/dist/i18n/locales/zh-CN/common.json +14 -0
  23. package/dist/i18n/locales/zh-CN/configuration.json +60 -0
  24. package/dist/i18n/locales/zh-CN/errors.json +20 -0
  25. package/dist/i18n/locales/zh-CN/installation.json +12 -0
  26. package/dist/i18n/locales/zh-CN/language.json +13 -0
  27. package/dist/i18n/locales/zh-CN/mcp.json +17 -0
  28. package/dist/i18n/locales/zh-CN/menu.json +31 -0
  29. package/dist/i18n/locales/zh-CN/tools.json +15 -0
  30. package/dist/i18n/locales/zh-CN/updater.json +20 -0
  31. package/dist/i18n/locales/zh-CN/workflow.json +23 -0
  32. package/dist/index.d.mts +25 -58
  33. package/dist/index.d.ts +25 -58
  34. package/dist/index.mjs +5 -4
  35. package/package.json +6 -2
  36. package/templates/common/settings.json +2 -1
package/README.md CHANGED
@@ -55,6 +55,26 @@ npx zcf → select 2 # Execute workflow update via menu
55
55
  > - You can choose operations through the menu or use commands directly for quick execution
56
56
  > - `zcf i` = full initialization, `zcf u` = update workflows only
57
57
 
58
+ #### 🌐 Language Support
59
+
60
+ ZCF supports bilingual operation with automatic language switching for all commands:
61
+
62
+ ```bash
63
+ # Use Chinese for all operations
64
+ npx zcf --lang zh-CN # Interactive menu in Chinese
65
+ npx zcf init --lang zh-CN # Initialize with Chinese interface
66
+ npx zcf ccr --allLang zh-CN # Configure CCR in Chinese
67
+
68
+ # Language parameter priority (highest to lowest):
69
+ # --all-lang > --lang > saved user preference > interactive prompt
70
+ ```
71
+
72
+ **Language Parameters:**
73
+ - `--lang, -l`: ZCF interface language (applies to all commands)
74
+ - `--all-lang, -g`: Set all language parameters at once (most convenient)
75
+ - `--config-lang, -c`: Template files language (init/update commands only)
76
+ - `--ai-output-lang, -a`: AI assistant output language (init command only)
77
+
58
78
  #### 🤖 Non-interactive Mode
59
79
 
60
80
  For CI/CD and automated setups, use `--skip-prompt` with parameters:
@@ -74,10 +94,10 @@ When using `--skip-prompt`, the following parameters are available:
74
94
  | Parameter | Description | Values | Required | Default |
75
95
  | ---------------------------- | -------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
76
96
  | `--skip-prompt, -s` | Skip all interactive prompts | - | Yes (for non-interactive mode) | - |
77
- | `--lang, -l` | ZCF display language | `zh-CN`, `en` | No | `en` |
78
- | `--config-lang, -c` | Configuration language | `zh-CN`, `en` | No | `en` |
97
+ | `--lang, -l` | ZCF display language (applies to all commands) | `zh-CN`, `en` | No | `en` or user's saved preference |
98
+ | `--config-lang, -c` | Configuration language (template files language) | `zh-CN`, `en` | No | `en` |
79
99
  | `--ai-output-lang, -a` | AI output language | `zh-CN`, `en`, custom string | No | `en` |
80
- | `--all-lang, -g` | Set all language parameters to this value | `zh-CN`, `en`, custom string | No | - (overrides above 3 params. Custom string sets AI output language to custom while interaction and config languages remain 'en') |
100
+ | `--all-lang, -g` | Set all language parameters (applies to all commands) | `zh-CN`, `en`, custom string | No | - (Priority: allLang > lang > user preference > prompt. Custom string sets AI output language to custom while interaction and config languages remain 'en') |
81
101
  | `--config-action, -r` | Config handling | `new`, `backup`, `merge`, `docs-only`, `skip` | No | `backup` |
82
102
  | `--api-type, -t` | API configuration type | `auth_token`, `api_key`, `ccr_proxy`, `skip` | No | `skip` |
83
103
  | `--api-key, -k` | API key (for both API key and auth token types) | string | Required when `api-type` is not `skip` | - |
@@ -127,6 +147,26 @@ ZCF now supports customizable AI output styles to personalize your Claude Code e
127
147
 
128
148
  After installation, use `/bmad-init` to initialize the BMad workflow in your project.
129
149
 
150
+ #### 📋 Spec Workflow (v2.12.4+ New Feature)
151
+
152
+ [Spec Workflow](https://github.com/Pimzino/spec-workflow-mcp) is a comprehensive MCP service that provides structured feature development workflow from requirements to implementation:
153
+
154
+ - **Requirements Analysis**: Structured requirements gathering and documentation
155
+ - **Design Phase**: Detailed technical design and architecture planning
156
+ - **Task Management**: Automatic task breakdown and progress tracking
157
+ - **Implementation Workflow**: Systematic approach from requirements to implementation
158
+ - **Interactive Dashboard**: Built-in dashboard for workflow visualization and management
159
+ - **Approval System**: Review and approval process for each development phase
160
+
161
+ The Spec Workflow MCP provides an optional dashboard for workflow visualization. Users can manually launch the dashboard using:
162
+ ```bash
163
+ npx -y @pimzino/spec-workflow-mcp@latest --dashboard
164
+ ```
165
+
166
+ Alternatively, you can install the [VS Code extension](https://marketplace.visualstudio.com/items?itemName=Pimzino.spec-workflow-mcp) for integrated workflow management.
167
+
168
+ **Usage Guide**: For detailed usage instructions and best practices, see the [official Spec Workflow documentation](https://github.com/Pimzino/spec-workflow-mcp/blob/main/README.md#quick-start).
169
+
130
170
  #### 🚀 CCR (Claude Code Router) Support (v2.8+ Enhanced)
131
171
 
132
172
  [CCR](https://github.com/musistudio/claude-code-router/blob/main/README.md) is a powerful proxy router that enables: