← 返回更新日志

Pi v0.55.1

2026-02-26 · GitHub 原文
### 新功能 - 新增通过 `--offline`(或 `PI_OFFLINE`)启用的离线启动模式,以禁用启动时的网络操作,并设置网络超时,避免在受限或离线环境中卡死。 - 为 `google-gemini-cli` 提供商新增 `gemini-3.1-pro-preview` 模型支持([#1599](https://github.com/badlogic/pi-mono/pull/1599) by [@audichuang](https://github.com/audichuang))。 ### 修复 - 在托管工具设置期间新增离线启动行为和网络超时,修复了离线启动卡死的问题([#1631](https://github.com/badlogic/pi-mono/pull/1631) by [@mcollina](https://github.com/mcollina)) - 通过 `createRequire` 加载 koffi,修复了 ESM 中 Windows VT 输入初始化的问题,避免了终端用户环境中的运行时和打包问题([#1627](https://github.com/badlogic/pi-mono/pull/1627) by [@kaste](https://github.com/kaste)) - 在 Windows 的 Git Bash 中,通过为 `.zip` 归档使用 `extract-zip`、更稳健地搜索提取后的布局以及隔离提取临时目录,修复了托管 `fd`/`rg` 的引导问题,从而避免并发下载竞争([#1348](https://github.com/badlogic/pi-mono/issues/1348)) - 修复了 Windows 上解析 `@sinclair/typebox` 别名时的扩展加载问题,使 `@sinclair/typebox/compiler` 等子路径导入能够正确解析。 - 修复了 Anthropic 和 Bedrock 提供商中 Claude Sonnet 4.6 的自适应思考功能,并将不支持的 `xhigh` 努力值限制在支持的级别内([#1548](https://github.com/badlogic/pi-mono/pull/1548) by [@tctev](https://github.com/tctev)) - 通过避免在异步导入初始化期间缓存假阴性结果,修复了 Vertex ADC 凭据检测的竞态条件([#1550](https://github.com/badlogic/pi-mono/pull/1550) by [@jeremiahgaylord-web](https://github.com/jeremiahgaylord-web)) - 修复了子代理扩展示例,使其从配置的代理目录而非硬编码路径解析用户代理([#1559](https://github.com/badlogic/pi-mono/pull/1559) by [@tianshuwang](https://github.com/tianshuwang))