From 0b102f0120de437ddc912275dbb2c2788eb3a7ad Mon Sep 17 00:00:00 2001 From: xintaofei Date: Fri, 17 Apr 2026 14:48:22 +0800 Subject: [PATCH] # Release version 0.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - feat(ui): add dedicated Agent subagent rendering with nested tool call display, showing parent Agent prompts and child tool invocations as hierarchical cards. - feat(parser): render Codex CLI spawn_agent and OpenCode task as Agent cards with nested tool calls, unifying subagent visualization across agents. - feat(acp): forward meta/locations fields and use parentToolUseId for precise Agent child grouping in Claude ACP streams. - feat(ui): render streaming Agent tool calls as Agent cards with nested child grouping during live responses. - feat(settings): add xhigh reasoning effort level and update Claude Code model placeholders to claude-opus-4.7. - fix(parser): harden Agent subagent state machine, file matching, query performance and streaming child grouping. - fix(ui): suppress streaming Agent partial content to avoid duplicate prompt display. - fix(ui): clean streaming Agent result output by unwrapping JSON and stripping task_id prefix. - fix(ui): render Agent prompt as markdown and add max height to expanded card body. - fix(ui): prevent duplicate error display in Agent subagent card. - fix(ui): replace Codex icon to remove opaque white background. - fix(acp): clear Claude API retry banner when streaming content resumes. - chore(acp): bump claude-agent-acp to 0.29.0 and gemini-cli to 0.38.1. Known issues: - Codex CLI and Gemini CLI subagent execution cannot be rendered in streaming mode; nested tool calls only appear after the subagent finishes. ----------------------------- # 发布版本 0.9.0 - 功能(UI):新增专用的 Agent 子代理渲染,以层级卡片形式展示父 Agent 提示词与子工具调用的嵌套关系; - 功能(解析器):将 Codex CLI 的 spawn_agent 和 OpenCode 的 task 渲染为 Agent 卡片并嵌套子工具调用,统一各代理的子代理可视化; - 功能(ACP):转发 meta/locations 字段并通过 parentToolUseId 精确分组 Claude ACP 流中的 Agent 子项; - 功能(UI):在实时响应过程中将流式 Agent 工具调用渲染为带嵌套子项分组的 Agent 卡片; - 功能(设置):新增 xhigh 推理力度级别,并将 Claude Code 模型占位符更新为 claude-opus-4.7; - 修复(解析器):增强 Agent 子代理状态机、文件匹配、查询性能与流式子项分组的稳定性; - 修复(UI):抑制流式 Agent 的部分内容输出,避免提示词重复显示; - 修复(UI):清理流式 Agent 结果输出,解包 JSON 并去除 task_id 前缀; - 修复(UI):将 Agent 提示词按 Markdown 渲染,并为展开卡片主体设置最大高度; - 修复(UI):修复 Agent 子代理卡片中错误信息重复显示的问题; - 修复(UI):替换 Codex 图标,去除不透明的白色背景; - 修复(ACP):当流式内容恢复时清除 Claude API 重试提示横幅; - 杂项(ACP):升级 claude-agent-acp 到 0.29.0,升级 gemini-cli 到 0.38.1。 已知问题: - Codex CLI 和 Gemini CLI 的子代理执行过程暂不支持流式渲染,嵌套工具调用仅在子代理执行结束后显示。 --- package.json | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a33d44d..f8b4456 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "codeg", "private": true, - "version": "0.8.9", + "version": "0.9.0", "scripts": { "dev": "next dev --turbopack", "build": "next build", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index f1594a7..10e8c14 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -853,7 +853,7 @@ checksum = "c3e64b0cc0439b12df2fa678eae89a1c56a529fd067a9115f7827f1fffd22b32" [[package]] name = "codeg" -version = "0.8.9" +version = "0.9.0" dependencies = [ "agent-client-protocol-schema", "async-trait", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 4a1f34a..81746ae 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "codeg" -version = "0.8.9" +version = "0.9.0" description = "Agent Code Generation App" authors = ["feitao"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 5e860b5..ad60942 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "codeg", - "version": "0.8.9", + "version": "0.9.0", "identifier": "app.codeg", "build": { "beforeDevCommand": "pnpm dev",