Files
ccg-workflow/package.json
T
li ea9f436ef4 fix: Windows 兼容性 - 改用 run_in_background 参数 (v1.7.1)
**问题**:
- Windows Git Bash 不支持 heredoc + `&` 后台进程语法
- 用户在调用 workflow 时触发语法错误

**修复**:
- 所有命令模板改用 Bash 工具的 `run_in_background: true` 参数
- 统一使用不同的 EOF 标记(EOF_CODEX, EOF_GEMINI)避免冲突
- 更新关键规则说明,移除 shell `&` 符号的说明

**影响范围**:
- templates/commands/workflow.md
- templates/commands/analyze.md
- templates/commands/debug.md
- templates/commands/optimize.md
- templates/commands/review.md
- templates/commands/test.md
- skills-v2/CLAUDE.md
- package.json (v1.7.0 → v1.7.1)

**测试验证**:
- macOS 现有功能不受影响
- Windows Git Bash 语法错误已解决
2026-01-08 16:26:28 +08:00

63 lines
1.3 KiB
JSON

{
"name": "ccg-workflow",
"version": "1.7.1",
"description": "Claude-Codex-Gemini 多模型协作系统 - 智能路由多模型开发工作流",
"type": "module",
"packageManager": "pnpm@10.17.1",
"author": {
"name": "CCG Contributors"
},
"license": "MIT",
"keywords": [
"claude",
"codex",
"gemini",
"multi-model",
"ai",
"collaboration",
"cli",
"workflow"
],
"bin": {
"ccg": "bin/ccg.mjs"
},
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"types": "dist/index.d.mts",
"files": [
"bin",
"dist",
"templates"
],
"scripts": {
"dev": "tsx src/cli.ts",
"build": "unbuild",
"start": "node bin/ccg.mjs",
"typecheck": "tsc --noEmit",
"prepublishOnly": "pnpm build",
"lint": "eslint",
"lint:fix": "eslint --fix"
},
"dependencies": {
"ansis": "^4.1.0",
"cac": "^6.7.14",
"fs-extra": "^11.3.2",
"i18next": "^25.5.2",
"i18next-fs-backend": "^2.6.0",
"inquirer": "^12.9.6",
"ora": "^9.0.0",
"pathe": "^2.0.3",
"smol-toml": "^1.4.2"
},
"devDependencies": {
"@antfu/eslint-config": "^5.4.1",
"@types/fs-extra": "^11.0.4",
"@types/inquirer": "^9.0.9",
"@types/node": "^22.0.0",
"eslint": "^9.36.0",
"tsx": "^4.20.5",
"typescript": "^5.9.2",
"unbuild": "^3.6.1"
}
}