← 返回更新日志

Pi v0.78.0

2026-05-29 · GitHub 原文
### 新功能 - **命名启动会话** - 在交互式、打印、JSON 和 RPC 模式下,启动前使用 `--name` / `-n` 设置会话显示名称。详见 [命名会话](https://github.com/earendil-works/pi/blob/v0.78.0/packages/coding-agent/docs/sessions.md#naming-sessions) 和 [会话选项](https://github.com/earendil-works/pi/blob/v0.78.0/packages/coding-agent/docs/usage.md#session-options)。 - **可点击的文件工具路径** - 当终端(包括支持的 tmux 客户端)支持时,内置文件工具标题将渲染 OSC 8 `file://` 超链接。 ### 新增 - 为扩展作者导出 `convertToPng` ([#5167](https://github.com/earendil-works/pi/pull/5167) by [@xl0](https://github.com/xl0))。 - 为扩展作者导出 `parseArgs` 和类型 `Args` ([#5202](https://github.com/earendil-works/pi/pull/5202) by [@xl0](https://github.com/xl0))。 - 新增 `--name` / `-n` 用于在启动时设置会话显示名称 ([#5153](https://github.com/earendil-works/pi/issues/5153))。 - 退出交互式会话时新增恢复命令提示 ([#5176](https://github.com/earendil-works/pi/pull/5176) by [@yzhg1983](https://github.com/yzhg1983))。 - 在内置文件工具标题显示的文件路径中新增 OSC 8 `file://` 超链接 ([#5189](https://github.com/earendil-works/pi/pull/5189) by [@mpazik](https://github.com/mpazik))。 - 新增继承自 `@earendil-works/pi-ai` 的自定义 Amazon Bedrock 请求头支持 ([#5178](https://github.com/earendil-works/pi/pull/5178) by [@stephanmck](https://github.com/stephanmck))。 ### 修复 - 澄清了 WezTerm/WSL IME 硬件光标的文档,明确光标可见性仍为可选开启 ([#5200](https://github.com/earendil-works/pi/issues/5200))。 - 修复了 GitLab Duo 自定义提供程序示例,使其为 Claude 模型使用自适应思考,暴露 xhigh 思考,并包含更新的已验证模型 ID ([#5201](https://github.com/earendil-works/pi/issues/5201))。 - 修复了 Bun 发布归档的创建过程,确保安装并复制匹配的 `@mariozechner/clipboard` 基础包及原生 sidecar ([#5184](https://github.com/earendil-works/pi/issues/5184))。 - 修复了提示符循环开始前输入的早期交互式输入,使其被缓冲而非丢弃 ([#5195](https://github.com/earendil-works/pi/pull/5195) by [@yzhg1983](https://github.com/yzhg1983))。 - 修复了 OpenRouter Moonshot Kimi K2.6 请求,使其使用 `system` 而非不受支持的 `developer` 消息 ([#5159](https://github.com/earendil-works/pi/issues/5159))。 - 修复了 OpenCode Go Kimi K2.6 思考请求,使其发送 `thinking` 对象而非无效字符串值;并修复了 OpenCode Zen Grok Build 思考请求,移除了不受支持的 `reasoning_effort` ([#5169](https://github.com/earendil-works/pi/issues/5169))。 - 修复了 OpenAI Codex Responses SSE 流,使其在终端事件后中止响应体读取。 - 修复了 OpenCode Kimi K2.6 生成的元数据,使其使用 Anthropic 风格的思考元数据,而非无效的 reasoning-effort 参数。 - 修复了 OSC 8 超链接,使其在客户端支持时能正确穿透 tmux ([#5189](https://github.com/earendil-works/pi/pull/5189) by [@mpazik](https://github.com/mpazik))。 - 修复了 ANSI 文本换行逻辑,避免在超长换行时发生栈溢出 ([#5185](https://github.com/earendil-works/pi/issues/5185))。