发布日期: 2026-07-14
版本号: v0.80.7

本次更新移除了 openai-responses 的 compat.sendSessionIdHeader 标志,会话亲和性行为现在由 compat.sessionAffinityFormat(可选值包括 openai、openai-nosession 或 openrouter)控制,需将 sendSessionIdHeader: false 替换为 sessionAffinityFormat: “openai-nosession”。新增了缓存友好的动态工具加载功能,允许扩展在执行过程中添加工具,同时支持 Anthropic 和 OpenAI Responses 模型保留提示缓存前缀;添加了消息复制快捷键 Ctrl+X,可复制最后一条助手消息或 /tree 中选中的消息;引入了 Fable 5 的 xhigh 和 max 思考级别,这些级别在所有生成的提供者目录中可用;还添加了 OpenAI 和 Codex Responses 的继承工具选择支持。修复了多个问题,包括 OpenRouter 模型使用顶级提供者的实际上下文长度、会话 ID 使用 x-session-id 头、Ctrl+V 在剪贴板无图像时粘贴文本、Amazon Bedrock 登录提示保存 API 密钥、环境 AWS 凭证的 SigV4 认证、Cloudflare Workers AI 认证使用环境账户和网关 ID、Alt+符号键组合的终端解码、GitHub Copilot 模型通过 /responses 端点路由、分支摘要在环境认证下工作、Amazon Bedrock 错误报告提供停止原因、npm 包移除在依赖冲突时处理、Azure OpenAI 响应推理重放、Anthropic 兼容代理事件中的使用情况处理,以及系统提示缓存因日期变化失效的问题。

更新内容 (中文)

破坏性变更

  • models.json 中移除了 openai-responsescompat.sendSessionIdHeader 标志。会话亲和行为现在由 compat.sessionAffinityFormat"openai""openai-nosession""openrouter")控制。请将 sendSessionIdHeader: false 替换为 sessionAffinityFormat: "openai-nosession"#6496,由 @petrroll 贡献)。

新功能

  • 缓存友好的动态工具加载 - 扩展程序可在执行过程中添加工具,同时受支持的 Anthropic 和 OpenAI Responses 模型能保留提示缓存前缀。详见 动态工具加载
  • 消息复制快捷键 - Ctrl+X 可复制对话记录中的最后一条助手消息,或在 /tree 视图中复制选中的消息,使得较旧或分支的消息可以直接复制。详见 显示与消息队列
  • Fable 5 xhighmax 思考级别 - 原生 xhighmax 思考级别现已在所有生成的提供商目录中可用。详见 模型选项

