## 更新内容
- 新增 `CLAUDE_CODE_AUTO_MODE_MODEL`,用于选择客户端自动模式分类器使用的模型;它不会更改服务器端自动模式使用的模型
- 在 `/config` 中新增 `Idle compaction`(空闲压缩)选项,可用于关闭或重新开启空闲压缩;空闲压缩后显示的通知现在会说明如何将其关闭
- 在 `/design-sync` 和 `/design-login` 中新增通知,说明独立版 Claude Design(claude.ai/design)将于 2026 年 12 月 14 日关闭
- 修复了在对话压缩期间停止当前轮次时出现“Prompt is too long”错误的问题
- 修复了在会话中途切换到 Vertex 或 Bedrock 后,请求因“diagnostics: Extra inputs are not permitted”而失败的问题
- 修复了 Read 工具会将任意大小的图像文件,或名称类似图像的管道或设备,完整加载到内存中的问题;现在会拒绝超过 128 MB 的图像源
- 修复了当网关使用带前缀的名称表示 Opus 4 或 4.1(例如 `anthropic/claude-opus-4-1`)时,`/autocompact` 和 `/effort` 保存到错误模型的问题
- 修复了会话中途添加的工具在通过 ToolSearch 或压缩后再次加载时出现提示缓存未命中的问题
- 修复了 `claude plugin` 及其他子命令有时会在排队中的设置或配置写入完成前退出,导致更改丢失或遗留 `.tmp` 文件的问题
- 修复了当 Git 默认使用 reftable 引用格式时,插件市场每次刷新都会重新克隆,以及新安装的 Git 插件显示版本为“unknown”的问题
- 修复了 PowerShell 工具无法找到插件 `bin/` 文件夹中的命令,以及未找到任何结果的搜索(rg、grep、findstr、git grep)通过管道传递给 `Select-Object` 或其他格式化 cmdlet 时报告错误的问题
- 修复了桌面应用中的 Claude 会引导你前往 claude.ai 设置或使用 `/mcp` 来授权或重新连接 MCP 服务器,而这些位置并不提供相应选项的问题
- 修复了 Claude 发送空编辑列表时制品发布有时会失败,以及较新版本的制品拒绝更新后,Claude 以错误方式重试制品更新的问题
- 修复了大多数自动模式分类器区块的 OpenTelemetry `tool_decision` 事件缺少 `classifier_category`,以及当 `OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT` 较低时,新的 `tool_decision` 属性会挤掉 `tool_use_id`、`tool_source` 和 `tool_parameters` 的问题
- 修复了在代理视图中向下移动较长列表或折叠某个分区后,部分行保持空白的问题
- 修复了未登录时 `claude remote-control --help` 不打印用法信息便直接退出的问题
- 修复了 `/design consent` 和 `/design revoke` 在云会话中失败时建议使用不可用的 `/design-login` 的问题;现在消息会指向 claude.ai/design/settings
- 修复了当 MCP 服务器协商使用协议版本 2026-07-28,但省略 `resultType`、`ttlMs` 或 `cacheScope` 时,不显示任何工具或所有工具调用均失败的问题
- 修复了提示建议会消耗仅能通过额度付费的模型使用额度的问题;现在,在收到按额度计费的回复后会跳过提示建议
- 修复了反引号中的 URL 换行后只有第一行可点击的问题;在支持超链接的终端中,现在整个 URL 都是一个链接
- 修复了当找不到内置插件时,`claude plugin details <name>@builtin` 会建议使用永远不会显示内置插件的 `claude plugin list` 的问题;现在会指向 `/plugin`
- 修复了链接起始位置的表情符号会多换一列,导致其在问题预览中被隐藏并将表格变成列表的问题
- 修复了在 Git 2.56 或更高版本中,当一个遗留的 `.git` 文件指向不存在的目录时,工作树隔离功能拒绝创建或恢复工作树的问题
- 修复了云会话在新进程中恢复后,其成本和使用量会从零重新开始计算的问题
- 自托管运行器:修复了在重复使用以 Git reftable 格式存储的检出目录的会话中,Git 获取操作因“bad object refs/heads”而失败的问题
- Windows:修复了对于位于 exFAT 或 FAT32 驱动器上的项目,每次文件写入都会被拒绝或要求确认的问题,包括使用 `--plugin-dir` 启动的会话
- 改善了启用大量插件时的启动速度:现在加载插件命令和代理文件所需的文件系统调用大幅减少,在 Windows 上尤为明显
- 改善了使用服务器端分类器的自动模式:当对话长度超过安全检查限制时,现在会压缩对话,而不是拒绝所有经过检查的工具调用
- 改进了从其他文件夹重新打开的后台会话没有 LLM 网关时显示的消息:现在会说明原因,而不是显示“Not logged in”
- 更改了 `claude -p` 和未指定权限模式的 Agent SDK 会话的行为:在使用第三方提供商、关闭遥测或全新安装时,会以 `default` 模式启动;`--permission-mode auto` 仍会保持自动模式
- 更改了派生子代理(`subagent_type: "fork"`)的默认设置:现在它们在 `claude -p`、Agent SDK、桌面应用和 VS Code 中默认启用,与终端中的行为一致;设置 `CLAUDE_CODE_FORK_SUBAGENT=0` 可将其关闭,且 `claude mcp serve` 永远不会提供这类子代理
- 更改了桌面应用和 VS Code 的行为:现在主对话中的子代理始终在后台运行,与终端中的行为一致,不再由 Claude 自行选择;子代理自身在 `claude -p`、Agent SDK、桌面应用和 VS Code 中发起的 Agent 调用现在默认在前台运行
- 更改了 `← for agents` 页脚提示:会话打开 10 秒后将其隐藏;等待你处理的代理数量仍会显示
- 调整了 Claude in Chrome 指令在系统提示词中的位置,使新对话可以从共享提示缓存中读取这些指令
- 更改了提示钩子和代理钩子的并发行为:同一事件最多同时运行 12 个,其余会等待轮到自己
- 更改了组织策略关闭 `/feedback` 时显示的消息:现在会指向 GitHub Issues,而不是组织管理员
- [VSCode] 修复了回复流式输出期间,列表中未闭合代码块后的文本先显示为纯文本、随后又变成代码的问题
- [VSCode] 修复了当 MCP 服务器 URL 包含查询字符串时,从面板登录 MCP 服务器会打开损坏的授权页面的问题
- [VSCode] 修复了无法连接到任何安装了 Claude 扩展的浏览器时,`@browser` 横幅仍显示“Browser connected”的问题
- [云会话] 在例程页面新增横幅,用于说明上一次运行未能启动的原因,例如你的组织已达到并发云会话数量上限
- [云会话] 修复了云会话中除最新消息外,对其他所有消息执行“Rewind to here”都会失败的问题;自托管运行器需要 Claude Code v2.1.246 或更高版本
- [云会话] 修复了云会话中的拉取请求状态栏在 GitHub 重新检查期间,会将存在合并冲突的拉取请求错误地改回就绪状态的问题
- [云会话] 修复了例程运行在其云会话意外停止后显示为“Completed”,以及在启动前被归档时显示为“Cancelled”而非失败的问题
- [云会话] 修复了会话的 GitHub 仓库被重命名或移动后,云会话的差异视图缺少更改或无法加载的问题
- [云会话] 修复了定时例程运行在中途失败后,会在一小时或更久之后从头重新运行,从而可能重复执行工作(例如两次发布同一份报告)的问题
- [云会话] 修复了已打开的云会话有时不会显示从其他设备发送的消息,必须重新加载页面或切换离开后再返回才能看到的问题
- [云会话] 改进了云会话启动失败时显示的错误:现在会显示“Connection lost”或“Server error”,而不是“Something went wrong”
- [远程控制] 修复了电脑离线后,远程控制会话中子代理的面板会一直显示加载状态的问题;现在会提示远程控制已断开连接
- [Claude Tag] 修复了 Claude 通过编辑先前消息来回应 Slack 频道或私信中的提及时,“is thinking…”仍会一直显示在该提及下方的问题
- [Claude Tag] 修复了 Claude 的 Slack 回复中,位于编号步骤或项目符号步骤下的代码块内 URL 被尖括号包裹,导致复制的命令不可用的问题
- [Claude Tag] 修复了 Slack 中附加的 HEIC、SVG、TIFF 和 BMP 图像始终无法传递给 Claude 的问题;现在它们会像其他文件类型一样,以文件形式出现在工作文件中
- [Claude Tag] 修复了在按角色限制 Claude Tag 的组织中,新任频道管理员会失去在 Slack 中访问 Claude 权限的问题;现在管理员角色也会授予 Slack 中的 Claude Tag 权限
- [Claude Tag] 修复了 MCP 服务器共享同一主机的自定义连接器在 Claude Tag 管理设置中显示为单个连接器的问题;现在每台服务器都会显示为独立的连接器
- [Claude Tag] 修复了 Claude 在 Slack 中有时会因单次 Slack 查询卡住,而使用“DMs are temporarily unavailable”回复私信并将其丢弃的问题;现在会先进行重试
- [Claude Tag] 修复了在 Slack Enterprise Grid 中向 Claude 发送私信时忽略 Slack 工作区下拉选择的问题;现在会在你最近一次打开 Claude 时所连接的工作区中运行
- [Claude Tag] 修复了 Claude 在 Slack 中关于频道月度支出上限的通知错误地声称频道管理员可以提高上限的问题;现在会明确指出组织所有者,并链接到使用量页面
- [Claude Tag] 修复了 Claude 的 Slack 回复中的链接会吞掉紧随其后的粗体或斜体结束标记,或全角标点,从而破坏链接和格式的问题
- [Claude Tag] 改进了 Claude Tag 管理设置中的仓库搜索:现在最多可覆盖 100 个已连接的 GitHub 账户,并可查找 GitHub App 安装中前 5,000 个之后的私有仓库
- [Claude Tag] 改进了 Claude Tag 管理设置中的“Add place”:现在输入或粘贴频道后会立即将其列出,无需等待组织的完整频道列表加载完成
- [Claude Tag] 改进了 Claude Tag 管理设置中工作区或频道页面上的“Add > Domain”:现在页面加载完成后即可使用,无需等待所有频道加载完成
- [Claude Tag] 更改了 Claude Tag 管理设置的信息组织方式,将 Claude 的访问权限分为四个标签页:Bundles、Connectors、Skills and plugins 和 Channels
- [Claude Tag] 更改了组织设置中的 Roles 页面:为 Claude Tag 频道管理员创建的角色现在会归入组织自有角色下方的折叠分区中
- [代码审查] 修复了离开代码审查设置去连接 GitHub 后,设置流程无法继续的问题;返回管理设置后,现在会重新打开仓库选择器
## What's changed
- Added `CLAUDE_CODE_AUTO_MODE_MODEL` to choose the model the client-side auto mode classifier uses; it does not change the model for server-side auto mode
- Added an `Idle compaction` row to `/config` for turning idle compaction off or back on; the notices shown after an idle compaction now say how to turn it off
- Added a notice to `/design-sync` and `/design-login` that standalone Claude Design (claude.ai/design) closes by December 14, 2026
- Fixed a "Prompt is too long" error when stopping a turn while the conversation was being compacted
- Fixed requests failing with "diagnostics: Extra inputs are not permitted" after switching to Vertex or Bedrock mid-session
- Fixed the Read tool loading an image file of any size, or a pipe or device named like an image, entirely into memory; image sources over 128 MB are now refused
- Fixed `/autocompact` and `/effort` saving to the wrong model when a gateway names Opus 4 or 4.1 with a prefix, such as `anthropic/claude-opus-4-1`
- Fixed a prompt cache miss when a tool added mid-session was loaded again through ToolSearch or after compaction
- Fixed `claude plugin` and other subcommands sometimes exiting before a queued settings or config write finished, which could lose the change or leave a `.tmp` file behind
- Fixed plugin marketplaces re-cloning on every refresh, and newly installed git plugins showing version "unknown", when git defaults to the reftable ref format
- Fixed the PowerShell tool not finding commands in a plugin's `bin/` folder, and reporting an error when a search that finds nothing (rg, grep, findstr, git grep) is piped into `Select-Object` or another formatting cmdlet
- Fixed Claude in the desktop app pointing you to claude.ai settings or `/mcp` to authorize or reconnect an MCP server where that option isn't available
- Fixed artifact publishes sometimes failing when Claude sent an empty list of edits, and Claude retrying an artifact update the wrong way after a newer version of the artifact turned it away
- Fixed `classifier_category` missing from OpenTelemetry `tool_decision` events for most auto mode classifier blocks, and new `tool_decision` attributes pushing out `tool_use_id`, `tool_source` and `tool_parameters` when `OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT` is low
- Fixed rows in the agents view staying blank after moving down a long list or folding a section
- Fixed `claude remote-control --help` not printing its usage and exiting when not signed in
- Fixed `/design consent` and `/design revoke` suggesting `/design-login` when they fail in a cloud session, where it isn't available; the message now points to claude.ai/design/settings
- Fixed MCP servers showing no tools, or every tool call failing, when the server negotiates protocol version 2026-07-28 but omits `resultType`, `ttlMs` or `cacheScope`
- Fixed prompt suggestions spending usage credits on models your plan pays for only with credits: they are now skipped after a reply billed to credits
- Fixed URLs written in backticks being clickable only on their first row when they wrap; the whole URL is now one link in terminals that support hyperlinks
- Fixed `claude plugin details <name>@builtin` suggesting `claude plugin list`, which never shows built-in plugins, when the plugin isn't found; it now points to `/plugin`
- Fixed an emoji that a link starts inside wrapping one column too wide, which hid it in question previews and turned tables into lists
- Fixed worktree isolation refusing to create or resume worktrees under git 2.56 or later when a stray `.git` file points at a directory that doesn't exist
- Fixed a cloud session's cost and usage restarting from zero after the session resumed in a new process
- Self-hosted runner: Fixed git fetches failing with "bad object refs/heads" in sessions that reuse a checkout stored in git's reftable format
- Windows: Fixed every file write being refused or asked about for projects on exFAT or FAT32 drives, including in sessions started with `--plugin-dir`
- Improved startup time with many plugins enabled: plugin command and agent files now take far fewer file system calls to load, most of all on Windows
- Improved auto mode with the server-side classifier: a conversation too long for the safety check is now compacted, instead of every checked tool call being denied
- Improved the message when a background session reopened from another folder has no LLM gateway: it now says why, instead of "Not logged in"
- Changed `claude -p` and Agent SDK sessions with no permission mode to start in `default` mode on third-party providers, with telemetry off or on a fresh install; `--permission-mode auto` keeps auto
- Changed fork subagents (`subagent_type: "fork"`) to be on by default in `claude -p`, the Agent SDK, the desktop app and VS Code, as they already are in the terminal; `CLAUDE_CODE_FORK_SUBAGENT=0` turns them off, and `claude mcp serve` never offers them
- Changed the desktop app and VS Code to always run the main conversation's subagents in the background, as the terminal does, rather than let Claude choose; a subagent's own Agent calls in `claude -p`, the Agent SDK, the desktop app and VS Code now run in the foreground by default
- Changed the `← for agents` footer hint to hide 10 seconds after a session opens; the count of agents waiting on you still shows
- Changed where the Claude in Chrome instructions sit in the system prompt so that new conversations can read them from the shared prompt cache
- Changed prompt and agent hooks so that at most 12 of one event run at a time; the rest wait their turn
- Changed the message shown when your organization's policy turns off `/feedback`: it now points to GitHub issues instead of an organization admin
- [VSCode] Fixed text after an unclosed code block in a list showing as plain text while a reply streams, then turning into code
- [VSCode] Fixed MCP server sign-in from the panel opening a broken authorization page when the server URL contains a query string
- [VSCode] Fixed the `@browser` banner saying "Browser connected" when no browser with the Claude extension can be reached
- [Cloud sessions] Added a banner on a routine's page that says why its last run didn't start, such as your organization reaching its limit on concurrent cloud sessions
- [Cloud sessions] Fixed "Rewind to here" failing on every message except the newest in cloud sessions; self-hosted runners need Claude Code v2.1.246 or later
- [Cloud sessions] Fixed the pull request status bar in cloud sessions flipping a pull request with merge conflicts back to ready while GitHub rechecked it
- [Cloud sessions] Fixed routine runs showing as Completed after their cloud session stopped unexpectedly, and as Cancelled when archived before they started, instead of failed
- [Cloud sessions] Fixed the diff view in cloud sessions missing changes or failing to load after the session's GitHub repository was renamed or moved
- [Cloud sessions] Fixed a scheduled routine run that failed partway being run again from the start an hour or more later, which could repeat work such as posting the same report twice
- [Cloud sessions] Fixed an open cloud session sometimes not showing messages sent from another device until you reloaded the page or clicked away and back
- [Cloud sessions] Improved the error shown when a cloud session fails to start: it now says "Connection lost" or "Server error" instead of "Something went wrong"
- [Remote Control] Fixed a subagent's pane spinning forever in a Remote Control session after your computer goes offline; it now says Remote Control is disconnected
- [Claude Tag] Fixed "is thinking…" staying up under a mention in a Slack channel or DM after Claude answered it by editing one of its earlier messages
- [Claude Tag] Fixed URLs in code blocks under a numbered or bulleted step of Claude's Slack replies being wrapped in angle brackets, which broke copied commands
- [Claude Tag] Fixed HEIC, SVG, TIFF and BMP images attached in Slack never reaching Claude; they now arrive as files in its working files, like other file types
- [Claude Tag] Fixed new channel managers losing access to Claude in Slack in organizations that restrict Claude Tag by role; the manager role now also grants Claude Tag in Slack
- [Claude Tag] Fixed custom connectors whose MCP servers share one host showing as a single connector in Claude Tag admin settings; each server is now its own connector
- [Claude Tag] Fixed Claude in Slack sometimes answering a direct message with "DMs are temporarily unavailable" and dropping it when a single Slack lookup stalled; it now retries first
- [Claude Tag] Fixed direct messages with Claude on a Slack Enterprise Grid ignoring Slack's workspace dropdown; they now run under the connected workspace you last opened Claude in
- [Claude Tag] Fixed Claude in Slack's notice for a channel's monthly spend limit saying a channel manager can raise it; it now names an organization owner and links the usage page
- [Claude Tag] Fixed links in Claude's Slack replies absorbing the closing bold or italic marks, or full-width punctuation, right after them, which broke the link and the formatting
- [Claude Tag] Improved repository search in Claude Tag admin settings to cover up to 100 connected GitHub accounts and find private repositories past the first 5,000 of a GitHub App install
- [Claude Tag] Improved Add place in Claude Tag admin settings to list a channel you type or paste right away, instead of only after your organization's full channel list has loaded
- [Claude Tag] Improved Add > Domain on a workspace's or channel's page in Claude Tag admin settings to be available once that page loads, not only after every channel has loaded
- [Claude Tag] Changed Claude Tag admin settings to organize Claude's access into four tabs: Bundles, Connectors, Skills and plugins, and Channels
- [Claude Tag] Changed the Roles page in organization settings to group the roles created for Claude Tag channel managers in a collapsed section below your organization's own roles
- [Code Review] Fixed Code Review setup not resuming after you leave to connect GitHub; back in admin settings, it now reopens at the repository picker