79 Commits
Author SHA1 Message Date
li 90f8e0f8c6 docs: add GitHub stars and NPM downloads badges to README for enhanced visibility 2026-04-06 11:30:46 +08:00
li 74d1bc1eca feat: add n1n.ai as sponsor in README 2026-04-03 19:22:24 +08:00
li 0854b890ab feat: integrate 302.AI as sponsor provider (#126)
- Activate 302.AI option in init Step 1/4 and menu API config
- Auto-fill baseUrl (https://api.302.ai/cc), user only inputs API Key
- Show referral link (https://share.302.ai/oUDqQ6) in CLI
- Add sponsor banner + product intro to README.md and README.zh-CN.md
- Add 302.AI banner images (zh/en) to assets/sponsors/
2026-04-03 19:10:30 +08:00
li f2ea034890 docs: add CCG logo and multi-size assets
- Add transparent logo (cropped + original), multi-size favicons with
  dark rounded background, social media cards (OG + Twitter), npm badge
- Display logo in both README.md and README.zh-CN.md
2026-04-02 14:18:43 +08:00
li 9c4d3e402e docs: add star badge to README for project visibility 2026-04-01 16:45:04 +08:00
li b1a94dc7d2 docs: fix outdated numbers in README (commands 27→29+, tests 134→139) 2026-03-31 20:08:50 +08:00
li ea4cf5d2bc fix: MCP provider preserved during update + optional Impeccable commands (#124, #125)
- fix: update no longer resets mcpProvider to 'skip' — reads from existing config (#124)
- feat: init Step 4/4 adds confirm for Impeccable frontend tools, default OFF (#125)
- feat: add X (Twitter) @CCG_Workflow badge + demo tweet link to README
- chore: bump version to 2.1.11
2026-03-31 19:30:02 +08:00
li e9ba77a2c5 docs: update contributors list (add SXP-Simon, Sakuranda, Mriris) 2026-03-20 14:51:53 +08:00
li e390b41815 fix: remove claude/- exclusion from contributors markers causing 404 2026-03-20 14:47:48 +08:00
li 92e1e4251e fix: correct run_skill.js path in SKILL.md for ccg namespace
The skill runner path was still pointing to ~/.claude/skills/run_skill.js
instead of ~/.claude/skills/ccg/run_skill.js after the v1.7.75 namespace
migration, causing quality gate invocations to fail.
2026-03-18 12:10:17 +08:00
li 371bc50f91 feat: dual-source binary download — GitHub + Cloudflare R2 mirror
GitHub Release (8s timeout) → Cloudflare R2 mirror (60s timeout) automatic
fallback. China users no longer suffer from GitHub download failures.
2026-03-17 11:25:24 +08:00
li a722a8a7e9 fix: skip binary re-download during update when unchanged
- installBinaryFile() checks existing binary before downloading
- uninstallWorkflows() accepts preserveBinary option for updates
- update.ts verifies binary post-update with same red-box warning as init
- Extract shared verifyBinary() and showBinaryDownloadWarning() utils
2026-03-17 10:56:31 +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 c66d494b9b docs: add contact section and GitHub Sponsor funding
- Add Contact section to both READMEs (email, Issues, Discussions)
- Add .github/FUNDING.yml for GitHub Sponsor button
2026-03-11 12:49:11 +08:00
li be0772398e docs: add contributors wall with auto-update, exclude claude bot
- Add contributors table to both READMEs (5 human contributors)
- Add .github/workflows/contributors.yml: auto-update on push to main
- Exclude `claude` account from contributors list
- Uses akhilmhdh/contributors-readme-action for automatic maintenance
2026-03-11 12:38:11 +08:00
li 61fe0b70dd docs: add contributors wall, fix hook example, update test badge
- Add contributors section (contrib.rocks) to both README and README.zh-CN
- Fix manual hook example: `exit 1` → `true` (matches code fix)
- Update test badge: 131 → 134 passed
2026-03-11 12:36:45 +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 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
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
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 93b49238f2 docs: 更新 POST_DRAFT 和 README,移除过时内容 2026-02-07 23:54:54 +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 e14496868f refactor: 更新 README.md 2026-01-27 00:33:15 +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
风少1227 4b05333f1c Merge pull request #33 from GGzili/main
更新README.md
2026-01-23 19:19:48 +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
顾籽黎 0855513601 更新README.md
我遇到的情况:
C:\Users\19737>npx ccg-workflow
Need to install the following packages:
ccg-workflow@1.7.47
Ok to proceed? (y) y

npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'ora@9.1.0',
npm warn EBADENGINE   required: { node: '>=20' },
npm warn EBADENGINE   current: { node: 'v18.20.8', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'string-width@8.1.0',
npm warn EBADENGINE   required: { node: '>=20' },
npm warn EBADENGINE   current: { node: 'v18.20.8', npm: '10.8.2' }
npm warn EBADENGINE }
file:///E:/nodejs/node_cache/_npx/2f75123001b35989/node_modules/string-width/index.js:16
const zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v;
                              ^

SyntaxError: Invalid regular expression flags
    at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18)
    at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14)

Node.js v18.20.8

原README.md内容 18+ 版本不对

项目依赖 ora@^9.0.0,该包要求 Node.js >= 20
依赖 string-width@8.1.0 也要求 Node.js >= 20
项目中包含正则表达式,而Node.js 18 不支持正则表达式的 v 标志

Signed-off-by: 顾籽黎 <130820016+GGzili@users.noreply.github.com>
2026-01-22 21:28:10 +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 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
li e7d99b86d4 docs: 添加 Star History 图表 2026-01-15 14:10:47 +08:00
li 232b10b74b docs: 更新 README.md,精简内容并优化格式 2026-01-13 22:13:20 +08:00
li beca0106ce fix: 修复 npm 全局安装用户的更新和卸载问题 (v1.7.11)
**问题背景**:
- 用户通过 `npm install -g` 全局安装后,存在双重路径问题
- 卸载显示成功但命令仍可用(只删除了工作流文件,npm 包未移除)
- 更新显示成功但版本号不变(只更新了工作流文件,命令入口仍指向旧版本)

**核心修复**:
1. 新增 checkIfGlobalInstall() 函数检测 npm 全局安装
2. 更新功能:检测到全局安装时引导用户使用 npm 更新
3. 卸载功能:提示两步卸载流程,避免困惑

**修改文件**:
- src/commands/update.ts - 添加全局安装检测和更新引导
- src/commands/menu.ts - 添加卸载引导逻辑
- README.md - 完善卸载说明,区分 npx 和全局安装
- CHANGELOG.md - 记录本次修复
- CLAUDE.md - 更新版本号和变更记录
- package.json - 版本号 1.7.10 → 1.7.11

**用户价值**:
解决"全局安装 + npx 混用"导致的更新/卸载混乱问题
2026-01-09 21:20:24 +08:00