pi v0.84.1 版本更新介绍
发布日期: 2026-08-07
版本号: v0.84.1
本次更新新增了多个功能与改进。新增Qwen Token Plan Individual内置提供商,支持个人订阅模型目录。引入Pi Auth Check命令,用于验证提供商或模型凭证。优化了全屏交互,支持通过多次点击选择词段、段落,并可配置半页记录滚动。扩展工具调用处理程序现在支持终止阻塞的批次,无需模型再次调用。此外,还改进了Bash工具环境变量指南、加快了终端主题检测速度,并修复了包括Bun启动崩溃、TUI递归问题、Windows全屏右键粘贴失效在内的多个问题。同时优化了在终端复用器下的全屏鼠标事件处理。
更新内容 (中文)
新功能
- Qwen Token Plan Individual — 使用内置提供商获取为个人订阅记录的模型。参见 API 密钥。
- 身份验证就绪检查 — 使用
pi auth check验证提供商或模型凭证,可选择输出解析后的凭证。 - 改进的全屏交互 — 通过多次点击选择单词和段落,并配置半页记录滚动。参见 TUI 全屏视口。
- 终止被阻塞的工具调用 — 扩展的
tool_call处理程序可以在不进行另一次模型调用的情况下停止所有终止批处理。参见 工具事件。
新增内容
- 新增 Qwen Token Plan Individual 作为内置提供商,包含其文档中记录的订阅模型目录和共享的国际
QWEN_TOKEN_PLAN_API_KEY。参见 API 密钥 (#7659,由 @arasovic 贡献)。 - 新增
pi auth check提供商/模型身份验证预检查,支持可选凭证输出 (#7152)。 - 新增
terminate支持用于被阻塞的扩展tool_call事件,使所有终止批处理可以跳过自动的后续模型调用。参见 工具事件 (#7715,由 @muyiyr 贡献)。 - 新增继承的双击选择单词和空格、粒度感知拖拽选择,以及三击选择段落功能,适用于全屏模式 (#7725,#7733,由 @volsa 贡献)。
- 新增未绑定的半页记录滚动操作,适用于全屏模式。参见 TUI 全屏视口 (#7735)。
变更内容
- 放宽 bash 工具的
PI_*环境变量指南,以尝试减少不必要的检查命令 (#7128)。 - 通过并发探测配色方案和背景支持,将最坏情况下的自动终端主题检测延迟从 200 毫秒降低到 100 毫秒。
修复内容
- 修复了当当前工作目录包含带有
preload的bunfig.toml时,Bun 独立二进制文件在启动时崩溃的问题,通过使用--no-compile-autoload-bunfig编译解决 (#7685,由 @geril07 贡献)。 - 修复了扩展 TUI 方法包装器在委托给原始方法时无限递归的问题 (#7731)。
- 修复了在 Windows 上全屏模式下右键单击无法粘贴剪贴板文本的问题。
- 修复了继承的
Agent.reset()在活动运行期间清除记录和运行时状态的问题;现在会拒绝直到代理空闲 (#7717,由 @wesleyzhangwq 贡献)。 - 修复了继承的 LaTeX 关系、乘法和命名运算符间距,以及包含堆叠分数、运算符极限和相邻矩阵的矩阵组合问题。
- 通过使用按钮-移动跟踪代替全移动跟踪,减少了在 tmux、Zellij 和 GNU Screen 下继承的全屏鼠标事件量。
更新内容 (原始)
New Features
- Qwen Token Plan Individual — Use the built-in provider for models documented for Individual subscriptions. See API Keys.
- Authentication readiness checks — Use
pi auth checkto verify provider or model credentials, optionally emitting the resolved credential. - Improved fullscreen interaction — Select words and paragraphs with multiple clicks and configure half-page transcript scrolling. See TUI Fullscreen Viewport.
- Terminating blocked tool calls — Extension
tool_callhandlers can stop all-terminating batches without another model call. See Tool Events.
Added
- Added Qwen Token Plan Individual as a built-in provider with its documented subscription model catalog and the shared international
QWEN_TOKEN_PLAN_API_KEY. See API Keys (#7659 by @arasovic). - Added
pi auth checkprovider/model auth preflight with optional credential output (#7152). - Added
terminatesupport to blocked extensiontool_callevents so all-terminating batches can skip the automatic follow-up model call. See Tool Events (#7715 by @muyiyr). - Added inherited double-click word and whitespace selection, granularity-aware drag selection, and triple-click paragraph selection in fullscreen mode (#7725, #7733 by @volsa).
- Added inherited unbound half-page transcript scrolling actions for fullscreen mode. See TUI Fullscreen Viewport (#7735).
Changed
- Softened the bash tool’s
PI_*environment guideline in an attempt to reduce unnecessary inspection commands (#7128). - Reduced worst-case automatic terminal theme detection delay from 200 ms to 100 ms by probing color-scheme and background support concurrently.
Fixed
- Fixed Bun standalone binaries crashing on startup when the cwd contains a
bunfig.tomlwithpreloadby compiling with--no-compile-autoload-bunfig(#7685 by @geril07). - Fixed extension TUI method wrappers recursing indefinitely when delegating to the original method (#7731).
- Fixed right-click not pasting clipboard text in fullscreen mode on Windows.
- Fixed inherited
Agent.reset()clearing transcript and runtime state during active runs; it now rejects until the agent is idle (#7717 by @wesleyzhangwq). - Fixed inherited LaTeX relation, multiplication, and named-operator spacing, and matrix composition with stacked fractions, operator limits, and adjacent matrices.
- Reduced inherited fullscreen mouse event volume under tmux, Zellij, and GNU Screen by using button-motion tracking instead of all-motion tracking.