← 返回更新日志

Pi v0.79.2

2026-06-12 · GitHub 原文
### 新功能 - **更清晰的 Bedrock 验证指南** - Amazon Bedrock 数据保留验证错误现在会链接到 AWS 数据保留文档。请参阅 [Amazon Bedrock](https://github.com/earendil-works/pi/blob/v0.79.2/packages/coding-agent/docs/providers.md#amazon-bedrock)。 ### 新增 - 在 `PI_EXPERIMENTAL=1` 环境变量背后添加了实验性的首次设置流程,首次启动默认代理目录时会询问深色/浅色主题选择(预选择检测到的外观)以及是否同意共享分析数据;选择同意会将 `trackingId` 存储在 `settings.json` 中 ([#5587](https://github.com/earendil-works/pi/pull/5587) by [@vegarsti](https://github.com/vegarsti))。 - 在继承的 Amazon Bedrock 不支持的数据保留模式验证错误中添加了 AWS 数据保留文档链接 ([#5561](https://github.com/earendil-works/pi/pull/5561) by [@unexge](https://github.com/unexge))。 ### 修复 - 修复了项目信任检测,使其在从 `$HOME` 运行时忽略全局 `~/.pi/agent` 状态,并使 `pi update` 仅使用已保存或显式的项目信任而无需提示 ([#5619](https://github.com/earendil-works/pi/issues/5619))。 - 修复了实验性首次设置流程,使其跳过派生会话而不是重新运行设置提示 ([#5627](https://github.com/earendil-works/pi/pull/5627) by [@vegarsti](https://github.com/vegarsti))。 - 修复了继承的 OpenAI 兼容上下文溢出检测,以处理带括号的 `maximum context length (N)` 错误 ([#5677](https://github.com/earendil-works/pi/issues/5677))。 - 修复了继承的 OpenAI GPT-5.4/GPT-5.5 和 OpenAI Codex GPT-5.4/GPT-5.4 mini/GPT-5.5 上下文窗口元数据,以匹配当前 OpenAI 的限制 ([#5644](https://github.com/earendil-works/pi/issues/5644))。 - 修复了继承的 Anthropic 拒绝停止机制,以在错误消息中保留提供者的 `stop_details` 解释 ([#5666](https://github.com/earendil-works/pi/pull/5666) by [@rwachtler](https://github.com/rwachtler))。 - 将继承的 OpenAI Codex Responses SSE 响应头超时时间增加至 20 秒,以减少误报的停滞,同时保留为零事件挂起引入的有界等待 ([#4945](https://github.com/earendil-works/pi/issues/4945))。 - 修复了继承的 Claude Fable 5 关闭思考请求,以省略 Anthropic 不支持的 `thinking.type: "disabled"` 负载 ([#5567](https://github.com/earendil-works/pi/pull/5567) by [@tmustier](https://github.com/tmustier))。 - 修复了继承的工具处理完成后过期的工具进度回调,使其被忽略而不是发出过时的 `tool_execution_update` 事件 ([#5573](https://github.com/earendil-works/pi/issues/5573))。 - 修复了继承的用户消息转录渲染,使独立的 `+` 消息不再渲染为 `-` ([#5657](https://github.com/earendil-works/pi/issues/5657))。 - 修复了继承的斜杠分隔模糊查询,使插入后提供程序/模型补全仍可匹配。 - 修复了继承的 WezTerm 内联 Kitty 图像渲染,使保留行清除不会擦除工具图像预览的除顶部条带外的所有内容 ([#5618](https://github.com/earendil-works/pi/issues/5618))。 - 修复了继承的 CJK 文本编辑器换行,使其在字符边界处换行,而不是留下较大的尾部空白 ([#5585](https://github.com/earendil-works/pi/pull/5585) by [@haoqixu](https://github.com/haoqixu))。 - 修复了继承的宽松 Markdown 列表渲染,以保留列表项之间的空行分隔 ([#5562](https://github.com/earendil-works/pi/pull/5562) by [@Perlence](https://github.com/Perlence))。 - 修复了 `--model` 解析,针对斜杠前缀匹配未认证内置提供程序的认证自定义模型 ID ([#5643](https://github.com/earendil-works/pi/issues/5643))。 - 修复了 `/fork` 命令,当派生路径包含标签时保持会话父级链连接 ([#5669](https://github.com/earendil-works/pi/issues/5669))。 - 修复了 `/share` 和 `/export` 的 HTML 导出,当配置的自定义主题不再存在时使用活动的备用主题 ([#5596](https://github.com/earendil-works/pi/issues/5596))。 - 修复了带有 `:<thinking>` 后缀的自定义备用模型 ID,当提供程序模板模型未声明推理功能时保留请求的思考级别 ([#5560](https://github.com/earendil-works/pi/pull/5560) by [@haoqixu](https://github.com/haoqixu))。