### 新功能
- 新增通过 `--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))
### New Features
- Added offline startup mode via `--offline` (or `PI_OFFLINE`) to disable startup network operations, with startup network timeouts to avoid hangs in restricted or offline environments.
- Added `gemini-3.1-pro-preview` model support to the `google-gemini-cli` provider ([#1599](https://github.com/badlogic/pi-mono/pull/1599) by [@audichuang](https://github.com/audichuang)).
### Fixed
- Fixed offline startup hangs by adding offline startup behavior and network timeouts during managed tool setup ([#1631](https://github.com/badlogic/pi-mono/pull/1631) by [@mcollina](https://github.com/mcollina))
- Fixed Windows VT input initialization in ESM by loading koffi via createRequire, avoiding runtime and bundling issues in end-user environments ([#1627](https://github.com/badlogic/pi-mono/pull/1627) by [@kaste](https://github.com/kaste))
- Fixed managed `fd`/`rg` bootstrap on Windows in Git Bash by using `extract-zip` for `.zip` archives, searching extracted layouts more robustly, and isolating extraction temp directories to avoid concurrent download races ([#1348](https://github.com/badlogic/pi-mono/issues/1348))
- Fixed extension loading on Windows when resolving `@sinclair/typebox` aliases so subpath imports like `@sinclair/typebox/compiler` resolve correctly.
- Fixed adaptive thinking for Claude Sonnet 4.6 in Anthropic and Bedrock providers, and clamped unsupported `xhigh` effort values to supported levels ([#1548](https://github.com/badlogic/pi-mono/pull/1548) by [@tctev](https://github.com/tctev))
- Fixed Vertex ADC credential detection race by avoiding caching a false negative during async import initialization ([#1550](https://github.com/badlogic/pi-mono/pull/1550) by [@jeremiahgaylord-web](https://github.com/jeremiahgaylord-web))
- Fixed subagent extension example to resolve user agents from the configured agent directory instead of hardcoded paths ([#1559](https://github.com/badlogic/pi-mono/pull/1559) by [@tianshuwang](https://github.com/tianshuwang))