← 返回更新日志

Pi v0.49.3

2026-01-22 · GitHub 原文
### 新增 - `markdown.codeBlockIndent` 设置项,用于自定义渲染输出中的代码块缩进 ([#855](https://github.com/badlogic/pi-mono/pull/855) by [@terrorobe](https://github.com/terrorobe)) - 新增 `inline-bash.ts` 示例扩展,用于在提示词中展开 `!{command}` 模式 ([#881](https://github.com/badlogic/pi-mono/pull/881) by [@scutifer](https://github.com/scutifer)) - 新增 `antigravity-image-gen.ts` 示例扩展,用于通过 Google Antigravity 进行 AI 图像生成 ([#893](https://github.com/badlogic/pi-mono/pull/893) by [@benvargas](https://github.com/benvargas)) - 新增 `PI_SHARE_VIEWER_URL` 环境变量,用于自定义分享查看器 URL ([#889](https://github.com/badlogic/pi-mono/pull/889) by [@andresaraujo](https://github.com/andresaraujo)) - 新增 Alt+Delete 快捷键,用于向前删除单词 ([#878](https://github.com/badlogic/pi-mono/pull/878) by [@Perlence](https://github.com/Perlence)) ### 更改 - 树形选择器:将标签过滤快捷键从 `l` 改为 `Shift+L`,以便用户可以搜索包含“l”的条目 ([#861](https://github.com/badlogic/pi-mono/pull/861) by [@mitsuhiko](https://github.com/mitsuhiko)) - 模糊匹配现在会对连续匹配项给予更高评分,以提升搜索相关性 ([#860](https://github.com/badlogic/pi-mono/pull/860) by [@mitsuhiko](https://github.com/mitsuhiko)) ### 修复 - 修复了错误消息显示硬编码的 `~/.pi/agent/` 路径,而非遵循 `PI_CODING_AGENT_DIR` 设置的问题 ([#887](https://github.com/badlogic/pi-mono/pull/887) by [@aliou](https://github.com/aliou)) - 修复了 `write` 工具在执行失败时未能在 UI 中显示错误的问题 ([#856](https://github.com/badlogic/pi-mono/issues/856)) - 修复了 HTML 导出使用默认主题而非用户当前激活主题的问题 ([#870](https://github.com/badlogic/pi-mono/pull/870) by [@scutifer](https://github.com/scutifer)) - 在页脚以及终端/标签页标题中显示会话名称 ([#876](https://github.com/badlogic/pi-mono/pull/876) by [@scutifer](https://github.com/scutifer)) - 修复了 Terminal.app 中 256 色回退机制,以防止颜色渲染问题 ([#869](https://github.com/badlogic/pi-mono/pull/869) by [@Perlence](https://github.com/Perlence)) - 修复了覆盖层和内容收缩场景下的视口跟踪与光标定位问题 - 修复了自动补全功能,允许使用 `/` 字符进行搜索(例如 `folder1/folder2`) ([#882](https://github.com/badlogic/pi-mono/pull/882) by [@richardgill](https://github.com/richardgill)) - 修复了自动链接的电子邮件显示冗余 `(mailto:...)` 后缀的问题 ([#888](https://github.com/badlogic/pi-mono/pull/888) by [@terrorobe](https://github.com/terrorobe)) - 修复了 `@` 文件自动补全在目录后添加空格,导致无法继续自动补全到子目录的问题