← 返回更新日志

Pi v0.84.1

2026-08-07 · GitHub 原文
### 新功能 - **Qwen Token Plan Individual** — 使用内置提供商来支持文档中为 Individual 订阅提供的模型。请参阅 [API Keys](https://github.com/earendil-works/pi/blob/v0.84.1/packages/coding-agent/docs/providers.md#api-keys)。 - **认证就绪检查** — 使用 `pi auth check` 验证提供商或模型的凭据,可选择输出已解析的凭据。 - **改进的全屏交互** — 通过多次点击选择单词和段落,并配置半页转录滚动。请参阅 [TUI Fullscreen Viewport](https://github.com/earendil-works/pi/blob/v0.84.1/packages/coding-agent/docs/keybindings.md#tui-fullscreen-viewport)。 - **终止被阻止的工具调用** — 扩展 `tool_call` 处理器可以停止全部终止批次的处理,而无需再次调用模型。请参阅 [Tool Events](https://github.com/earendil-works/pi/blob/v0.84.1/packages/coding-agent/docs/extensions.md#tool-events)。 ### 新增 - 将 Qwen Token Plan Individual 添加为内置提供商,包含其文档记录的订阅模型目录以及共享的国际版 `QWEN_TOKEN_PLAN_API_KEY`。请参阅 [API Keys](https://github.com/earendil-works/pi/blob/v0.84.1/packages/coding-agent/docs/providers.md#api-keys) ([#7659](https://github.com/earendil-works/pi/pull/7659) by [@arasovic](https://github.com/arasovic))。 - 新增 `pi auth check` 提供商/模型认证预检功能,支持可选的凭据输出 ([#7152](https://github.com/earendil-works/pi/issues/7152))。 - 为被阻止的扩展 `tool_call` 事件新增 `terminate` 支持,使全部终止批次能够跳过自动的后续模型调用。请参阅 [Tool Events](https://github.com/earendil-works/pi/blob/v0.84.1/packages/coding-agent/docs/extensions.md#tool-events) ([#7715](https://github.com/earendil-works/pi/pull/7715) by [@muyiyr](https://github.com/muyiyr))。 - 在全屏模式下新增继承的双击单词与空白选择、感知粒度的拖拽选择,以及三击段落选择 ([#7725](https://github.com/earendil-works/pi/issues/7725), [#7733](https://github.com/earendil-works/pi/pull/7733) by [@volsa](https://github.com/volsa))。 - 为全屏模式新增继承的未绑定半页转录滚动操作。请参阅 [TUI Fullscreen Viewport](https://github.com/earendil-works/pi/blob/v0.84.1/packages/coding-agent/docs/keybindings.md#tui-fullscreen-viewport) ([#7735](https://github.com/earendil-works/pi/issues/7735))。 ### 更改 - 放宽了 bash 工具中关于 `PI_*` 环境变量的指导原则,旨在减少不必要的检查命令 ([#7128](https://github.com/earendil-works/pi/issues/7128))。 - 通过并发探测颜色方案与背景支持,将最坏情况下的自动终端主题检测延迟从 200 毫秒降低至 100 毫秒。 ### 修复 - 修复了当工作目录包含带 `preload` 配置的 `bunfig.toml` 时,Bun 独立二进制文件启动崩溃的问题,现已使用 `--no-compile-autoload-bunfig` 进行编译 ([#7685](https://github.com/earendil-works/pi/pull/7685) by [@geril07](https://github.com/geril07))。 - 修复了扩展 TUI 方法包装器在委托给原始方法时无限递归的问题 ([#7731](https://github.com/earendil-works/pi/issues/7731))。 - 修复了 Windows 系统下全屏模式中右键无法粘贴剪贴板文本的问题。 - 修复了继承的 `Agent.reset()` 在运行期间清除转录内容与运行时状态的问题;现在它会拒绝重置请求,直到代理处于空闲状态 ([#7717](https://github.com/earendil-works/pi/pull/7717) by [@wesleyzhangwq](https://github.com/wesleyzhangwq))。 - 修复了继承的 LaTeX 关系、乘法及命名运算符的间距问题,以及包含堆叠分数、运算符上下限和相邻矩阵的矩阵组合排版问题。 - 在 tmux、Zellij 和 GNU Screen 环境下,通过将全运动跟踪改为按钮运动跟踪,减少了全屏模式下的鼠标事件数量。