发布日期: 2026-06-12
版本号: v0.79.2

该版本主要更新包括:优化了亚马逊云科技数据保留验证的错误提示并链接到官方文档;新增了实验性的首次启动设置流程,可选择主题和数据共享选项;修复了项目信任检测、上下文溢出检测、多种模型上下文窗口元数据、错误消息保留、工具回调、用户消息渲染、模糊查询匹配、WezTerm图像渲染、CJK文本换行、Markdown列表渲染、模型ID解析、会话分叉链接、主题导出以及自定义模型思考级别等多项功能和界面问题。

更新内容 (中文)

新功能

  • 更清晰的基岩验证指南 - 亚马逊基岩数据保留验证错误现链接至 AWS 数据保留文档。详见亚马逊基岩

新增内容

  • 新增实验性首次设置流程(通过 PI_EXPERIMENTAL=1 启用),首次启动时会询问用户偏好深色/浅色主题(默认预选系统外观),并询问是否加入分析数据共享计划;加入后将在默认代理目录的 settings.json 中存储 trackingId#5587,由 @vegarsti 贡献)。
  • 为继承的亚马逊基岩不支持的数据保留模式验证错误添加 AWS 数据保留文档链接(#5561,由 @unexge 贡献)。

修复内容

  • 修复项目信任检测机制,使其在从 $HOME 运行时忽略全局 ~/.pi/agent 状态;同时令 pi update 仅使用已保存或明确指定的项目信任信息,不再进行提示(#5619)。
  • 修复实验性首次设置流程,使其在分叉会话中跳过设置提示而非重复执行(#5627,由 @vegarsti 贡献)。
  • 修复继承的 OpenAI 兼容上下文溢出检测,现可正确处理带括号的 maximum context length (N) 错误信息(#5677)。
  • 修复继承的 OpenAI GPT-5.4/GPT-5.5 及 OpenAI Codex GPT-5.4/GPT-5.4 mini/GPT-5.5 上下文窗口元数据,使其符合当前 OpenAI 限制(#5644)。
  • 修复继承的 Anthropic 拒绝停止响应,现可在错误消息中保留提供商的 stop_details 说明(#5666,由 @rwachtler 贡献)。
  • 将继承的 OpenAI Codex Responses SSE 响应头超时时间延长至 20 秒,以减少零事件挂起情况下的误报停滞(同时保留为处理此类挂起而设的有限等待机制)(#4945)。
  • 修复继承的 Claude Fable 5 思考关闭请求,现会省略 Anthropic 不支持的 thinking.type: "disabled" 负载(#5567,由 @tmustier 贡献)。
  • 修复继承的工具结算后延迟工具进度回调,现会忽略此类回调而非发送过期的 tool_execution_update 事件(#5573)。
  • 修复继承的用户消息记录渲染,独立 + 消息不再错误渲染为 -#5657)。
  • 修复继承的斜杠分隔模糊查询,确保插入后提供商/模型补全仍可匹配。
  • 修复继承的 WezTerm 内联 Kitty 图像渲染,现保留行清除操作不会擦除工具图像预览的顶部区域(#5618)。
  • 修复继承的 CJK 文本编辑器自动换行,现按字符边界换行而非留下大段尾部空格(#5585,由 @haoqixu 贡献)。
  • 修复继承的松散 Markdown 列表渲染,现保留列表项之间的空行分隔(#5562,由 @Perlence 贡献)。
  • 修复 --model 解析逻辑,处理以未认证内置提供商前缀开头的自定义认证模型 ID(#5643)。
  • 修复 /fork 命令,确保当分叉路径包含标签时会话父级链仍保持连接(#5669)。
  • 修复 /share/export HTML 导出功能,当配置的自定义主题不存在时会使用活动的后备主题(#5596)。
  • 修复带 :<thinking> 后缀的自定义后备模型 ID,当提供商模板模型未声明推理能力时仍可保留请求的思考级别(#5560,由 @haoqixu 贡献)。

更新内容 (原始)

New Features

  • Clearer Bedrock validation guidance - Amazon Bedrock data retention validation errors now link to AWS data retention documentation. See Amazon Bedrock.

Added

  • Added an experimental first-time setup flow behind PI_EXPERIMENTAL=1 that asks for a dark/light theme choice (preselecting the detected appearance) and opt-in analytics data sharing on first launch with the default agent directory; opting in stores a trackingId in settings.json (#5587 by @vegarsti).
  • Added AWS data retention documentation links to inherited Amazon Bedrock unsupported data retention mode validation errors (#5561 by @unexge).

Fixed

  • Fixed project trust detection to ignore global ~/.pi/agent state when running from $HOME, and made pi update use only saved or explicit project trust without prompting (#5619).
  • Fixed experimental first-time setup to skip forked sessions instead of rerunning the setup prompts (#5627 by @vegarsti).
  • Fixed inherited OpenAI-compatible context overflow detection for parenthesized maximum context length (N) errors (#5677).
  • Fixed inherited OpenAI GPT-5.4/GPT-5.5 and OpenAI Codex GPT-5.4/GPT-5.4 mini/GPT-5.5 context window metadata to match current OpenAI limits (#5644).
  • Fixed inherited Anthropic refusal stops to preserve provider stop_details explanations in error messages (#5666 by @rwachtler).
  • Increased the inherited OpenAI Codex Responses SSE response-header timeout to 20 seconds to reduce false-positive stalls while retaining the bounded wait introduced for zero-event hangs (#4945).
  • Fixed inherited Claude Fable 5 thinking-off requests to omit Anthropic’s unsupported thinking.type: "disabled" payload (#5567 by @tmustier).
  • Fixed inherited late tool progress callbacks after tool settlement to be ignored instead of emitting stale tool_execution_update events (#5573).
  • Fixed inherited user-message transcript rendering so standalone + messages no longer render as - (#5657).
  • Fixed inherited slash-separated fuzzy queries so provider/model completions remain matchable after insertion.
  • Fixed inherited WezTerm inline Kitty image rendering so reserved row clears do not erase all but the top strip of tool image previews (#5618).
  • Fixed inherited editor wrapping for CJK text to break at character boundaries instead of leaving large trailing gaps (#5585 by @haoqixu).
  • Fixed inherited loose Markdown list rendering to preserve blank-line separation between list items (#5562 by @Perlence).
  • Fixed --model resolution for authenticated custom model IDs whose slash prefix matches an unauthenticated built-in provider (#5643).
  • Fixed /fork to keep session parent chains connected when the forked path contains labels (#5669).
  • Fixed /share and /export HTML exports to use the active fallback theme when the configured custom theme no longer exists (#5596).
  • Fixed custom fallback model IDs with :<thinking> suffixes to preserve the requested thinking level when the provider template model does not advertise reasoning (#5560 by @haoqixu).

下载链接