github xintaofei/codeg v0.24.0
codeg v0.24.0

4 hours ago

Release version 0.24.0

Make codeg yours: recolor any theme, round every corner, or write your own CSS — and let it ring instead of just lighting up a badge. Long conversations open in a fraction of the time, Grok's sub-agents are no longer a black box, and to-do cards accept screenshots. Cline 3.0.50+ works again.

New

  • Make any theme your own. A new Custom Style section layers on top of the 12 presets: 31 color tokens (7 up front, 24 under Advanced), light and dark set separately, and one slider for the whole app's corner radius. Themes import and export as shadcn registry:theme JSON through the clipboard, and an opt-in CSS editor covers what the fields can't. If custom CSS ever breaks the interface, ⌘⌥⇧S suspends it and ?safeStyle=1 opens a clean window.
  • Notification sounds. Settings → General rings the same five events the chat channels push — turn complete, permission request, agent question, agent error, message sent — each with its own tone, plus volume and an "only when the window isn't focused" gate. Off by default, remembered per device.
  • A "Recent" section in the sidebar. Every conversation newest first, 15 at a time, with its own new-conversation button. Folders, Chats and Recent can now be reordered from the view-options menu.
  • Grok sub-agents are visible. Each spawn_subagent child gets an Agent card that shows progress while it runs, renders its report as markdown, and opens the child's own session read-only. Child sessions no longer clutter the conversation list.
  • Every to-do box is the full composer. New task, edit, follow-up and restart note all get the "+" menu, @ references, slash commands, skills and attachments — so a bug report can be just a screenshot.
  • Merge automatically. A folder can land reviewed tasks on its own, exactly as pressing Merge would. Anything that fails stops and waits for you, and is never retried unattended.
  • Delete a worktree from the branch selector. "Delete worktree" keeps the branch; "Delete worktree and branch" removes both and moves its sessions to the repo folder. The main working tree, and any tree a task is running in, are never touched.
  • An "MCP support" switch for custom agents. Agents that reject codeg's MCP companion couldn't be connected to at all — turn the switch off and they can. A session refused over MCP now points you at it.

Improved

  • Long conversations open fast. A conversation loads its last 120 rounds and pages older history as you scroll up, without the view jumping. Server and remote-workspace responses are compressed too; exports still take the whole transcript.
  • A to-do whose worktree was deleted is no longer stuck. Reviewed cards offer Complete instead of Merge, every card badges the missing tree, and a retry rebuilds the checkout from its recorded branch instead of stranding committed work.
  • The settings pages read as one design. General was rebuilt on the shared card layout, single-option sections shrank to one line, and the five in-conversation agent tools became one "In-conversation tools" card with a single Save button. Custom agent forms follow the same cards.
  • Updated bundled agents. Grok 1.0.0, Hermes 0.20.0, OpenCode 1.18.15, Cline 3.0.52, CodeBuddy 2.133.1, Kimi Code 0.34.0. Hermes moves to npm since upstream's PyPI packages stopped at 0.19.0, and its managed install follows HTTP(S)_PROXY. Reconnecting to Grok now resumes the session instead of replaying it.
  • Grok's context ring reads the real window. Taken from the wire and Grok's own model catalog rather than guessed from the model name, updated as the turn streams, and re-keyed when you switch models.

