pi v0.79.1 版本更新介绍
发布日期: 2026-06-09
版本号: v0.79.1
此次更新主要新增了Claude Fable 5模型支持,适用于Anthropic和Amazon Bedrock提供商,并具备自适应思考和xhigh工作强度功能。提示模板现在支持默认位置参数(例如
${1:-7}),并引入了可配置的项目信任默认设置,允许用户选择对未解析的项目信任请求采取默认信任或默认不信任的策略。扩展程序可使用自然触发字符(如#或$)来激活自动补全建议,无需斜杠命令前缀。此外,还添加了多项改进,包括实验性功能选项、扩展可检查项目信任决定,以及多项错误修复,涉及区域解析、硬件光标定位、特定提供商请求兼容性、上下文窗口元数据、提示历史导航、文本换行、OAuth登录提示、设置重载、配置文件处理、发布说明链接和命令行输出等方面。
更新内容 (中文)
新功能
- Claude Fable 5 - Claude Fable 5 现已在 Anthropic 和 Amazon Bedrock 提供商处可用,支持自适应思维与
xhigh努力等级。 - 提示模板默认值 - 提示模板可使用默认位置参数,例如
${1:-7}作为可选值。详见提示模板参数。 - 可配置的项目信任默认值 -
defaultProjectTrust允许用户选择默认情况下未解析的项目信任询问是始终信任、始终不信任还是进行询问,并且扩展可以检查实际的信任决策。详见项目信任和ctx.isProjectTrusted()。 - 自然扩展自动补全触发器 - 扩展自动补全提供者可以声明触发字符,例如
#或$,这样建议无需斜杠命令前缀即可打开。详见自动补全提供者。
新增
- 新增提示模板位置参数的默认值展开功能,例如
${1:-7}(#5553,由 @dannote 提交)。 - 新增
areExperimentalFeaturesEnabled功能守卫,允许用户选择加入早期功能 (#5547,由 @vegarsti 提交)。 - 新增
ctx.isProjectTrusted()供扩展观察实际的项目信任决策,包括临时信任决策 (#5523)。 - 新增全局
defaultProjectTrust设置,用于选择默认情况下未解析的项目信任询问是始终信任、始终不信任还是进行询问。 - 新增
ctx.ui.addAutocompleteProvider()封装器的扩展自动补全触发字符支持 (#4703)。 - 新增继承自
@earendil-works/pi-ai的 Claude Fable 5 模型支持,适用于 Anthropic 和 Amazon Bedrock 提供商,支持自适应思维与xhigh努力等级。
修复
- 修复继承的 Amazon Bedrock 推理配置文件 ARN 区域解析,使其优先使用 ARN 内嵌区域而非
AWS_REGION(#5527,由 @AJM10565 提交)。 - 修复斜杠命令自动补全可见时继承的 IME 硬件光标定位问题 (#5283,由 @smoosex 提交)。
- 修复继承的 z.ai 关闭思考请求,使其发送提供商的
thinking: { type: "disabled" }兼容参数 (#5330)。 - 修复继承的 OpenCode 补全模型元数据,使其显式将
maxTokens作为max_tokens发送 (#5331)。 - 修复继承的 Moonshot Kimi 关闭思考请求,使其发送提供商的
thinking: { type: "disabled" }兼容参数 (#5531)。 - 修复继承的 Azure OpenAI 响应请求,使其禁用服务器端响应存储 (#5530)。
- 修复继承的 Azure GPT-5.4 和 GPT-5.5 上下文窗口元数据至 1,050,000 个令牌,与 Azure Foundry 部署匹配,而非 OpenAI 的 272k 限制 (#5559)。
- 修复继承的 OpenAI 和 Azure GPT-5 Pro
maxTokens元数据至 128,000,纠正上游值中将输入子限值重复作为输出限值的问题 (#5559)。 - 修复继承的提示历史导航,使其在从历史记录浏览返回时恢复当前草稿 (#5494)。
- 修复继承的拉丁文与 CJK 文本混合换行,使无空格的 CJK 字符串能在字素边界处断行,而不留下较大的尾随空白 (#5495)。
- 修复扩展 OAuth 登录提示,使其保持之前提交的提示行稳定,而非镜像活动输入值 (#5433)。
- 修复
/reload命令,使其将更新的steeringMode和followUpMode设置应用于当前会话 (#5377)。 - 修复无效的
models.json语法,使其跳过启动配置迁移并报告常规的文件路径感知模型错误,而非原始的 JSON 解析堆栈跟踪 (#5418)。 - 修复 GitHub 发布说明和交互式变更日志链接,使其正确解析包相对文档 URL (#5516)。
- 修复 CLI 帮助和版本输出,包括纯重定向的
--help/--version输出,以及简化的list/config帮助文本。 - 修复临时会话中的
/new命令,使其保持新会话为临时状态,而非默认将其持久化 (#5045)。 - 澄清自定义模型文档,说明
name和modelOverrides.name不会替代页脚或主要模型列表中的模型 ID (#4841)。
更新内容 (原始)
New Features
- Claude Fable 5 - Claude Fable 5 is now available on the Anthropic and Amazon Bedrock providers, with adaptive thinking and
xhigheffort support. - Prompt template defaults - Prompt templates can use default positional arguments such as
${1:-7}for optional values. See Prompt Template Arguments. - Configurable project trust defaults -
defaultProjectTrustlets users choose whether unresolved project trust asks, always trusts, or never trusts by default, and extensions can inspect effective trust decisions. See Project Trust andctx.isProjectTrusted(). - Natural extension autocomplete triggers - Extension autocomplete providers can declare trigger characters such as
#or$so suggestions open without slash-command prefixes. See Autocomplete Providers.
Added
- Added default-value expansion for prompt template positional arguments, e.g.
${1:-7}(#5553 by @dannote). - Added
areExperimentalFeaturesEnabledfeature guard to allow users to opt in to early features (#5547 by @vegarsti). - Added
ctx.isProjectTrusted()for extensions to observe the effective project trust decision, including temporary trust decisions (#5523). - Added a global
defaultProjectTrustsetting to choose whether unresolved project trust asks, always trusts, or never trusts by default. - Added extension autocomplete trigger character support for
ctx.ui.addAutocompleteProvider()wrappers (#4703). - Added Claude Fable 5 model support inherited from
@earendil-works/pi-aifor the Anthropic and Amazon Bedrock providers, with adaptive thinking andxhigheffort support.
Fixed
- Fixed inherited Amazon Bedrock inference profile ARN region resolution to prefer the ARN’s embedded region over
AWS_REGION(#5527 by @AJM10565). - Fixed inherited IME hardware cursor positioning while slash-command autocomplete is visible (#5283 by @smoosex).
- Fixed inherited z.ai thinking-off requests to send the provider’s
thinking: { type: "disabled" }compatibility parameter (#5330). - Fixed inherited OpenCode completions model metadata to send explicit
maxTokensasmax_tokens(#5331). - Fixed inherited Moonshot Kimi thinking-off requests to send the provider’s
thinking: { type: "disabled" }compatibility parameter (#5531). - Fixed inherited Azure OpenAI Responses requests to disable server-side response storage (#5530).
- Fixed inherited Azure GPT-5.4 and GPT-5.5 context window metadata to 1,050,000 tokens, matching Azure Foundry deployments instead of OpenAI’s 272k limit (#5559).
- Fixed inherited OpenAI and Azure GPT-5 Pro
maxTokensmetadata to 128,000, correcting an upstream value that duplicated the input sub-limit as the output limit (#5559). - Fixed inherited prompt history navigation to restore the current draft when returning from history browsing (#5494).
- Fixed inherited wrapping for mixed Latin and CJK text so unspaced CJK runs can break at grapheme boundaries without leaving large trailing gaps (#5495).
- Fixed extension OAuth login prompts to keep previous submitted prompt rows stable instead of mirroring the active input value (#5433).
- Fixed
/reloadto apply updatedsteeringModeandfollowUpModesettings to the current session (#5377). - Fixed invalid
models.jsonsyntax to skip startup config migrations and report the normal file-path-aware models error instead of a raw JSON parse stack trace (#5418). - Fixed GitHub release notes and interactive changelog links to resolve package-relative documentation URLs correctly (#5516).
- Fixed CLI help and version output, including plain redirected
--help/--versionoutput and simplifiedlist/confighelp text. - Fixed
/newfrom ephemeral sessions to keep the new session ephemeral instead of persisting it by default (#5045). - Clarified custom model docs that
nameandmodelOverrides.namedo not replace model IDs in the footer or primary model lists (#4841).