← 返回更新日志

Pi v0.46.0

2026-01-15 · GitHub 原文
### 修复 - 作用域模型(`--models` 或 `enabledModels`)现在会在跨会话时记住上次选择的模型,而不是始终从作用域中的第一个模型开始 ([#736](https://github.com/badlogic/pi-mono/pull/736) by [@ogulcancelik](https://github.com/ogulcancelik)) - 在 Bun 环境下运行时,更新通知将显示 `bun install` 而非 `npm install` ([#714](https://github.com/badlogic/pi-mono/pull/714) by [@dannote](https://github.com/dannote)) - `/skill` 提示词现在包含技能路径 ([#711](https://github.com/badlogic/pi-mono/pull/711) by [@jblwilliams](https://github.com/jblwilliams)) - 使用可配置的 `expandTools` 快捷键替代硬编码的 Ctrl+O ([#717](https://github.com/badlogic/pi-mono/pull/717) by [@dannote](https://github.com/dannote)) - 压缩轮次的前缀摘要现在能正确合并 ([#738](https://github.com/badlogic/pi-mono/pull/738) by [@vsabavat](https://github.com/vsabavat)) - 避免未签名的 Gemini 3 工具调用 ([#741](https://github.com/badlogic/pi-mono/pull/741) by [@roshanasingh4](https://github.com/roshanasingh4)) - 修复了 Amazon Bedrock 提供商中非 Anthropic 模型的签名支持 ([#727](https://github.com/badlogic/pi-mono/pull/727) by [@unexge](https://github.com/unexge)) - 在支持 Kitty 键盘协议及备用键报告的终端中,键盘快捷键(Ctrl+C、Ctrl+D 等)现在支持非拉丁键盘布局(俄语、乌克兰语、保加利亚语等) ([#718](https://github.com/badlogic/pi-mono/pull/718) by [@dannote](https://github.com/dannote)) ### 新增 - 编辑工具现在在精确匹配失败时回退使用模糊匹配,可容忍尾部空格、智能引号、Unicode 破折号及特殊空格 ([#713](https://github.com/badlogic/pi-mono/pull/713) by [@dannote](https://github.com/dannote)) - 支持 `APPEND_SYSTEM.md` 用于向系统提示词追加指令 ([#716](https://github.com/badlogic/pi-mono/pull/716) by [@tallshort](https://github.com/tallshort)) - 会话选择器搜索:Ctrl+R 可在模糊匹配(默认)与最新排序之间切换;支持引号短语匹配和 `re:` 正则表达式模式 ([#731](https://github.com/badlogic/pi-mono/pull/731) by [@ogulcancelik](https://github.com/ogulcancelik)) - 导出 `getAgentDir` 以供扩展使用 ([#749](https://github.com/badlogic/pi-mono/pull/749) by [@dannote](https://github.com/dannote)) - 启动时显示已加载的提示词模板 ([#743](https://github.com/badlogic/pi-mono/pull/743) by [@tallshort](https://github.com/tallshort)) - 支持 MiniMax 中国(`minimax-cn`)提供商 ([#725](https://github.com/badlogic/pi-mono/pull/725) by [@tallshort](https://github.com/tallshort)) - 为 GitHub Copilot 和 OpenCode Zen 提供商添加 `gpt-5.2-codex` 模型支持 ([#734](https://github.com/badlogic/pi-mono/pull/734) by [@aadishv](https://github.com/aadishv)) ### 更改 - 图像处理库由 `wasm-vips` 替换为 `@silvia-odwyer/photon-node` ([#710](https://github.com/badlogic/pi-mono/pull/710) by [@can1357](https://github.com/can1357)) - 扩展示例:`plan-mode/` 快捷键由 Shift+P 更改为 Ctrl+Alt+P,以避免与输入大写 P 冲突 ([#746](https://github.com/badlogic/pi-mono/pull/746) by [@ferologics](https://github.com/ferologics)) - UI 快捷键提示现在在所有组件中均遵循已配置的快捷键 ([#724](https://github.com/badlogic/pi-mono/pull/724) by [@dannote](https://github.com/dannote)) - CLI 进程标题现在设置为 `pi`,以便于进程识别 ([#742](https://github.com/badlogic/pi-mono/pull/742) by [@richardgill](https://github.com/richardgill))