跳到主内容
@wquguru
精选88Claude Code(GitHub Releases)AI 编程与模型

Claude Code v2.1.316:弃用 Opus 4.8 fast mode

v2.1.316

原文
发到 X
推荐理由

Opus 4.8 fast mode 将于 2026 年 11 月被彻底移除且不再回退,依赖该模式的开发者必须提前规划迁移至 Opus 5.5,否则将面临服务中断风险。

What's changed

变更内容

  • Added CLAUDE_CODE_DISABLE_ULTRATHINK, which turns the ultrathink keyword off
  • Added pooled group budgets to the Claude apps gateway: one monthly budget that a group's members share, on top of each member's own limit, set with pooled_budget on the spend limits admin API
  • Added CLAUDE_CODE_DISABLE_LOOPED_CROSS_CERT_DROP to keep system cross-certificates that certify each other in a loop, for servers whose private CA needs one
  • Added CLAUDE_CODE_SUBAGENT_EFFORT to set the effort level subagents run at when nothing else names one, instead of inheriting the session's
  • Added managed.policy_mode: layered to the Claude apps gateway: every policy that matches a developer applies, each merged over the ones listed below it, not only the first
  • Added guardrail.input_tagging on Claude apps gateway Bedrock upstreams, which wraps prompts in the input tags that an Amazon Bedrock guardrail's prompt attacks filter needs; all_messages_and_system also tags the system prompt
  • Deprecated fast mode for Opus 4.8 as of October 30, 2026; it will be removed on November 30, 2026. After removal, fast mode requests on Opus 4.8 return an error and do not fall back to standard Opus 4.8. Migrate to Opus 5.5 to keep the speedup
  • Fixed shell commands being left running on macOS and Linux when Claude Code exits by itself, for example when credentials are refused or a cloud session is archived
  • Fixed bash aliases with line breaks in their value (except in Git Bash), and functions whose names start with a dash, being garbled or lost in the Bash tool's shell
  • Fixed bash scripts started from the Bash tool stopping after their first command when SHELLOPTS is exported
  • Fixed PowerShell hooks not blocking on exit code 2 when the command begins with a type cast, param, using or an attribute
  • Fixed some network requests hanging when a compressed response was cut off or corrupted
  • Fixed sonnet, opus and haiku on Vertex AI and Amazon Bedrock showing an error mid-session instead of switching to an older model when the newest is not yet available to the account or region
  • Fixed the Claude apps gateway not checking every model a request names against availableModels, deniedModels and models; a request that names a blocked model now gets a 400 naming the field
  • Fixed claude auth login refusing to run where managed settings require a Claude apps gateway; in a terminal it now shows the gateway sign-in
  • Fixed --restricted sessions uploading files from outside the working directories when a Read allow rule covered them
  • Fixed prompts containing invisible characters needing a second Enter to send; plain prompts now send cleaned on the first Enter, and commands still wait for review
  • Fixed sub-agents that inherited a parent sub-agent's model moving to the main model when a background job or message woke them
  • Fixed a managed autoMode.allow list without "$defaults" getting the built-in exceptions back from a host app's --settings, a first rule added in /permissions, or /auto-mode-setup
  • Fixed cloud sessions and cloud scheduled tasks not being marked as failed when auto mode stopped a turn because the server returned no safety verdict
  • Fixed claude -p text output sometimes not saying why auto mode stopped a turn when a background agent was still running
  • Fixed CLAUDE_CODE_AUTO_MODE_SERVER=1 being ignored in sessions started by a host application (such as Claude Desktop) behind a proxy or LLM gateway with experimental betas turned off
  • Fixed plugin MCP headersHelper scripts receiving a corrupted CLAUDE_PLUGIN_ROOT and server URL when a credential-named environment variable was set to a switch value such as 1
  • Fixed the SDK register_repo_root control request not loading the CLAUDE.md of a directory outside the working directory (with CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1)
  • Fixed the Artifact tool showing ? for artifact database access rules at the self level, and not quoting those rules back when it refuses a republish that would drop them
  • Fixed /model <id> not warning when the model isn't recognized by this version and auto-compact will assume a 200K context window
  • Fixed the "hold space to speak" hint using up its three showings in one session, and showing an empty key when push-to-talk is unbound
  • Fixed Grep and Glob never returning when the search process is killed at the timeout but does not exit, seen on Windows
  • Fixed a rare case where resuming a conversation did not restore its plan, when /clear or /resume had been run while part of that conversation was still being saved
  • Fixed first-run setup dropping words from the security notes and the terminal-setup explanation in narrow terminals
  • Fixed the Enterprise survey card taking a typed 1 or 0 after a short pause; a typed answer now needs Enter
  • Self-hosted runner: Fixed a message sent while Claude was working being answered after a Stop, once the session's process had been replaced
  • Self-hosted runner: Fixed an MCP server's on/off switch sometimes being lost when a session moved to a new machine
  • Windows: Fixed the Bash tool losing your aliases and functions in Git Bash when the rc file sets errexit and pipefail and only winpty aliases, or none, are defined
  • Improved /code-review started from the Code tab in Claude Desktop or on the web: cloud and claude remote-control sessions now show the findings card, not a plain-text list
  • Improved /diff on large repositories: each refresh usually runs one fewer full-repository git command, and refreshes are spaced out when git is slow
  • Improved the messages shown when /ultrareview, a cloud session or a cloud agent finds no GitHub remote: they now say to create a repository at https://github.com/new, and /ultrareview no longer suggests a gh command that gh rejects
  • Improved SSL certificate errors to name the likely causes, among them a server that leaves out an intermediate certificate, and the fix for each
  • Changed auto mode so that an autoMode.allow list without "$defaults" no longer removes the built-in rule on scheduled-task prompts
  • Changed server-managed settings for Team and Enterprise logins: settings fetched from Anthropic's API now apply without an approval prompt, and a stored copy that doesn't verify is refused
  • [VSCode] Added sign-in to a Claude apps gateway from the chat panel, with no terminal needed
  • [VSCode] Changed ultrathink to run its turn at xhigh effort and show in a rainbow in the chat box, as in the terminal
  • [VSCode] Fixed the missing Effort slider, Ultracode switch and model name when the model setting has the [1m] tag, such as opus[1m]
  • [VSCode] Fixed saved /btw side-question history being deleted too early while a settings file has errors
  • [VSCode] Fixed a conversation coming back in Auto mode after a reload or restart when its plan was approved with "Yes, and manually approve edits"
  • [Cloud sessions] Added a form card to cloud sessions, so you can fill in or decline a form an MCP server asks for instead of the request being canceled without you seeing it
  • [Cloud sessions] Added a "Catching up…" line that shows while a cloud or Remote Control session you switch back to is still bringing its messages up to date
  • [Cloud sessions] Changed network secrets so Enterprise members can add and delete them on their own cloud environments, instead of only viewing them
  • [Cloud sessions] Improved the Changes pane for cloud sessions: the note about what the list leaves out is now a badge beside the branch name, not a row above the diff
  • [Cloud sessions] Fixed file search in a cloud session's Files pane showing folders as ../.. paths after Claude changed directory; results now show their path from the project's root
  • [Claude Tag] Fixed Claude refusing to edit or append to a canvas it made in a Slack channel, from that channel, once the canvas was also shared to another channel or a DM
  • 新增 CLAUDE_CODE_DISABLE_ULTRATHINK,用于关闭 ultrathink 关键字
  • 在 Claude apps gateway 中新增池化组预算(pooled group budgets):为群组成员提供一个共享的月度预算,叠加在每个成员各自的限额之上;该限额通过支出限制管理 API 上的 pooled_budget 设置
  • 新增 CLAUDE_CODE_DISABLE_LOOPED_CROSS_CERT_DROP,以保留形成循环互认证的系统交叉证书,适用于其私有 CA 需要此类证书的服务端
  • 新增 CLAUDE_CODE_SUBAGENT_EFFORT,用于在未指定其他值时设置子代理运行的努力级别,而非继承会话的设置
  • 在 Claude apps gateway 中新增 managed.policy_mode: layered:所有匹配开发者的策略均生效,每个策略会合并到其下方列出的策略之上,而不仅仅是第一个匹配的策略
  • 在 Claude apps gateway 的 Bedrock 上游服务中新增 guardrail.input_tagging,将提示词包裹在 Amazon Bedrock 防护栏的提示词攻击过滤器所需的输入标签中;all_messages_and_system 还会对系统提示词进行标记
  • 自 2026 年 10 月 30 日起弃用 Opus 4.8 的快速模式;将于 2026 年 11 月 30 日移除。移除后,针对 Opus 4.8 的快速模式请求将返回错误,且不会回退到标准 Opus 4.8。请迁移至 Opus 5.5 以保持加速效果
  • 修复了当 Claude Code 自行退出时(例如凭证被拒绝或云会话被归档),macOS 和 Linux 上的 shell 命令未被终止的问题
  • 修复了 Bash 工具中因换行符导致 bash 别名(Git Bash 除外)及其值、以及名称以连字符开头的函数出现乱码或丢失的问题
  • 修复了在导出 SHELLOPTS 时,从 Bash 工具启动的 bash 脚本在其第一条命令执行后即停止运行的问题
  • 修复了当命令以类型转换、param、using 或属性开头时,PowerShell 钩子在退出代码为 2 时未阻塞的问题
  • 修复了当压缩响应被截断或损坏时,部分网络请求挂起的问题
  • 修复了 Vertex AI 和 Amazon Bedrock 上的 sonnet、opus 和 haiku 模型在会话中途显示错误,而非在新模型尚未对账户或区域可用时切换至旧版模型的问题
  • 修复了 Claude apps gateway 未检查请求中指定的每个模型是否在 availableModels、deniedModels 和 models 中的问题;现在,指定了受限模型的请求将返回 400 错误并指明具体字段
  • 修复了 claude auth login 在受管设置要求使用 Claude apps gateway 时拒绝运行的问题;在终端中,现在会显示网关登录界面
  • 修复了 --restricted 会话在 Read 允许规则覆盖工作目录之外的文件时,仍从这些位置上传文件的问题
  • 修复了包含不可见字符的固定提示词需要按第二次 Enter 才能发送的问题;普通提示词现在在第一次按 Enter 时发送清理后的内容,而命令仍会等待审核
  • 修复了当后台作业或消息唤醒子代理时,继承了父级子代理模型的子代理切换到主模型的问题
  • 修复了未包含 "$defaults" 的托管 autoMode.allow 列表从主机应用的 --settings、/permissions 中首次添加的规则或 /auto-mode-setup 获取内置异常配置的问题
  • 修复了当自动模式因服务器未返回安全判定而停止一轮对话时,云会话和云定时任务未被标记为失败的问题
  • 修复了 claude -p 文本输出有时未说明自动模式为何停止一轮对话(即使后台代理仍在运行)的问题
  • 修复了在关闭实验性 beta 功能的代理或 LLM 网关后启动的主机应用(如 Claude Desktop)会话中忽略 CLAUDE_CODE_AUTO_MODE_SERVER=1 的问题
  • 修复了当凭据命名的环境变量被设置为切换值(如 1)时,插件 MCP headersHelper 脚本收到损坏的 CLAUDE_PLUGIN_ROOT 和服务器 URL 的问题
  • 修复了 SDK register_repo_root 控制请求未加载工作目录外目录的 CLAUDE.md 文件的问题(启用 CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1 时)
  • 修复了 Artifact 工具在自身层级显示 artifact 数据库访问规则为 '?',且在拒绝会导致这些规则丢失的重新发布时未引用这些规则的问题
  • 修复了 /model <id> 在模型不被当前版本识别且自动压缩将假设 200K 上下文窗口时未发出警告的问题
  • 修复了“按住空格说话”提示在一个会话中耗尽三次显示机会,以及在未绑定按键说话时显示为空键的问题
  • 修复了 Grep 和 Glob 在搜索进程因超时而终止但未退出时永远不返回结果的问题(在 Windows 上可见)
  • 修复了罕见情况下恢复对话时未恢复其计划的问题,当在部分对话仍在保存时运行了 /clear 或 /resume
  • 修复了首次运行设置在窄终端中截断安全说明和终端设置解释中的单词的问题
  • 修复了企业调查卡片在短暂停顿后接受输入的 1 或 0 的问题;现在输入的回复需要按 Enter
  • 自托管运行器:修复了在 Claude 工作时发送的消息在停止操作后、一旦会话进程被替换才得到响应的问题
  • 自托管运行器:修复了当会话迁移到新机器时偶尔丢失 MCP 服务器开关状态的问题
  • Windows:修复了在 Git Bash 中,当 rc 文件设置了 errexit 和 pipefail,且仅定义了 winpty 别名(或未定义任何别名)时,Bash 工具丢失用户别名和函数的问题
  • 改进了从 Claude Desktop 或网页端的 Code 标签页启动的 /code-review:云端会话和 Claude 远程控制会话现在显示发现内容卡片,而非纯文本列表
  • 改进了大型仓库中的 /diff:每次刷新通常少执行一次全仓库范围的 git 命令,且在 git 响应缓慢时刷新间隔会拉长
  • 改进了 /ultrareview、云端会话或云端代理未找到 GitHub 远程仓库时显示的消息:现在提示用户在 https://github.com/new 创建仓库,且 /ultrareview 不再建议会被 gh 拒绝的命令
  • 改进了 SSL 证书错误提示,明确指出可能的原因(例如服务器遗漏了中间证书),并提供相应的修复方法
  • 更改了自动模式的行为:如果 autoMode.allow 列表中不包含 "$defaults",则不再移除计划任务提示中的内置规则
  • 更改了团队和企业登录的服务器托管设置:从 Anthropic API 获取的设置现在无需审批提示即可生效,且不通过验证的本地缓存副本将被拒绝
  • [VSCode] 从聊天面板支持登录到 Claude 应用网关,无需使用终端
  • [VSCode] 更改 ultrathink 的运行方式,使其以 xhigh 级别运行并像终端中一样在聊天框中以彩虹色显示
  • [VSCode] 修复了当模型设置带有 [1m] 标签(如 opus[1m])时,缺少 Effort 滑块、Ultracode 开关和模型名称的问题
  • [VSCode] 修复了在配置文件存在错误时,保存的 /btw 侧边问题历史被过早删除的问题
  • [VSCode] 修复了在使用“是,并手动批准编辑”批准计划后,重新加载或重启时对话在自动模式下重现的问题
  • [Cloud sessions] 为云端会话添加了表单卡片,以便用户可以填写或拒绝 MCP 服务器请求的表单,而不是在未察觉的情况下请求被取消
  • [Cloud sessions] 添加了“正在追赶进度…”提示行,在您切换回仍在更新消息的云端或远程控制会话时会显示该提示
  • [Cloud sessions] 更改了网络密钥的管理方式,使企业成员可以在自己的云端环境中添加和删除密钥,而不仅仅是查看
  • [Cloud sessions] 改进了云端会话的 Changes 窗格:关于列表省略内容的说明现在作为分支名称旁边的徽章显示,而非位于 diff 上方的单独一行
  • [云会话] 修复了在云会话的文件窗格中,当 Claude 更改目录后,文件搜索将文件夹显示为 ../.. 路径的问题;现在结果会显示其相对于项目根目录的路径
  • [Claude 标签] 修复了当画布被共享到另一个频道或私聊时,Claude 拒绝编辑或追加内容到其在 Slack 频道中创建的画布(从该频道发起)的问题

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件