li
c80f58b086
feat: VitePress documentation site with GitHub Pages deployment
...
- VitePress config with zh-CN (default) + English i18n
- 12 content pages: landing page + 5 guide pages per locale
- GitHub Actions workflow for auto-deploy on docs/** changes
- Logo SVG + local search enabled
- Homepage URL updated to https://fengshao1227.github.io/ccg-workflow/
2026-03-12 14:00:46 +08:00
li
d58968055c
chore: bump version to 1.7.83
2026-03-12 13:39:32 +08:00
li
6a02c169ab
feat: fast-context MCP integration + Gemini MCP sync v1.7.82
...
- Add Windsurf Fast Context as 4th code retrieval MCP option (recommended)
- Three-endpoint prompt injection: Claude rules + Codex AGENTS.md + Gemini GEMINI.md
- Add syncMcpToGemini() mirroring MCP servers to ~/.gemini/settings.json
- Support API Key optional + FC_INCLUDE_SNIPPETS mode selection
- Full install/uninstall/menu lifecycle support
2026-03-12 12:23:05 +08:00
li
aac119866d
fix: /ccg:commit context auto-archive from git diff, drop manual log dependency v1.7.81
...
- Context Phase 5 now analyzes git diff to generate ContextEntry
automatically — no longer requires manual session.log entries
- session.log content merged when present but not required
- .context/ missing: suggest init, don't block commit
- /ccg:context log demoted to optional (for manual notes only)
2026-03-11 23:53:47 +08:00
li
04460ad07e
feat: /ccg:context command + quality gate rules v1.7.80
...
- /ccg:context: 27th slash command — .context/ init, decision log,
compress, history for LLM context engineering
- /ccg:commit Context Compress Phase: auto-compress session.log →
history/commits.jsonl on commit, add Context-Id trailer
- 13 role prompts .context Awareness: Codex 6 + Gemini 7 prompts
inject .context/prefs/ reading instructions
- Quality Gate Rules: ~/.claude/rules/ccg-skills.md auto-trigger
rules for verify-security/quality/change/module + gen-docs
- E2E test timeout 5s → 15s for growing command count
2026-03-11 23:37:37 +08:00
li
052cbb63c7
fix: binary download retry + prominent failure warning v1.7.79
...
- downloadBinaryFromRelease: 3 retries + 60s AbortController timeout
- Binary failure downgraded to warning (commands + skills still install)
- init.ts: red box warning + manual download URL + placement path on failure
- update.ts: backup binary before uninstall, restore on failure
- update.ts: subprocess timeout 120s → 300s (slow networks / China GFW)
- installer.test.ts: contextweaver E2E timeout 5s → 30s
2026-03-11 20:58:04 +08:00
li
7c5609aea6
fix: Windows hook exit 255 — use permissions.allow instead v1.7.78
...
- Windows: auto-approve codeagent-wrapper via permissions.allow
(Hook depends on jq/grep/true which don't exist on Windows)
- macOS/Linux: keep existing Hook approach (works fine)
- Auto-migrate: remove old Hook on Windows upgrade
- Skip jq check on Windows (not needed with permissions.allow)
2026-03-11 17:07:27 +08:00
li
6a9edf4b0b
fix: resolve pre-existing typecheck + Go test failures
...
- menu.ts: ReturnType → InstanceType for Separator class (fixes tsc error)
- Remove @types/inquirer (inquirer v12 ships built-in types)
- executor_concurrent_test.go: add --dangerously-bypass-approvals-and-sandbox to expected args
- main_test.go: update version assertion 5.6.0 → 5.7.2
- ci.yml: restore typecheck + Go test steps (all passing now)
2026-03-11 12:22:08 +08:00
li
e88a085898
chore: bump version to 1.7.77
...
- Binary migration to GitHub Release (npm 16.3MB → 161KB)
- Actions CI for cross-compilation
- Fix migration test timeout (network download)
2026-03-10 22:32:08 +08:00
li
968cbedb8a
ci: migrate binaries to GitHub Release + Actions CI
...
- Add .github/workflows/build-binaries.yml (Go cross-compile → preset release)
- installer.ts: download from GitHub Release, fallback to local bin/
- package.json: exclude binaries from npm (16.3MB → 161KB)
- .gitignore: stop tracking bin/codeagent-wrapper-*
- git rm --cached 6 pre-compiled binaries
2026-03-10 22:26:14 +08:00
li
5769a1dbe6
docs: restructure README + add CONTRIBUTING.md + issue templates v1.7.76
...
- README: group 26 commands into 7 categories, add "Why CCG?" section,
move architecture diagram up, consolidate prerequisites, deduplicate
jq instructions, add "When to change" column for env vars, fold
settings.json and Hook config into <details>
- Add CONTRIBUTING.md with dev setup, PR workflow, commit conventions
- Add .github/ISSUE_TEMPLATE/ (bug report, feature request, good first issue)
- EN and ZH README mirrored (335 lines each, 13 sections)
2026-03-10 21:10:50 +08:00
li
aada7260fc
fix: skills namespace isolation — install to skills/ccg/ v1.7.75
...
- Install skills to ~/.claude/skills/ccg/ instead of ~/.claude/skills/
- Uninstall only removes skills/ccg/, preserving user's own skills
- Auto-migrate old v1.7.73-74 layout (tools/orchestration at root)
- Add 3 tests: namespace, uninstall isolation, migration (134 total)
2026-03-10 12:27:30 +08:00
li
96c4debe14
fix: Gemini CLI .env isolation + cross-compile v1.7.74
...
- Set cmd.Dir=$HOME for Gemini backend to prevent project .env from
overriding global API keys (gemini-cli#2493)
- Pass project directory via --include-directories flag instead
- Fix pre-existing Codex test env var name (CODEX_REQUIRE_APPROVAL)
- Cross-compile 6 platform binaries with -s -w strip flags
2026-03-09 17:02:43 +08:00
li
c7e758a503
chore: bump version to 1.7.73
...
feat: /ccg:codex-exec command - Codex full execution with multi-model review
feat: Skills system - 6 native skills (quality gates + multi-agent orchestration)
feat: context7 MCP auto-install (free library docs, no API key)
feat: syncMcpToCodex() - mirror CCG MCP servers to ~/.codex/config.toml
fix: --skip-mcp now correctly guards context7 + Codex sync
fix: skills install/uninstall path consistency
fix: skills template variable replacement after fs.copy()
fix: MCP sync passes through all fields (not just command/args/env)
fix: installedSkills count excludes root SKILL.md
fix: failure feedback for context7 and Codex sync
2026-03-09 15:06:58 +08:00
li
b6ce03effb
chore: bump version to 1.7.72
2026-03-09 12:24:07 +08:00
li
336cb34af4
chore: bump version to 1.7.71
2026-03-09 01:44:57 +08:00
li
1fe8795fdb
chore: v1.7.70 - menu UI overhaul + MCP defaults + repo cleanup
...
- Menu: ASCII Art "CCG" logo, double-line border, numbered shortcuts, CJK-aware alignment
- MCP: ace-tool as default (search_context works, enhance_prompt unavailable), proxy: acemcp.heroman.wtf
- Cleanup: remove 11 temp/cache files (1.md, verify-*.sh, .magi/, etc.)
- .gitignore: add .magi/, verify-*.sh, *_FIX.md, *_REFERENCE.md
2026-03-09 01:18:05 +08:00
li
00f0a74940
feat: i18n + codeagent-wrapper hook auto-authorization (v1.7.69)
...
- Add language selection on first install (zh-CN / English)
- Full i18n for init.ts, menu.ts, update.ts, cli-setup.ts
- Expand i18n/index.ts to 800+ lines with complete zh-CN/en translations
- Auto-install codeagent-wrapper PreToolUse hook in settings.json
- Detect jq availability and show install instructions if missing
- Rewrite README.md in English, move Chinese to README.zh-CN.md
- Add FAQ section with hook configuration guide
- Bump version to 1.7.69
2026-03-09 00:56:42 +08:00
li
ae5b9dfeaf
fix: update 命令全局安装死循环 + 测试覆盖率 38→130
...
修复:
- npm 全局安装用户本地工作流版本过旧时,update 错误推荐
`npm install -g`(包已最新),导致死循环。修正 performUpdate
的 isNewVersion 参数仅依赖 hasUpdate。
测试 (+92):
- version.test.ts: compareVersions 全场景 + 回归用例
- config.test.ts: createDefaultConfig/Routing 纯函数
- platform.test.ts: 平台检测、getMcpCommand、路径分隔符
- installer.test.ts: 注册表一致性、路由/liteMode 注入、
模板变量完整性、contextweaver E2E、卸载 E2E、
二进制安装、prompts 安装
2026-03-09 00:17:47 +08:00
li
6d1f742b2f
chore: bump version to 1.7.67
2026-03-07 14:00:59 +08:00
li
7b3ba20282
fix: spec-research 补全多模型并行调用模板
...
spec-research.md Step 4 缺少 run_in_background: true 指令和完整的
Bash 并行调用示例,导致 Codex/Gemini 串行执行而非并行。
补全为与 spec-plan/spec-impl 一致的并行调用格式。
2026-03-06 21:37:59 +08:00
li
ce30ba01db
chore: bump version to 1.7.65
...
包含 PR #68 的 MCP skip 模式修复 + 测试框架
2026-03-01 23:48:40 +08:00
风少1227
565d55af3f
Merge pull request #68 from ymdvsymd/claude/fix-mcp-skip-injection-01HvwiUv489c9WeoyhBB9yTq
...
fix: handle MCP 'skip' provider to prevent invalid tool name injection
2026-03-01 23:43:24 +08:00
li
bfb156c7c1
chore: v1.7.64 - 保持 CCG 封装纯粹性
...
移除 spec-* 模板中的 /opsx:xxx 引用,用户只需使用 /ccg:spec-* 命令即可
2026-03-01 20:38:52 +08:00
li
734b7996df
feat: v1.7.63 - 适配 OpenSpec 1.2
...
更新 spec-* 系列命令支持新版 OPSX 工作流:
- spec-init: 新增 Profile 系统 (core/custom) + AI 工具自动检测
- spec-research: 新增 /opsx:propose 一步到位选项
- spec-plan: 新增 /opsx:ff 快进模式提示
- spec-impl: 新增 /opsx:verify 验证步骤
- spec-review: 更新引用 (移除过时的 AGENTS.md)
2026-03-01 20:21:57 +08:00
Claude
68347e4a82
fix: handle MCP 'skip' provider in processTemplate to prevent invalid tool injection
...
When users select 'skip' (no MCP) during installation, the
injectConfigVariables function previously fell through to the else
branch, injecting non-existent `mcp__ace-tool__search_context` into
all 14 templates and 2 agent definitions.
This adds a dedicated 'skip' branch with a 4-stage replacement
strategy:
1. Remove MCP tool from agent frontmatter tools declarations
2. Replace code blocks containing MCP invocations with Glob+Grep
fallback guidance
3. Replace inline backtick references with `Glob + Grep`(MCP 未配置)
4. Safety net for any remaining bare references
Also introduces vitest and adds 29 test cases covering skip,
contextweaver, ace-tool providers, plus integration tests against
all real templates.
https://claude.ai/code/session_01HvwiUv489c9WeoyhBB9yTq
2026-02-28 15:28:48 +00:00
li
c0a4c820f9
chore: bump version to 1.7.62
...
升级 Gemini 模型:gemini-3-pro-preview → gemini-3.1-pro-preview (PR #65 by @23q3)
2026-02-27 14:33:08 +08:00
li
7f58785c7b
feat: v1.7.61 - Agent Teams 并行实施系列(team-research/team-plan/team-exec/team-review)
2026-02-10 04:49:38 +08:00
li
72853ad66d
chore: bump version to 1.7.59
2026-02-08 18:26:17 +08:00
li
661b5f0294
feat: v1.7.58 - 新增输出风格配置
...
- 新增「配置输出风格」菜单选项
- 内置 6 种风格:默认、专业工程师、猫娘、老王、大小姐、邪修
- 风格来源:code-abyss + zcf
2026-02-08 00:02:48 +08:00
li
df4a4f3514
feat: v1.7.57 - MCP扩展 + API配置 + 实用工具 + Claude Code安装
...
- 新增 ContextWeaver MCP(推荐)替代收费的 ace-tool
- 新增辅助工具 MCP:Context7/Playwright/DeepWiki/Exa
- 新增 API 配置(初始化+菜单),自动添加优化配置和权限白名单
- 新增实用工具:ccusage + CCometixLine
- 新增 Claude Code 安装(npm/homebrew/curl/powershell/cmd)
- MCP 配置菜单重构为代码检索+辅助工具两类
2026-02-07 23:51:11 +08:00
li
d95aa2ab44
fix: 修复 OpenSpec CLI 集成问题 (v1.7.56)
...
- 修正命令调用方式:使用 openspec CLI 而非 Skill(opsx:list)
- 修正命令语法:openspec new change (移除不支持的 --json)
- 统一命令名称:明确 openspec CLI vs /opsx: 斜杠命令
- 修复 5 个 spec 命令模板
- 验证所有 OpenSpec CLI 命令语法
- 新增 3 个文档和验证脚本
2026-02-01 14:54:07 +08:00
li
3e1393c2c6
chore: bump version to 1.7.55
2026-02-01 12:58:39 +08:00
li
4ab1cd34ae
fix: 修正 OpenSpec 安装包名称错误 (v1.7.54)
...
紧急修复 v1.7.53 中的错误:OPSX 不是独立包,而是 OpenSpec 的实验性工作流
修复内容:
- ✅ 修正安装包名称:@opsx/cli → @fission-ai/openspec
- ✅ 说明 OPSX = OpenSpec eXperimental workflow (v0.23.0+)
- ✅ /opsx: 命令通过安装 @fission-ai/openspec 获得
- ✅ 更新 spec-init.md 说明文本
技术说明:
- OPSX 是 OpenSpec 的实验性功能,不是独立 CLI 包
- 包名保持:@fission-ai/openspec
- 命令格式:/opsx:* (实验性) 和传统 OpenSpec 命令
2026-01-26 21:10:44 +08:00
li
90d1e9645d
fix: 完善 OPSX 命令迁移 (v1.7.53)
...
完整更新所有 5 个 spec-*.md 模板文件,修复 v1.7.52 中未完全更新的 OpenSpec CLI 遗留引用
变更内容:
- ✅ 完整替换所有 openspec 命令为 /opsx 命令
- ✅ 更新命令映射(list/show/status/new/validate/diff/schemas)
- ✅ 更新安装包引用:@fission-ai/openspec → @opsx/cli
- ✅ 修改 5 个模板文件:spec-impl/init/plan/research/review.md
2026-01-26 16:34:11 +08:00
li
03433481db
feat: upgrade to OPSX architecture and improve update workflow (v1.7.52)
2026-01-26 14:48:27 +08:00
li
9f76d7bba0
fix: 修复 CLI 默认语言为英文的问题 (v1.7.51)
...
- 将 cli-setup.ts 中所有命令描述从硬编码英文改为中文
- 修复 menu.ts 退出提示从 'Goodbye!' 改为 '再见!'
- 确保 npm 包安装后默认显示为中文界面
2026-01-25 21:00:31 +08:00
li
7d17663548
fix: 修正 workflow.md 会话复用语法说明 (v1.7.50)
...
- 将 `--resume xxx` 修正为 `resume xxx` 子命令语法
- 添加明确提示:是 `resume`,不是 `--resume`
2026-01-24 19:10:56 +08:00
li
4ef702ee09
fix: 添加 spec-*.md 模板文件到 npm 发布配置 (v1.7.49)
...
修复 spec 命令描述显示为英文的问题:
- package.json files 数组漏掉了 spec-init/research/plan/impl/review.md
- 安装时找不到模板走 placeholder 分支使用了 descriptionEn
2026-01-24 19:05:30 +08:00
li
fb34d329cd
feat: 集成 OpenSpec 规范驱动开发
...
新增 5 个 /ccg:spec-* 命令:
- spec-init: 初始化 OpenSpec 环境
- spec-research: 需求 → 约束集
- spec-plan: 多模型分析 → 零决策计划
- spec-impl: 按规范执行 + 归档
- spec-review: 双模型交叉审查
其他改进:
- 菜单支持循环返回
- 多模型并行调用指令加强
- 清理仓库无关文件
2026-01-23 17:15:01 +08:00
li
9916645ae2
fix: 添加缺失的 gemini/architect.md 修复会话复用失败 (v1.7.47)
...
- 新增 templates/prompts/gemini/architect.md 前端架构师角色
- 更新 package.json 将新文件加入发布列表
- 更新 README.md 添加 API 密钥配置说明(VSCode 用户)
- 更新 CHANGELOG.md 和 CLAUDE.md 文档
2026-01-21 17:08:37 +08:00
li
c10eacceeb
fix: 修复浏览器进程清理问题并更新 darwin-arm64 二进制 (v1.7.46)
...
- 修复 openBrowser 函数僵尸进程问题
- 新增 darwin-arm64 预编译二进制
- 正确清理浏览器子进程防止资源泄露
Fixes: #issue-windows-heredoc-error
2026-01-20 19:42:09 +08:00
li
aae2ad793c
fix(windows): 修复 Windows 平台 heredoc 路径解析错误
...
- 添加 normalizeWindowsPath 函数处理 Git Bash 路径转换
- 支持 /c/Users 到 C:/Users 的自动转换
- 支持反斜杠到正斜杠的规范化
- 添加完整的单元测试覆盖
- 仅在 Windows 平台启用,macOS/Linux 零影响
- 重新编译 Windows 二进制文件
Fixes: #issue-windows-heredoc-error
Version: 1.7.45
2026-01-20 13:32:43 +08:00
li
5917ce25db
fix: 修复 ace-tool-rs 安装时显示"跳过"的问题 (v1.7.44)
...
问题:
- 选择 ace-tool-rs 并输入 Token 后,安装摘要错误显示"MCP工具跳过"
- 用户明确选择不跳过 Token 配置,但系统误报跳过状态
根本原因:
- Line 179: 摘要显示条件只检查 mcpProvider === 'ace-tool',遗漏 ace-tool-rs
- Line 389: MCP 资源提示条件判断有同样问题
修复方案:
- 统一为 (mcpProvider === 'ace-tool' || mcpProvider === 'ace-tool-rs')
- 使用 mcpProvider 变量动态显示正确的工具名称
影响:
- ✅ ace-tool-rs 安装状态正确显示
- ✅ 配置成功时显示绿色 "ace-tool-rs"
- ✅ 待配置时显示黄色 "ace-tool-rs (待配置)"
- ✅ 真正跳过时才显示灰色 "跳过"
感谢用户报告!
2026-01-18 22:25:22 +08:00
li
809976a582
feat: 添加 /ccg:plan 和 /ccg:execute 命令 (v1.7.43)
...
- 新增 templates/commands/plan.md 到发布包
- 新增 templates/commands/execute.md 到发布包
- 支持多模型协作规划与并行执行
2026-01-18 18:42:45 +08:00
li
96065e6f4f
chore: bump version to 1.7.42
2026-01-18 18:40:09 +08:00
li
4cae6c6df4
chore: 优化 npm 发布配置,排除未测试文件
...
- 修改 package.json files 字段为精确文件列表
- 排除 templates/commands/execute.md (未测试)
- 排除 templates/commands/plan.md (未测试)
- 排除 templates/prompts/gemini/architect.md (未测试)
- 排除 templates/examples/ (未测试)
- 排除 templates/schemas/ (未测试)
- 添加 .npmignore 作为文档参考
2026-01-18 18:39:32 +08:00
li
981a615019
fix: 修复 Windows Git Bash 环境下 PATH 继承问题 (v1.7.41)
...
**codeagent-wrapper v5.7.1 修复**
## 问题
- codeagent-wrapper 仅对 claude 后端设置环境变量
- codex/gemini 后端在 Windows Git Bash 后台进程中找不到命令
- 错误: "codex command not found in PATH"
## 修复
- 统一所有后端的环境变量处理逻辑
- 所有后端均调用 cmd.SetEnv() 显式合并父进程环境变量
- 确保 PATH 等关键环境变量正确继承
## 影响
- ✅ Windows 用户不再需要手动配置 settings.json 注入 PATH
- ✅ 所有平台的环境变量继承行为统一
- ✅ 减少 "command not found" 错误
## 修改文件
- codeagent-wrapper/executor.go:972-978 (核心修复)
- codeagent-wrapper/main.go (v5.7.0 → v5.7.1)
- package.json (v1.7.40 → v1.7.41)
- CHANGELOG.md (新增 v1.7.41 变更记录)
- PATH_ISSUE_DIAGNOSIS.md (新增诊断文档)
- bin/* (重新编译所有平台二进制文件)
2026-01-18 18:35:51 +08:00
li
568f3699ae
fix: 为 debug/optimize/review/test 命令添加 ROLE_FILE 提示词注入 (v1.7.40)
...
- debug.md: 添加 debugger.md 提示词表
- optimize.md: 添加 optimizer.md 提示词表
- review.md: 添加 reviewer.md 提示词表
- test.md: 添加 tester.md 提示词表
修复后这些命令会正确注入 Codex/Gemini 专家提示词
2026-01-17 10:17:13 +08:00
li
24983765d6
feat: add /ccg:plan and /ccg:execute commands (v1.7.39)
...
- Add /ccg:plan for multi-model collaborative planning (Phase 1-2)
- Add /ccg:execute for multi-model collaborative execution (Phase 3-5)
- Fix /ccg:init not invoking subagents properly
- Update command count from 14 to 16
2026-01-16 17:46:19 +08:00