github spacering-net/codeg v0.39.0
codeg v0.39.0

4 hours ago

Release version 0.39.0

This one lets an agent write your commit messages, lets a command run on your own computer even from a remote folder, and lets codeg-server sign people in through a proxy such as Cloudflare Access instead of its access token.
Alongside that: Recent in the sidebar lists what you used last, on Windows an update waits for Restart to update and no longer stops at "Failed to kill codeg", the Linux AppImage no longer hands its own libraries to agents and the terminal, and a phone that comes back to the page gets the rest of the reply.

New

  • An agent can write your commit message: the ✨ button by the commit box, in the Changes tab and the commit window, has the agent of the conversation you're in write one from exactly what will be committed, taking anything you've typed as a hint, and adds no conversation to your list. (#931 requested by @trueai-org, #928 by @Time-w)
  • With untracked files around, the ✨ button first asks which of them the message covers, and Enter then commits exactly those, with a line under the commit box saying how many it will take.
  • Commit message settings… in the More Git actions menu chooses who writes the message and how: a fixed agent, model and options, instructions it always follows such as the language or format, and committing as soon as it's written, for all folders or just one project.
  • Manage commands has a Run on this computer switch, so a command such as opening the remote folder in your local VS Code or Zed over SSH runs on the computer with the desktop app, and Show in all folders keeps it at hand across folders, worktrees and remote connections. (#974, @fengpanhe)
  • codeg-server can sign people in through a proxy such as Cloudflare Access: with CODEG_AUTH=proxy-jwt, a browser the proxy has let in no longer asks for the access token, which codeg-cli and scripts that bypass the proxy keep using, as the proxy sign-in guide explains. (#985, @MagTer)
  • Grok's custom model card can declare the model's reasoning-effort levels, so the composer offers a reasoning-effort selector for a custom model too. (#993 requested by @HOMEFTW)

Improved

  • Recent in the sidebar lists the conversations you used last instead of the ones created last, ten at a time, with each row showing when it was last active, and Chat rows show their last activity too. (#1010, @Flyneen)
  • On Windows, a downloaded update waits for you to click Restart to update, as on macOS and Linux, instead of closing codeg the moment the download finishes, and an install that fails says so and can be tried again.
  • The commit box in the Changes tab grows with the message, with Shift+Enter for a new line while Enter still commits.
  • Clicking a delegation card unfolds the full task the sub-agent was given, and a resumed sub-agent's card shows there why it was resumed.
  • The sidebar can be dragged narrower on Windows, Linux and in the browser, since only the macOS app needs room for its window buttons.
  • Pi's model selector lists only the models your enabledModels setting allows. (#989, @xyalter)
  • ZCode takes pasted and uploaded images and PDFs, and keeps each reply's token usage and time after you reopen a conversation. (#1003, #1005, @jackie-cqz)
  • Claude Code moves to claude-agent-acp 0.94.0, and along with newer CodeBuddy, Cursor, Kimi Code, Qoder, ZCode and Command Code, a Claude Code fork sub-agent's card now shows its real report instead of "Fork started".

Fixed

  • Updating codeg on Windows no longer stops at "Failed to kill codeg" while Windows or an antivirus is checking codeg.exe.
  • In the Linux AppImage, the agents, terminals and other programs codeg starts get your system's own environment instead of the AppImage's, so on Ubuntu 26.04 installing and starting agents, npm and terminal commands no longer fail with "LIBSYSTEMD_254 not found". (#983 reported by @yanvigdev)
  • A phone that puts the page in the background mid-reply gets the rest of the reply when it comes back, without reloading the page. (#386 reported by @wuzhaozhongguo)
  • Behind a sign-in proxy such as Cloudflare Access, a page whose proxy sign-in has expired shows Sign-in expired with a Reload button, instead of trying to reconnect forever. (#984, @MagTer)
  • A message sent on the canvas while the agent is still answering stays in the input with a notice, instead of disappearing. (#991 reported by @SeeSeaStar)
  • A sub-agent waiting on you shows its permission, question or plan prompt in one card only, instead of one more card each time the agent checks on it.
  • A new conversation no longer shows Load background activity right after its first message.
  • An agent removed outside codeg, or lost with a switch to another Node version, no longer reads as installed in Settings. (#990 reported by @BillyOutlast)
  • Grok installed with its own installer is found in ~/.grok/bin, also on Windows. (#994 reported by @HOMEFTW)
  • The Codex settings no longer write options current Codex ignores, and the WebSocket switch is gone for Official Subscription, where it broke every turn, while Fast stays in the composer.
  • The forge panel's open repository button works for a self-hosted GitLab or similar served over http, on its own port or under a subpath. (#997 reported by @run19910607)
  • A pull-request task whose pull request was force-pushed reports only its own changes, on its card and in its done comment, instead of everything the base gained meanwhile.
  • A project's .pi/mcp.json now asks for project trust before Pi starts the servers it lists.

Note

  • Once 0.39.0 has run, 0.38.0 no longer starts on the same data, because this version adds to codeg's database: codeg-server's Roll back would restore a 0.38.0 that won't start, and so would reinstalling an older desktop app, so copy codeg's data folder before you update if you may want to go back.
  • On Windows, the update from 0.38.0 still closes codeg to install as soon as the download finishes, because the version you update from decides that, and later updates wait for Restart to update.
  • Run on this computer is only in the desktop app, and a remote folder's host has to be on 0.39.0 to save the switch on a folder's command: until then, turn on Show in all folders to keep the command on your computer.

Thanks to @MagTer, @fengpanhe, @Flyneen, @jackie-cqz and @xyalter for contributing to this release, and to @yanvigdev, @trueai-org, @Time-w, @wuzhaozhongguo, @SeeSeaStar, @BillyOutlast, @HOMEFTW and @run19910607 for the reports.


发布版本 0.39.0

这一版可以让智能体帮你写提交信息,远程文件夹里的命令也可以放到你自己的电脑上运行,codeg-server 还可以改用 Cloudflare Access 这类登录代理来登录,不必再输访问令牌。
同期还有:侧栏「最近」按最近使用排序;Windows 上的更新会等你点「重启以更新」再安装,也不会再卡在「Failed to kill codeg」;Linux AppImage 不再把自带的库带给智能体和终端;手机切回页面后能看到完整的回复。

新增

  • 智能体可以帮你写提交信息了——「变更」标签页和提交窗口的提交框旁新增 ✨ 按钮,会让当前会话的智能体按这次实际要提交的内容写一条提交信息,已经输入的文字会作为提示,也不会在会话列表里多出会话。(#931 由 @trueai-org、#928 由 @Time-w 提出)
  • 有未跟踪的文件时,✨ 按钮会先问你这条提交信息包括其中哪些,回车就只提交这些文件,提交框下方也会显示将带上几个未跟踪文件。
  • 「更多 Git 操作」菜单里的「提交信息生成设置…」决定由谁、怎么写——可以指定智能体、模型和选项,加上每次都遵循的附加说明(比如用什么语言、什么格式),还能在写好后自动提交;可以对所有文件夹统一设置,也可以给某个项目单独设置。
  • 「管理命令」新增「在本机运行」开关——比如用本机的 VS Code 或 Zed 通过 SSH 打开当前远程文件夹,这类命令会在运行桌面版的电脑上执行;打开「在所有文件夹中显示」后,切换文件夹、工作树或远程连接都能用到它。(#974,@fengpanhe)
  • codeg-server 可以通过 Cloudflare Access 这类登录代理来登录——设置 CODEG_AUTH=proxy-jwt 后,已经通过代理登录的浏览器不用再输访问令牌,不经过代理的 codeg-cli 和脚本照常使用令牌,具体见代理登录说明。(#985,@MagTer)
  • Grok 设置里的自定义模型可以声明支持的推理强度,输入框里也就有了这个模型的推理强度选择。(#993 由 @HOMEFTW 提出)

改进

  • 侧栏「最近」按最近使用而不是创建时间排序,每次显示 10 个,每行显示的是最近活动时间;「对话」分组的每行也改为显示最近活动时间。(#1010,@Flyneen)
  • 在 Windows 上,更新下载完后会等你点「重启以更新」再安装,和 macOS、Linux 一样,不会再一下载完就关掉 codeg;安装失败会提示,可以重试。
  • 「变更」标签页的提交框会随内容变高,Shift+Enter 换行,回车仍然直接提交。
  • 点开委派卡片能看到子智能体收到的完整任务,恢复执行的子智能体也会在这里显示恢复的原因。
  • 在 Windows、Linux 和浏览器里,侧栏可以拖得更窄,只有 macOS 版需要给窗口按钮留出位置。
  • Pi 的模型选择器只列出 enabledModels 设置允许的模型。(#989,@xyalter)
  • ZCode 支持粘贴和上传的图片、PDF,重新打开会话后每条回复的用量和耗时也还在。(#1003、#1005,@jackie-cqz)
  • Claude Code 升级到 claude-agent-acp 0.94.0,CodeBuddy、Cursor、Kimi Code、Qoder、ZCode 和 Command Code 也一并更新;Claude Code 的 fork 子智能体卡片现在显示它真正的结果,而不是「Fork started」。

修复

  • 在 Windows 上更新 codeg 不会再停在「Failed to kill codeg」,即使这时 Windows 或杀毒软件正在检查 codeg.exe。
  • Linux AppImage 版里,codeg 启动的智能体、终端和其他程序改用系统自己的环境,不再沿用 AppImage 的,在 Ubuntu 26.04 上安装和启动智能体、运行 npm 和终端命令不会再报「LIBSYSTEMD_254 not found」。(#983 由 @yanvigdev 反馈)
  • 手机在回复途中把页面切到后台,切回来后能看到完整的回复,不用再刷新页面。(#386 由 @wuzhaozhongguo 反馈)
  • 在 Cloudflare Access 这类登录代理后面,代理登录过期时页面会显示「登录已过期」和「刷新」按钮,不会再一直尝试重新连接。(#984,@MagTer)
  • 在无限画布里给正在回答的对话发消息,消息会留在输入框里并给出提示,不会再消失。(#991 由 @SeeSeaStar 反馈)
  • 子智能体等你处理时,权限请求、提问或计划审批只显示在一张卡片里,不会再每查询一次状态就多出一张。
  • 新会话发出第一条消息后不会再马上出现「加载后台活动」提示。
  • 在 codeg 之外卸载的智能体,或者切换 Node 版本后找不到的智能体,设置里不会再显示为已安装。(#990 由 @BillyOutlast 反馈)
  • 用 Grok 官方安装程序装在 ~/.grok/bin 的 Grok 能被识别了,Windows 上也一样。(#994 由 @HOMEFTW 反馈)
  • Codex 设置不会再写入新版 Codex 已不认的配置,官方订阅下也不再显示会让每轮对话都失败的 WebSocket 开关;快速模式仍在输入框里切换。
  • 代码托管面板的「打开仓库」按钮支持走 http、用自定义端口或子路径的自建 GitLab 等服务。(#997 由 @run19910607 反馈)
  • 处理拉取请求的看板任务在对方强推后,只统计自己的改动,卡片和完成评论里不会再算上基础分支期间新增的全部内容。
  • 项目里的 .pi/mcp.json 现在要先信任项目,Pi 才会启动其中列出的服务。

注意

  • 0.39.0 运行过之后,0.38.0 就无法在同一份数据上启动了,因为这一版给 codeg 的数据库加了内容:codeg-server 的「回滚」恢复出来的 0.38.0 起不来,重新安装旧版桌面版也一样;之后可能还要退回 0.38.0 的话,更新前请先复制一份 codeg 的数据目录。
  • 在 Windows 上,从 0.38.0 更新的这一次仍会在下载完后直接关闭 codeg 安装,因为安装时机由更新前的版本决定,之后的更新会等你点「重启以更新」。
  • 「在本机运行」只在桌面版里可用,远程文件夹的主机也要更新到 0.39.0 才能为文件夹命令保存这个开关;在此之前,打开「在所有文件夹中显示」就能把命令保存在你自己的电脑上。

感谢 @MagTer、@fengpanhe、@Flyneen、@jackie-cqz 和 @xyalter 为本次发布做出的贡献,也感谢 @yanvigdev、@trueai-org、@Time-w、@wuzhaozhongguo、@SeeSeaStar、@BillyOutlast、@HOMEFTW 和 @run19910607 的反馈。

Don't miss a new codeg release

NewReleases is sending notifications on new releases.