zcf 2.10.2 → 2.11.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.
Files changed (33) hide show
  1. package/README.md +29 -24
  2. package/bin/zcf.mjs +1 -1
  3. package/dist/chunks/simple-config.mjs +938 -897
  4. package/dist/cli.mjs +286 -256
  5. package/dist/index.d.mts +13 -13
  6. package/dist/index.d.ts +13 -13
  7. package/dist/index.mjs +3 -4
  8. package/package.json +20 -15
  9. package/templates/CLAUDE.md +249 -5
  10. package/templates/common/CLAUDE.md +5 -0
  11. package/templates/en/memory/mcp.md +4 -1
  12. package/templates/en/memory/personality.md +1 -1
  13. package/templates/en/memory/rules.md +1 -4
  14. package/templates/en/workflow/bmad/commands/bmad-init.md +58 -56
  15. package/templates/en/workflow/common/agents/get-current-datetime.md +29 -0
  16. package/templates/en/workflow/common/agents/init-architect.md +114 -0
  17. package/templates/en/workflow/common/commands/init-project.md +53 -0
  18. package/templates/en/workflow/git/commands/git-cleanBranches.md +2 -1
  19. package/templates/en/workflow/git/commands/git-commit.md +36 -31
  20. package/templates/en/workflow/git/commands/git-rollback.md +27 -26
  21. package/templates/en/workflow/git/commands/git-worktree.md +145 -221
  22. package/templates/zh-CN/memory/mcp.md +4 -1
  23. package/templates/zh-CN/memory/personality.md +1 -1
  24. package/templates/zh-CN/memory/rules.md +1 -4
  25. package/templates/zh-CN/workflow/bmad/commands/bmad-init.md +58 -55
  26. package/templates/zh-CN/workflow/common/agents/get-current-datetime.md +29 -0
  27. package/templates/zh-CN/workflow/common/agents/init-architect.md +114 -0
  28. package/templates/zh-CN/workflow/common/commands/init-project.md +53 -0
  29. package/templates/zh-CN/workflow/git/commands/git-cleanBranches.md +2 -1
  30. package/templates/zh-CN/workflow/git/commands/git-commit.md +0 -5
  31. package/templates/zh-CN/workflow/git/commands/git-rollback.md +1 -1
  32. package/templates/zh-CN/workflow/git/commands/git-worktree.md +145 -221
  33. /package/templates/{settings.json → common/settings.json} +0 -0
package/README.md CHANGED
@@ -71,21 +71,21 @@ npx zcf i --skip-prompt --all-lang zh-CN --api-type api_key --api-key "sk-xxx" -
71
71
 
72
72
  When using `--skip-prompt`, the following parameters are available:
73
73
 
74
- | Parameter | Description | Values | Required | Default |
75
- | ---------------------------- | ------------------------------------------------------- | ----------------------------------------------------------------------------------- | -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
76
- | `--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` |
79
- | `--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') |
81
- | `--config-action, -o` | Config handling | `new`, `backup`, `merge`, `docs-only`, `skip` | No | `backup` |
82
- | `--api-type, -t` | API configuration type | `auth_token`, `api_key`, `ccr_proxy`, `skip` | No | `skip` |
83
- | `--api-key, -k` | API key (for both API key and auth token types) | string | Required when `api-type` is not `skip` | - |
84
- | `--api-url, -u` | Custom API URL | URL string | No | official API |
85
- | `--mcp-services, -m` | MCP services to install (multi-select, comma-separated) | `context7`, `mcp-deepwiki`, `Playwright`, `exa`, or `skip` for none | No | `all` |
86
- | `--workflows, -w` | Workflows to install (multi-select, comma-separated) | `sixStepsWorkflow`, `featPlanUx`, `gitWorkflow`, `bmadWorkflow`, or `skip` for none | No | `all` |
87
- | `--ai-personality, -p` | AI personality type | `professional`, `catgirl`, `friendly`, `mentor`, `custom` | No | `professional` |
88
- | `--install-cometix-line, -x` | Install CCometixLine statusline tool | `true`, `false` | No | `true` |
74
+ | Parameter | Description | Values | Required | Default |
75
+ | ---------------------------- | ------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
76
+ | `--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` |
79
+ | `--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') |
81
+ | `--config-action, -o` | Config handling | `new`, `backup`, `merge`, `docs-only`, `skip` | No | `backup` |
82
+ | `--api-type, -t` | API configuration type | `auth_token`, `api_key`, `ccr_proxy`, `skip` | No | `skip` |
83
+ | `--api-key, -k` | API key (for both API key and auth token types) | string | Required when `api-type` is not `skip` | - |
84
+ | `--api-url, -u` | Custom API URL | URL string | No | official API |
85
+ | `--mcp-services, -m` | MCP services to install (multi-select, comma-separated) | `context7`, `mcp-deepwiki`, `Playwright`, `exa`, or `skip` for none | No | `all` |
86
+ | `--workflows, -w` | Workflows to install (multi-select, comma-separated) | `commonTools`, `sixStepsWorkflow`, `featPlanUx`, `gitWorkflow`, `bmadWorkflow`, or `skip` for none | No | `all` |
87
+ | `--ai-personality, -p` | AI personality type | `professional`, `catgirl`, `friendly`, `mentor`, `custom` | No | `professional` |
88
+ | `--install-cometix-line, -x` | Install CCometixLine statusline tool | `true`, `false` | No | `true` |
89
89
 
