← 返回更新日志

Pi v0.21.0

2025-12-13 · GitHub 原文
### 新增 - **内联图像渲染**:支持 Kitty 图形协议(Kitty、Ghostty、WezTerm)或 iTerm2 内联图像的终端,现在可以在工具输出中内联渲染图像。启动时通过查询终端单元格尺寸来保持图像的宽高比。可通过 `/show-images` 命令或 `terminal.showImages` 设置进行切换。在不支持的终端或禁用时,将回退显示为文本占位符。 ([#177](https://github.com/badlogic/pi-mono/pull/177) by [@nicobailon](https://github.com/nicobailon)) - **Gemini 3 Pro 思考级别**:思考级别选择器现已支持 Gemini 3 Pro 模型。Minimal/low 映射为 Google 的 LOW,medium/high 映射为 Google 的 HIGH。 ([#176](https://github.com/badlogic/pi-mono/pull/176) by [@markusylisiurunen](https://github.com/markusylisiurunen)) ### 修复 - 修复了由于时间戳中包含 Unicode 窄不换行空格(U+202F)导致 read 工具在 macOS 上无法处理截图文件名的故障。添加了回退机制以尝试 macOS 变体路径,并将重复的 expandPath 函数整合到共享的 path-utils.ts 中。 ([#181](https://github.com/badlogic/pi-mono/pull/181) by [@nicobailon](https://github.com/nicobailon)) - 修复了 Markdown 代码块后出现双空行渲染的问题 ([#173](https://github.com/badlogic/pi-mono/pull/173) by [@markusylisiurunen](https://github.com/markusylisiurunen))