Fixed

  • Cline 3.0.50 and newer work again. A single unrecognized config option was failing the whole session handshake, leaving the agent unusable (#426). It now appears as a toggle in the composer.
  • Enter to pick a CJK candidate no longer fires the button behind it. In WebKit, including the desktop app, that keypress could commit your working tree, create a branch or submit a dialog. About 25 inputs are covered.
  • The log file can't eat your disk. Each day's log is capped at 512 MB (CODEG_LOG_MAX_BYTES), the cut-off is reported in the Logs viewer instead of going quiet, and the protocol chatter behind the flood is quieter by default (#427).
  • OpenCode cards say what they did. No more empty diffs, missing file paths, zero line counts or blank failed calls, and delegated sub-agents nest under their parent instead of being listed separately — history and live turns both.
  • A session that fails to load keeps its transcript. The failure docks above the input with Reload / New session, instead of replacing the conversation with a full-page error.
  • A running task's tool calls no longer look finished. Delegated sub-agents wore a green check while still working, and a viewer opened part-way through a turn now picks up the delegation already running.

发布版本 0.24.0

这一版让 codeg 长成你喜欢的样子:改配色、调圆角,或者直接写自己的 CSS——顺便用声音提醒你,而不只是亮一个角标。长会话打开速度大幅提升,Grok 的子智能体不再是黑箱,待办卡片也能贴截图了。Cline 3.0.50 及以上版本恢复可用。

新增

  • 把主题改成你自己的。 新增「自定义样式」,叠加在原有 12 套预设之上:31 个颜色变量(正面 7 个,「高级」里还有 24 个),浅色深色分别设置,一个滑块调整全局圆角。主题以 shadcn 的 registry:theme JSON 经剪贴板导入导出,字段覆盖不到的地方还有一个需手动开启的 CSS 编辑器。万一 CSS 把界面写坏,⌘⌥⇧S 可一键停用,?safeStyle=1 能单独开一个干净窗口。
  • 提示音。 设置 → 通用,覆盖与消息渠道一致的五个事件——对话完成、权限请求、智能体提问、代理错误、发送消息——每个可单独选音效,另有音量和「仅在窗口未聚焦时播放」。默认关闭,按设备记忆。
  • 侧边栏新增「最近」分组。 所有会话按时间倒序,每页 15 条,分组标题带新建会话按钮。「文件夹 / 聊天 / 最近」三个分区的顺序现在可在视图选项菜单里调整。
  • Grok 子智能体看得见了。 每个 spawn_subagent 子任务都有自己的 Agent 卡片,运行时显示进度,返回报告按 markdown 渲染,点击可只读打开子会话。子会话不会再堆在会话列表里。
  • 每个待办输入框都是完整输入器。 新建、编辑、追加指令、重启备注四处统统支持「+」菜单、@ 引用、斜杠命令、技能与附件——一份 bug 报告可以就是一张截图。
  • 自动合并。 文件夹可以自行落地已验收的任务,效果与你点「合并」完全一致。任何一步失败都会停下等你,绝不无人值守重试。
  • 在分支选择器里删除工作树。 「删除工作树」保留分支;「删除工作树及分支」两者都删,其中的会话移到仓库文件夹下。主工作树、以及正在被任务占用的工作树不会被动。
  • 自定义智能体新增「MCP 支持」开关。 拒绝 codeg MCP 伴生进程的智能体此前完全连不上,关掉这个开关即可连接。带 MCP 被拒绝的会话现在也会提示你去关它。

改进

  • 长会话打开更快。 只加载最近 120 个回合,向上滚动再逐页取历史,且加载时视图不跳动。服务器与远程工作区的响应还做了压缩;导出仍取完整内容。
  • worktree 被删掉的待办任务不再卡死。 待验收卡片把「合并」换成「完成」,所有卡片都会标注检出目录已丢失,重试会依据记录的分支重建检出,而不是把已提交的工作晾在一边。
  • 设置页看起来像同一个产品。 「通用」页改用统一卡片布局,只配置一件事的区块压成一行,会话内的五个智能体工具合并为一张「会话内工具」卡片、共用一个保存按钮。自定义智能体表单也换成同一套卡片。
  • 内置智能体版本更新。 Grok 1.0.0、Hermes 0.20.0、OpenCode 1.18.15、Cline 3.0.52、CodeBuddy 2.133.1、Kimi Code 0.34.0。Hermes 随上游改用 npm 分发(其 PyPI 包停在 0.19.0),托管安装会遵循 HTTP(S)_PROXY。重连 Grok 会话改为恢复,不再重放历史。
  • Grok 的上下文环读取真实窗口。 改为取自协议报文与 Grok 自身的模型目录,不再靠模型名猜;数值随回合流式更新,换模型后会重新校准。

修复

  • Cline 3.0.50 及以上恢复可用。 一个无法识别的配置项导致整个会话握手失败,该智能体完全不可用(#426)。现在它会作为开关出现在输入框里。
  • 中日韩输入法按回车选词,不会再触发背后的按钮。 在 WebKit(含桌面应用)里,这一下回车可能提交工作区改动、创建分支或提交对话框。此次覆盖约 25 个输入框。
  • 日志不会再吃光磁盘。 每天日志上限 512 MB(CODEG_LOG_MAX_BYTES),触顶时会在日志查看器中明确告知而非悄无声息,造成刷屏的协议报文默认调低级别(#427)。
  • OpenCode 卡片说得清它做了什么。 空 diff、丢失文件路径、行数统计为零、失败调用空白等问题已修,被委托的子会话也会嵌套在父会话下而非单列——历史与实时会话均已修正。
  • 会话加载失败时保留已有记录。 失败提示与「重新加载 / 新建会话」收进输入框上方,不再用整页报错顶掉整个会话。
  • 运行中任务的工具调用不再显示为已完成。 仍在工作的委托子智能体此前挂着绿色对勾;回合中途才打开的查看器现在也能接上已发起的委托。

Don't miss a new codeg release

NewReleases is sending notifications on new releases.