90
90
  #### 🎯 BMad Workflow (v2.7 New Feature)
91
91
 
@@ -139,6 +139,7 @@ After CCR setup, ZCF automatically configures Claude Code to use CCR as the API
139
139
  - **Auto Updates**: Included in ZCF's update checking system
140
140
 
141
141
  CCometixLine menu options (accessible via `npx zcf` → `L`):
142
+
142
143
  - `1` Install or Update - Install or update CCometixLine using npm
143
144
  - `2` Print Default Configuration - Display current CCometixLine configuration
144
145
  - `3` Custom Config - TUI Configuration Mode - Interactive terminal UI for customizing settings
@@ -306,7 +307,8 @@ Enter your choice: _
306
307
  ✔ Config files copied to ~/.claude
307
308
 
308
309
  ? Select workflows to install (space to select, enter to confirm)
309
- ❯ ◉ Six Steps Workflow (workflow) - Complete 6-phase development process
310
+ ❯ ◉ Common Tools (init-project + init-architect + get-current-datetime) - Essential project initialization and utility commands
311
+ ◉ Six Steps Workflow (workflow) - Complete 6-phase development process
310
312
  ◉ Feature Planning and UX Design (feat + planner + ui-ux-designer) - Structured feature development
311
313
  ◉ Git Commands (commit + rollback + cleanBranches + worktree) - Streamlined Git operations
312
314
  ◉ BMAD-Method Extension Installer - Enterprise agile development workflow
@@ -345,13 +347,14 @@ Enter your choice: _
345
347
 
346
348
  #### Commands Quick Reference
347
349
 
348
- | Command | Alias | Description |
349
- | ------------ | ------- | ------------------------------------------------------------------------------------- |
350
- | `zcf` | - | Show interactive menu (v2.0 default command) |
351
- | `zcf init` | `zcf i` | Initialize Claude Code configuration |
352
- | `zcf update` | `zcf u` | Update workflow-related md files with backup |
353
- | `zcf ccu` | - | Run Claude Code usage analysis tool - [ccusage](https://github.com/ryoppippi/ccusage) |
354
- | `zcf ccr` | - | Open CCR (Claude Code Router) management menu |
350
+ | Command | Alias | Description |
351
+ | ------------------- | ------- | ------------------------------------------------------------------------------------- |
352
+ | `zcf` | - | Show interactive menu (v2.0 default command) |
353
+ | `zcf init` | `zcf i` | Initialize Claude Code configuration |
354
+ | `zcf update` | `zcf u` | Update workflow-related md files with backup |
355
+ | `zcf ccu` | - | Run Claude Code usage analysis tool - [ccusage](https://github.com/ryoppippi/ccusage) |
356
+ | `zcf ccr` | - | Open CCR (Claude Code Router) management menu |
357
+ | `zcf check-updates` | - | Check and update Claude Code, CCR and CCometixLine versions |
355
358
 
356
359
  #### Common Options
357
360
 
@@ -576,7 +579,9 @@ If you find this project helpful, please consider sponsoring its development. Yo
576
579
  A huge thank you to all our sponsors for their generous support!
577
580
 
578
581
  - Tc (first sponsor)
579
- - 16°C 咖啡 (My best friend🤪, offered Claude Code max $200 package)
582
+ - Argolinhas (first ko-fi sponsor ٩(•̤̀ᵕ•̤́๑))
583
+ - r\*r (first anonymous sponsor🤣)
584
+ - 16°C coffee (My best friend🤪, offered Claude Code max $200 package)
580
585
 
581
586
  ## 📄 License
582
587
 
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'