Commit Graph
6 Commits
Author SHA1 Message Date
li 6988f6421a fix: Gemini session_id parsing + restore resume <SESSION_ID>
Root cause: Gemini CLI prepends MCP warning text to init event line,
causing JSON parse failure and losing session_id.

Fix: extract JSON from first '{' when initial parse fails.

All templates restored to `resume <SESSION_ID>` for both Codex and
Gemini, supporting parallel multi-session workflows.

New: spec-impl cross-phase session reuse (prototype → review).
2026-03-26 14:41:09 +08:00
li 32a5043bdb fix: early Session-ID output + Gemini -p display correction
- Output Session-ID to stderr immediately when backend reports
  session_started, so Claude can capture it even if task times out
- Fix Command: display line to show actual task text instead of
  misleading -p - for Gemini backend (geminiDirect logic)
- Bump codeagent-wrapper 5.8.0 → 5.9.0
- Bump EXPECTED_BINARY_VERSION to 5.9.0
2026-03-26 13:23:52 +08:00
aleng e816091620 feat: add --progress flag for codeagent-wrapper stderr progress output
* fix: surface wrapper progress in task output

Propagate the --progress flag through the wrapper runtime path so background Codex tasks emit compact progress lines to stderr. Also enable progress output in long-running CCG command templates and add focused parser/arg coverage for the new behavior.

* fix: address review feedback for task progress output

Remove the unintended progress enablement in runCodexProcess, make progress snippets rune-safe for CJK output, add direct utility coverage, and align the remaining background command templates to use --progress consistently.
2026-03-23 16:25:45 +08:00
li 322a4d329e feat: Web UI 实时流式输出 + 自动打开浏览器 + 完成提示
- 新增 Web UI 实时输出(SSE)
  - 随机端口分配,避免端口冲突
  - 单面板显示,按后端类型分色(Codex 绿/Gemini 紫/Claude 橙)
  - 短生命周期,随任务结束而关闭
- 新增自动打开浏览器功能(跨平台:macOS/Linux/Windows)
- 新增完成提示(✓ 完成 + 浏览器通知)
- 新增内容类型显示
  - 💭 思考过程(reasoning - 灰色斜体)
  - 💻 命令执行(command - 黄色代码块)
  - 📝 最终回复(message - 白色)
- 修复 Codex turn.completed 事件捕获
- 扩展 stderr 噪音过滤到所有后端
- 新增 /ccg:enhance 命令(Prompt 增强)

修改文件:
- codeagent-wrapper/server.go: Web UI 核心实现
- codeagent-wrapper/executor.go: WebServer 集成
- codeagent-wrapper/parser.go: turn.completed 支持 + 内容类型
- codeagent-wrapper/filter.go: 全后端噪音过滤
- templates/commands/enhance.md: 新增 Prompt 增强命令
- README.md: 更新功能列表(15 个命令)
- package.json: v1.7.3

版本: v1.7.3
2026-01-09 04:27:10 +08:00
li 9be5ead28d fix: 修复 Gemini session_id 解析问题
- 在 parser.go 中提前提取 session_id(适用于所有后端)
- 增加对 Gemini init 事件的识别(type="init" && session_id 存在)
- 现在 Gemini 调用也能正确返回 SESSION_ID,支持 --resume 恢复会话
2026-01-09 01:06:53 +08:00
li 6d5628977b feat: CCG 多模型协作系统 v1.0
Claude Code + Codex + Gemini 多模型协作工作流系统

## 核心功能
- 6阶段开发工作流 (/ccg:dev)
- 智能路由:前端→Gemini,后端→Codex
- Prompt 增强 (Auggie MCP prompt-enhancer)
- 双模型代码审查和技术分析

## 命令列表
- /ccg:dev - 完整开发工作流
- /ccg:frontend - 前端任务
- /ccg:backend - 后端任务
- /ccg:review - 代码审查
- /ccg:analyze - 技术分析
- /ccg:enhance - Prompt 增强
- /ccg:commit - 智能提交
- /ccg:rollback - 交互式回滚
- /ccg:clean-branches - 清理分支
- /ccg:worktree - Worktree 管理
- /ccg:init - 项目初始化

## 特性
- 预编译二进制(无需 Go 环境)
- 专家系统提示词(Codex/Gemini)
- 一键安装脚本
2026-01-05 01:28:10 +08:00