新增内容

  • 为通过工具结果激活的扩展工具添加了缓存友好的动态工具加载。受支持的 Anthropic 和 OpenAI Responses 模型会在其可用时加载定义,保留缓存的提示前缀。详见 动态工具加载#6474)。
  • 在所有生成的提供商目录中,为 Claude Fable 5 添加了继承的原生 xhighmax 思考级别(#6490,由 @davidbrai 贡献)。
  • 添加了 Ctrl+X 以复制最后一条助手消息,或在 /tree 中复制选中的消息。
  • 为 OpenAI 和 Codex Responses 添加了继承的 toolChoice 支持,包括必需和命名工具选择(#6588,由 @xl0 贡献)。

修复内容

  • 修复了继承的 OpenRouter 模型上下文窗口,使其使用顶级提供商的实际上下文长度(#6481,由 @davidbrai 贡献)。
  • 修复了继承的 OpenRouter OpenAI 兼容会话 ID,使其使用 x-session-id 头而非 OpenAI 特定的会话亲和字段(#6496,由 @petrroll 贡献)。
  • 修复了 Ctrl+V 在粘贴板不包含图像时粘贴剪贴板文本的功能。
  • 修复了 /login amazon-bedrock,使其提示并保存 Bedrock API 密钥,而不仅仅是显示环境 AWS 凭据设置说明。
  • 修复了继承的 Amazon Bedrock 环境 AWS 凭据,使其继续使用 SigV4 认证,包括自定义模型 ID(#6532,由 @ribelo 贡献)。
  • 修复了继承的 Cloudflare Workers AI 和 AI 网关认证,使其在存储的凭据仅包含 API 密钥时使用环境账户和网关 ID(#6292,由 @markphelps 贡献)。
  • 修复了继承的传统终端解码,以支持 Alt+符号键组合,如 Alt+,Alt+.#6523,由 @ribelo 贡献)。
  • 修复了 GitHub Copilot mai-code-1-flash-picker 模型,使其通过 /responses 端点路由(#6544,由 @petrroll 贡献)。
  • 修复了分支摘要,使其适用于使用环境认证而非 API 密钥的提供商(#6595,由 @davidbrai 贡献)。
  • 修复了继承的 Amazon Bedrock 错误,使其报告未处理的提供商停止原因,而不仅仅是 An unknown error occurred#6598,由 @davidbrai 贡献)。
  • 修复了在安装的包存在冲突的同行依赖项时移除 npm 包的问题(#6604,由 @davidbrai 贡献)。
  • 修复了继承的 Azure OpenAI Responses 推理重放,当 encrypted_content 仅出现在终端响应事件中时的问题(#6608,由 @davidbrai 贡献)。
  • 修复了继承的 Anthropic 兼容代理,使其处理 message_delta 事件中省略 usage 的情况(#6611,由 @davidbrai 贡献)。
  • 修复了继承的 OpenCode OpenAI Responses 模型,使其省略不支持的 session-id 头,同时保留其他缓存亲和数据(#6645,由 @davidbrai 贡献)。
  • 通过从默认提示中移除当前日期,修复了系统提示缓存跨日期失效的问题(#6621)。

更新内容 (原始)

Breaking Changes

  • Removed the openai-responses compat.sendSessionIdHeader flag from models.json. Session-affinity behavior is now controlled by compat.sessionAffinityFormat ("openai", "openai-nosession", or "openrouter"). Replace sendSessionIdHeader: false with sessionAffinityFormat: "openai-nosession" (#6496 by @petrroll).

New Features

  • Cache-friendly dynamic tool loading - Extensions can add tools during execution while supported Anthropic and OpenAI Responses models preserve prompt-cache prefixes. See Dynamic Tool Loading.
  • Message copy shortcut - Ctrl+X copies the last assistant message in the transcript or the selected message in /tree, making older and branched messages directly copyable. See Display and Message Queue.
  • Fable 5 xhigh and max thinking - Native xhigh and max thinking levels are available across generated provider catalogs. See Model Options.

Added

  • Added cache-friendly dynamic tool loading for extension tools activated by tool results. Supported Anthropic and OpenAI Responses models load definitions where they become available, preserving the cached prompt prefix. See Dynamic Tool Loading (#6474).
  • Added inherited native xhigh and max thinking levels for Claude Fable 5 across all generated provider catalogs (#6490 by @davidbrai).
  • Added Ctrl+X to copy the last assistant message, or the selected message in /tree.
  • Added inherited toolChoice support for OpenAI and Codex Responses, including required and named tool selection (#6588 by @xl0).

Fixed

  • Fixed inherited OpenRouter model context windows to use the top provider’s actual context length (#6481 by @davidbrai).
  • Fixed inherited OpenRouter OpenAI-compatible session IDs to use the x-session-id header instead of OpenAI-specific session-affinity fields (#6496 by @petrroll).
  • Fixed Ctrl+V to paste clipboard text when the pasteboard does not contain an image.
  • Fixed /login amazon-bedrock to prompt for and save a Bedrock API key instead of only displaying ambient AWS credential setup instructions.
  • Fixed inherited Amazon Bedrock ambient AWS credentials to keep using SigV4 authentication, including for custom model IDs (#6532 by @ribelo).
  • Fixed inherited Cloudflare Workers AI and AI Gateway authentication to use ambient account and gateway IDs when stored credentials contain only an API key (#6292 by @markphelps).
  • Fixed inherited legacy terminal decoding for Alt+symbol key combinations such as Alt+, and Alt+. (#6523 by @ribelo).
  • Fixed the GitHub Copilot mai-code-1-flash-picker model to route through the /responses endpoint (#6544 by @petrroll).
  • Fixed branch summaries to work with providers that use ambient authentication instead of API keys (#6595 by @davidbrai).
  • Fixed inherited Amazon Bedrock errors to report unhandled provider stop reasons instead of only An unknown error occurred (#6598 by @davidbrai).
  • Fixed npm package removal when installed packages have conflicting peer dependencies (#6604 by @davidbrai).
  • Fixed inherited Azure OpenAI Responses reasoning replay when encrypted_content appears only in the terminal response event (#6608 by @davidbrai).
  • Fixed inherited Anthropic-compatible proxies that omit usage from message_delta events (#6611 by @davidbrai).
  • Fixed inherited OpenCode OpenAI Responses models to omit the unsupported session-id header while preserving other cache-affinity data (#6645 by @davidbrai).
  • Fixed system prompt cache invalidation across dates by removing the current date from the default prompt (#6621).

下载链接