← 返回更新日志

Pi v0.67.2

2026-04-14 · GitHub 原文
### 新功能 - 支持多个 `--append-system-prompt` 参数,每个值通过双换行符追加到系统提示词中。详见 [README.md#other-options](README.md#other-options)。 - 支持向 `main()` 传递内联扩展工厂,用于嵌入式集成和自定义入口点。 - 支持 Kitty 终端的 `super` 修饰快捷键(如 `super+k`、`super+enter` 和 `ctrl+super+k`)的交互式键位绑定。详见 [docs/keybindings.md](docs/keybindings.md)。 ### 新增 - 支持多个 `--append-system-prompt` 参数,每个值通过双换行符追加到系统提示词中 ([#3171](https://github.com/badlogic/pi-mono/pull/3171) by [@aliou](https://github.com/aliou)) - 支持 Kitty 终端的 `super` 修饰快捷键(如 `super+k`、`super+enter` 和 `ctrl+super+k`)的交互式键位绑定 ([#3111](https://github.com/badlogic/pi-mono/pull/3111) by [@sudosubin](https://github.com/sudosubin)) - 支持向 `main()` 传递内联扩展工厂,用于嵌入式集成和自定义入口点 ([#3099](https://github.com/badlogic/pi-mono/pull/3099) by [@pmateusz](https://github.com/pmateusz)) ### 修复 - 修复了直接针对 OpenAI Responses 和 Codex 的 SSE 请求,使 `prompt_cache_key`、`session_id` 和 `x-client-request-id` 的值与同一会话派生的标识符对齐,从而提升仅追加模式会话的提示词缓存亲和性 ([#3018](https://github.com/badlogic/pi-mono/pull/3018) by [@steipete](https://github.com/steipete)) - 修复了仅流式传输的 `partialJson` 临时缓冲区泄漏到已持久化的 OpenAI Responses 工具调用中的问题,该问题可能导致恢复对话时后续负载损坏。 - 修复了 tmux 中 Ctrl+Alt 字母键的匹配问题:当旧版 ESC 前缀处理不匹配时,回退到 CSI-u 和 xterm `modifyOtherKeys` 解析 ([#2989](https://github.com/badlogic/pi-mono/pull/2989) by [@kaofelix](https://github.com/kaofelix)) - 修复了内置的 `subagent` 示例,避免将 Bun 虚拟文件系统脚本路径泄漏到子代理提示词中 ([#3002](https://github.com/badlogic/pi-mono/pull/3002) by [@nathyong](https://github.com/nathyong)) - 修复了边框加载器在销毁时停止动画计时器的问题,防止在清理后出现过期的加载器更新。