zcf 2.12.4 → 2.12.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 +30 -5
- package/dist/chunks/simple-config.mjs +690 -1684
- package/dist/cli.mjs +371 -406
- package/dist/i18n/locales/en/api.json +35 -0
- package/dist/i18n/locales/en/ccr.json +63 -0
- package/dist/i18n/locales/en/cli.json +42 -0
- package/dist/i18n/locales/en/cometix.json +29 -0
- package/dist/i18n/locales/en/common.json +14 -0
- package/dist/i18n/locales/en/configuration.json +60 -0
- package/dist/i18n/locales/en/errors.json +20 -0
- package/dist/i18n/locales/en/installation.json +12 -0
- package/dist/i18n/locales/en/language.json +13 -0
- package/dist/i18n/locales/en/mcp.json +17 -0
- package/dist/i18n/locales/en/menu.json +31 -0
- package/dist/i18n/locales/en/tools.json +15 -0
- package/dist/i18n/locales/en/updater.json +20 -0
- package/dist/i18n/locales/en/workflow.json +23 -0
- package/dist/i18n/locales/zh-CN/api.json +35 -0
- package/dist/i18n/locales/zh-CN/ccr.json +63 -0
- package/dist/i18n/locales/zh-CN/cli.json +42 -0
- package/dist/i18n/locales/zh-CN/cometix.json +29 -0
- package/dist/i18n/locales/zh-CN/common.json +14 -0
- package/dist/i18n/locales/zh-CN/configuration.json +60 -0
- package/dist/i18n/locales/zh-CN/errors.json +20 -0
- package/dist/i18n/locales/zh-CN/installation.json +12 -0
- package/dist/i18n/locales/zh-CN/language.json +13 -0
- package/dist/i18n/locales/zh-CN/mcp.json +17 -0
- package/dist/i18n/locales/zh-CN/menu.json +31 -0
- package/dist/i18n/locales/zh-CN/tools.json +15 -0
- package/dist/i18n/locales/zh-CN/updater.json +20 -0
- package/dist/i18n/locales/zh-CN/workflow.json +23 -0
- package/dist/index.d.mts +3 -26
- package/dist/index.d.ts +3 -26
- package/dist/index.mjs +5 -4
- package/package.json +6 -2
- 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
|
|
78
|
-
| `--config-lang, -c` | Configuration language
|
|
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
|
|
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` | - |
|
|
@@ -132,13 +152,18 @@ After installation, use `/bmad-init` to initialize the BMad workflow in your pro
|
|
|
132
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:
|
|
133
153
|
|
|
134
154
|
- **Requirements Analysis**: Structured requirements gathering and documentation
|
|
135
|
-
- **Design Phase**: Detailed technical design and architecture planning
|
|
155
|
+
- **Design Phase**: Detailed technical design and architecture planning
|
|
136
156
|
- **Task Management**: Automatic task breakdown and progress tracking
|
|
137
157
|
- **Implementation Workflow**: Systematic approach from requirements to implementation
|
|
138
158
|
- **Interactive Dashboard**: Built-in dashboard for workflow visualization and management
|
|
139
159
|
- **Approval System**: Review and approval process for each development phase
|
|
140
160
|
|
|
141
|
-
The Spec Workflow MCP
|
|
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.
|
|
142
167
|
|
|
143
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).
|
|
144
169
|
|