外部精选
Claude Code · v2.1.314
本文来自外部来源,不是黄奕彬的原创文章。本站提供原文入口,并在采集端生成 AI 结构化摘要、解读与中文翻译(如有),一切以原文为准。
阅读原文(github.com)结构化摘要 AI 生成
背景与问题
背景与问题:这是 Claude Code v2.1.314 的官方发布说明(What's changed),面向该工具的使用者与管理者。它要回答的问题是:本版本相对此前新增了什么、修复了哪些缺陷、哪些行为发生了变化。
内容覆盖 CLI、VS Code 扩展、Claude Desktop、cloud sessions、Remote Control、Claude Tag(Slack 集成)与 self-hosted runner 等使用形态。
方法或内容
方法或内容:发布说明以条目列表陈述变更,分为:
- Added:新增
permissions.blockWritesOutsideWorkingDirectories、Claude apps gateway upstreams 的可选groups列表、Bedrock upstreams 的guardrail_trace、VS Code 与 Claude Desktop Code tab 的空闲压缩。 - Fixed:数十项缺陷修复,覆盖 CLI、网关、MCP、TLS、vim 模式等。
- Improved / Updated / Changed:内存与速度优化、提示文案、若干行为调整。
- 按组件分组:核心 CLI、
[VSCode]、[Cloud sessions]、[Remote Control]、[Claude Tag]、Self-hosted runner。
关键发现 / 结果
关键发现或结果:
- 新增:
Write/Edit/NotebookEdit在所有权限模式下拒绝工作目录之外的路径;网关 upstreams 按 IdPgroups分流(failover 时同样生效);guardrail_trace记录命中的 Bedrock guardrail 过滤器、不含匹配文本;200K+ token 空闲会话被摘要,prompt cache 过期后下一条消息使用摘要。 - 代表性修复:
claude -p启动失败现在打印错误并以退出码 1 退出;组织管理员封顶 effort 时自动降级重试并说明所用级别;Bedrock 多图会话的 "400 Input is too long";TLSUNABLE_TO_GET_ISSUER_CERT;带点模型 ID(如claude-opus-4.8)被误判为旧模型。 - 改进:长 headless/SDK 回合中父会话不再保留每个 subagent 的工具结果;
Ctrl+R可匹配折叠[Pasted text]内的文字;/context在上万 MCP 工具的会话中更快。 - 资源上限:
PreCompacthook 输出截断至 10,000 字符;~/.claude/skills/.trash与~/.claude/plugins/.trash各保留约 1024 条。
结论与意义
结论与意义:原文未给出单独的结论段落;作为发布说明,其隐含结论是 v2.1.314 提升了稳定性、权限边界与多环境兼容性。适用边界:所有条目仅描述该版本的行为,原文未说明这些修复与变更是否适用于更早或更晚的版本。
AI 解读 AI 生成
方法:按「时空变量」分析(时间 / 空间 / 变量,严格区分包含、相关与因果),对象包括原文作者、署名人员与关键技术及其实际原理;结论用「元反空」(元思考、反思考、空思考、综合)整理。
时间:何时发生,现在是否仍成立
时间:对应 GitHub release 标签 v2.1.314、提交 b3f291d,来源日期为北京时间 2026-10-30 09:06:26。页面标注 main 分支在该 release 之后已有 2 个提交。这些变更声明的是发布时刻的状态;现在是否仍成立取决于后续版本,原文未说明。
空间:谁的环境 / 场景
空间:适用于 Claude Code v2.1.314 用户,具体包括:
- 核心 CLI、
claude -p无头模式与 SDK。 - VS Code 扩展与 Claude Desktop(Code tab)。
- Cloud sessions(Anthropic 云端及 claude.ai web/desktop/mobile 客户端)、Remote Control、self-hosted runner。
- Claude apps gateway 及其 Amazon Bedrock、Vertex、Microsoft Foundry、LLM gateway 上游。
- Claude Tag(Slack 集成),含 Enterprise Grid 与 Slack Connect 场景。
- 使用 MCP 服务器、vim 模式、sandbox、hooks、插件与 skills 的用户。
变量:实际改变了什么
变量:相对此前实际改变(按原文):
- 新增能力:工作目录外写入被统一拒绝、网关按 IdP 组分流、
guardrail_trace日志、空闲压缩(并扩展到关闭遥测的订阅者,以及开启一小时 prompt cache 的 Bedrock/Vertex/Foundry/LLM 网关)。 - 行为语义变化:auto mode 中 hook 对 MCP 工具调用的 allow 计为无答案;
FORCE_HYPERLINK=false/no/off由开启改为关闭超链接;/permissionsRecently blocked 拒绝批准无法完整阅读的调用;文件工具编辑服务器管理设置前先询问。 - 资源上限:hook 输出截断至 10,000 字符,两个 trash 目录各约 1024 条。
- 数十项缺陷修复与性能改进(内存、
--resume、/context速度等)。
区分:包含 ≠ 相关 ≠ 因果
区分:发布说明的因果声明即各条 "Fixed" 本身。
- 明确因果(原文声称):
claude -p启动失败曾以退出码 0 且无输出结束,现打印错误并以 1 退出;PreCompacthook 输出过大导致压缩失败或重复,现截断;带点模型 ID 被误判为旧模型导致错误的上下文窗口、输出上限等参数。 - 条件关系而非简单因果:空闲压缩的摘要在 prompt cache 已过期时才用于下一条消息。
- 仅相关:页面中 "2 commits to main since this release" 等信息只是并列出现。原文未说明各修复的根因细节。
对象:作者/署名与关键技术原理
对象:作者/署名为 ashwin-ant(来自结构化作者字段,发布于 Claude Code releases)。关键技术及原文描述的原理:
- 权限系统:
permissions.blockWritesOutsideWorkingDirectories使Write/Edit/NotebookEdit在所有权限模式下拒绝工作目录之外的路径。 - 网关:upstreams 支持可选
groups,仅所列 IdP 组的开发者被路由到该 upstream,failover 时同样;Bedrock upstreams 的guardrail_trace记录命中的 guardrail 过滤器、不含匹配文本。 - 空闲压缩:200K+ token 会话闲置后被摘要,prompt cache 过期时下一条消息改用摘要。
- 其他:MCP 登录与登出、sandbox、hooks(
Monitor(tail *)匹配语义改为等同Bash(tail *))、Remote Control 会话、Claude Tag 的 Slack 集成。
元反空综合结论
元反空综合:
- 元:这份内容本质是版本变更公告,解决"该版本改了什么、影响哪些环境、是否改变既有工作流"的信息问题,供用户决定升级与排查。
- 反:最可能失效或有边界的主张——各 "Fixed" 的效果依赖具体环境(特定网关、macOS 证书库、SSH、CI 等),原文未附复现数据或测试结果;行为变化(hook allow 计为无答案、trash 上限约 1024 条、hook 输出截断 10,000 字符)可能改变用户既有流程;带点模型 ID 的修复仅针对 LLM gateway 后的场景。
- 空:去掉叙事后剩余的必要事实是——版本
v2.1.314、提交b3f291d、北京时间 2026-10-30 发布、4 项新增与数十项修复/改进/变更,覆盖 CLI、VS Code、cloud sessions、Remote Control、Claude Tag 等组件。 - 综合:这是一次以稳定性与边界条件为主的维护性发布;其中权限边界、网关分流与资源上限等变更是明确、可验证的,对各项修复实际效果的判断需以该版本的实际行为为准。
中文译文 AI 生成
· 自本版本发布以来,已有 2 个提交进入 main
不可变版本。仅版本标题和说明可被修改。
b3f291d
更新内容
- 新增
permissions.blockWritesOutsideWorkingDirectories:Write、Edit和NotebookEdit在每种权限模式下都会拒绝工作目录之外的路径 - 为 Claude apps gateway 上游新增可选的 groups 列表:只有所列 IdP 组中的开发者会被发送到该上游,故障转移时也是如此
- 为 Claude apps gateway 的 Bedrock 上游新增
guardrail_trace,用于记录某次请求触发了哪个 Amazon Bedrock guardrail 过滤器,且不包含被匹配的文本 - 为 VS Code 和 Claude Desktop 的 Code 标签页新增空闲压缩(idle compaction):超过 200K token 的对话闲置后会被摘要,若 prompt cache 已过期,该摘要将用于你的下一条消息
- 修复了当组织管理员限制某个模型的 effort 时,会话一轮接一轮地以
Invalid effort level失败的问题:Claude Code 现在会降低 effort、重试,并说明它使用的级别 - 修复了
claude -p在启动失败时以退出码 0 退出且无输出的问题;现在会打印错误并以 1 退出 - 修复了包含大量图片的 Bedrock 会话每一轮以及
/compact都以400 Input is too long.失败、而不是移除较旧图片并压缩的问题 - 修复了当资源没有为默认的 Sonnet、Opus 或 Haiku 模型提供部署时,Microsoft Foundry 会话失败的问题:Claude Code 现在会回退到该系列较旧的模型
- 修复了在不接受 tool search 的
tool_reference块的网关后方请求反复被拒绝的问题:请求会被再发送一次(不带 tool search),且会话会记住这一点 - 修复了当系统证书存储中持有与其前代交叉签名的已续期根证书时,TLS 连接以
UNABLE_TO_GET_ISSUER_CERT失败的问题 - 修复了同样可在未登录状态下工作的 MCP 服务器在其存储的登录失效后显示
needs authentication的问题;现在会以登出状态使用它们 - 修复了当 MCP 登录未被移除时
claude mcp logout仍报告成功的问题,例如通过 SSH 访问时 macOS 钥匙串处于锁定状态 - 修复了多个会话共享同一 Anthropic profile 登录且凭据锁被占用时产生额外登录续期的问题
- 修复了
claude ultrareview和claude remote-control在带有终端的 CI 任务中询问工作区信任问题;设置了 CI 后,它们现在会立即拒绝不受信任的文件夹 - 修复了管理员在 managed settings 中的 TLS 信任设置未在 Claude Desktop 会话中应用的问题
- 修复了在带有 managed plugin settings 的机器上,当你的某个
--plugin-dir或--plugin-url插件的 manifest 损坏或下载失败时,模型切换被拒绝的问题 - 修复了当 managed settings 固定了模型时,Bedrock 和 Vertex 的模型升级提示在每次启动时都重新出现的问题
- 修复了仅在远程 managed settings 中设置的
forceRemoteSettingsRefresh在存储副本过期后不再应用的问题,该问题曾导致在无法访问服务器时,会话在没有策略的情况下启动 - 修复了当任务在等待间隙自行重启时(一次
/goalcheck-in、一个后台任务或定时任务),“Continue automatically at usage limit” 无需你提示即继续超过三次的问题 - 修复了以 Ultracode 启动的后台和云会话在该功能被关闭后,下次启动时又将其重新打开的问题
- 修复了在 Claude 放弃一个无法解析的工具调用后,最后一条损坏的回复及其重试提示仍留在对话中的问题
- 修复了输出极大的 PreCompact hook 导致压缩失败或反复执行的问题;现在每个 hook 的输出都会在 10,000 字符处截断
- 修复了后台 diff 刷新短暂占用仓库 index 锁的问题,这可能导致同一时刻运行的 git 命令以
Unable to create '.git/index.lock': File exists失败 - 修复了流式输出期间 markdown 表格在输入到一半的行上于网格与堆叠布局之间来回跳变,以及长表格回退为原始竖线(pipe)的问题
- 修复了当会话只运行了斜杠命令时,
/resume选择器把CLAUDE.md或CLAUDE.local.md的文本显示为会话标题的问题 - 修复了在子代理的已打开记录中提问时,
/btw从主对话作答的问题 - 修复了通过 SSH 向 Linux 机器粘贴图片时静默无任何动作的问题;现在提示会说明需将文件复制过去并粘贴其路径
- 修复了会话服务短暂变慢时
claude remote-control会话启动失败的问题:现在会以递增的等待时间重试 worker 的注册 - 修复了通过 Remote Control 进行的耗时超过 8 秒的模型切换收到
still pending错误而非最终结果的问题 - 修复了
sandbox.excludedCommands设置描述声称所列命令总是在沙盒之外运行的问题;现在改为说明一次调用中的每个命令都必须与某一条目匹配 - 修复了被 auto mode、deny 规则或 PreToolUse hook 阻止、或因其他原因未运行的 shell 和 MCP 调用,在折叠的工具组中显示得如同运行过一样的问题
- 修复了沙盒保护未应用于通过
claude -p --resume或--continue进入的 worktree 的问题 - 修复了匹配 Bash 的 hooks 不在 Monitor 工具启动的 shell 命令上运行的问题;此类 hooks 可以阻止或询问这些命令,但不能批准或改写它们
- 修复了被
--setting-sources排除的设置文件仍提供某些设置的问题,例如 auto mode 规则和已保存的权限同意 - 修复了当 auto mode 的安全检查未给出判定时,将调用报告为已阻止并在
/permissions中列出的问题 - 修复了 Claude apps gateway 的 Vertex 上游在 Google token 端点接受连接却从不应答时挂起数分钟的问题
- 修复了 Claude apps gateway 针对其仍按原样服务的已弃用 Claude Desktop key 的启动警告,该警告称该 key 在其结束日期之后 “stops being accepted”
- 修复了对于通过 App Store 或 Google Play 计费的套餐,
/upgrade打开浏览器并开始新登录的问题;现在会说明在哪里更改套餐 - 修复了
--resume以及在被拒绝后回退越过一次到其他模型的切换时,将使用 Claude Code 无法识别的模型名称的会话移到其他模型的问题 - 修复了当网关或云服务提供商按名称拒绝 Claude Code 的某个 beta 头(header)时请求失败的问题:现在会在不携带该头的情况下重新发送请求
- 修复了在 LLM 网关之后以圆点拼写的模型 ID(例如
claude-opus-4.8)被当作较旧模型处理的问题,此前会得到错误的上下文窗口、输出上限、effort、思考模式和成本 - 修复了 Remote Control 客户端在
/compact之后显示多余的 "Compacted (ctrl+o to see full summary)" 行的问题 - 修复了当组织策略关闭相应功能时,云端会话提示和 Remote Control 空闲提醒仍然显示的问题
- 修复了恢复的 claude.ai 云端会话在上一个 worker 恰好在收到新聊天的文件后停止时,进行一次无人请求的模型调用的问题
- 修复了 Cowork 云端会话中 WebFetch 静默丢弃 PDF 中超过 100,000 字符的文本的问题;现在会说明未读取的量以及在哪里继续阅读
- 修复了在云端会话或 IDE 中用 Esc 或 Stop 停止某个命令后,Claude 只被告知该命令被拒绝的问题;现在它还会得知该命令可能已经运行
- 修复了当代码块开启一个引用时,代码块顶部的空行消失的问题
- 修复了转录视图(Ctrl+O)中某些 ⎿ 行上方出现空行的问题
- 修复了 vim 模式中
dw、dW、yw和yW越过行尾继续执行的问题,并让w和W在空行处停止 - 修复了当另一个 agent 启动或完成时,agent 面板中的
x和 Enter 有时作用在错误 agent 上的问题 - 修复了在 Claude 的提问对话框中,除非 "Other" 行获得焦点,否则粘贴的文本和拖入的文件会丢失的问题
- 修复了当提示栏底部(prompt footer)的某一行被选中时,粘贴的文本丢失的问题
- 修复了 vim 模式
p在字符选区上忽略所复制文本是否为整行的问题 - 修复了 vim 模式
aw和iw把行尾换行符包含进去的问题 - 修复了
↓选中被?帮助菜单、命令列表或粘贴提示遮挡的底部项的问题 - 修复了在命令面板(如
/btw)上按 Esc 也会中断其转录处于打开状态的 subagent 的问题 - 修复了全屏模式下,在查看运行于不同模型的 subagent 或 teammate 时,欢迎头部仍显示会话模型的问题
- 修复了在回退(rewind)菜单中执行 "Restore conversation" 时,若已向上滚动,全屏转录会停留在对话中间的问题
- 修复了一个罕见情况:已删除的会话可能以几乎为空的条目重新出现在 resume 列表中
- 修复了包含
<bash-stdout>或<local-command-stdout>等标签的提示未被确认给本地 stream-json 主机的问题 - 修复了当首个提示失败(例如因用量限制)而对话随后继续时,会话保持无标题的问题
- 修复了 skill 文件监视器检查
~/.claude/skills/.trash中保留的每个已移除 skill 的问题,该行为会增加文件系统负载,且随每次移除而增长 - 修复了在 Claude 请求权限或计划决策期间,来自
/rename的会话名称消失的问题,使并排会话保持可辨识 - 修复了启动失败的后台会话在二进制文件仍在磁盘上时被报告为守护进程二进制文件已删除的问题
- 修复了当
/config中的推送设置被隐藏或组织已关闭 Remote Control 时,推送通知提示和空闲提醒仍然出现的问题 - 修复了
~/.claude/skills/.trash和~/.claude/plugins/.trash无限增长的问题:无论cleanupPeriodDays设为何值,两者现在各自保留约 1024 个条目 - 修复了在 git 行尾转换下的 CRLF 文件被原样重新保存或仅编辑一行时,Bash 编辑 diff 将整个文件列为已更改的问题
- Self-hosted runner:修复了当 runner 发出的暂停请求在 Anthropic 应答之前失去连接时,空闲会话被移动到另一个 runner 而非暂停的问题
- 改善了运行多个 subagent 的长 headless 与 SDK 回合中的内存使用:父会话不再保留每个 subagent 的工具结果直到回合结束
- 改进了提示历史:Ctrl+R 现在可以匹配折叠的 [Pasted text] 胶囊(pill)内的文本
- 改进了
/design-sync上传提示,使其显示将要上传或删除的文件夹、项目和文件 - 改进了
/permissions的审查标签页(现名为 Recently blocked):底部会说明 Esc 将对标记行执行的操作 - 改进了 auto 模式被阻止的调用:消息会指出命令名称、说明 Claude 可能重试且 auto 模式会再次检查,并指向
/permissions进行审查 - 改进了权限提示:较长的理由占用更少的行,因此在更少的终端上会把正在批准的命令挤出屏幕
- 改进了在因 claude.ai 登录被拒绝的请求仍在重试时显示的云端会话错误:现在还会建议
claude auth login - 改进了当 MDM 与远程设置在 base URL 或
apiKeyHelper上不一致时,已存储的 claude.ai、Team 和 Enterprise 登录的行为 - 改进了 agent 视图中的
/config,说明如何停止 agent 视图默认打开 - 改进了会话自动标题:以 skill 或基于提示的命令(如
/security-review)开始的会话现在会从中获得标题,而不是保持无标题 - 改进了在受损转录上
--resume的速度和内存使用 - 改进了拥有一万个或更多 MCP 工具的会话中
/context的速度 - Self-hosted runner:改进了会话分支不在 git 远程仓库上时显示的错误:现在涵盖从未推送过的分支,说明每种情况的修复方法,并且不再建议重试
- 更新了
/claude-apiskill:其用于 API 追踪的 Datadog 设置现在像 Console 一样发送dd-llmobs-enabled: true头,其ant安装说明去掉了过时的 macOSxattr步骤 - 更新了捆绑的 dataviz skill,建议在低于 10,000 时完整打印 y 轴刻度标签,在低于一百万且放得下时完整打印横向标签
- 更新了捆绑的 dataviz skill,用排序条形图或打印其数值的分段条形图来回应环形图和饼图请求
- 更改了 Claude 的文件工具,使其在编辑组织服务器管理设置的本地副本前先询问,与其对用户设置文件的做法一致
- 更改了
/ultrareview,使其在运行 git 之前检查工作区信任,与claude ultrareview的做法一致 - 更改了 Bash 工具的 shell,使其清除任何继承的
which别名或函数,并停止把导出的which/unsetenv函数传给命令,这样which就是系统命令或 zsh 内建命令。 - 更改了
/permissions的 "Recently blocked":现在会拒绝批准你无法完整查看的调用,包括终端太短而显示不下的调用。 - 更改了 Cowork 云会话中的 auto 模式:hook 对 MCP 工具调用的 allow 现在计为无回答,因此由分类器或权限提示来决定。
- 更改了 hook 的 if 条件(如
Monitor(tail *)),使其像Bash(tail *)匹配 Bash 命令那样,去匹配 Monitor 工具的 shell 命令。 - 更改了
claude-apiskill:在为改进某次运行而更改 agent 之前,会先请求读取该 Managed Agents 工作流运行的 workflow。 - 更改了被标记请求的行为:当
ANTHROPIC_DEFAULT_OPUS_MODEL、availableModels或deniedModels只剩下一个较旧的 Opus 模型、或一个都不剩时,改为在另一个模型上重试,而不是以拒绝结束。 - 更改了空闲压缩,使其也面向关闭了遥测的订阅用户运行,并且在 Bedrock、Vertex、Foundry 和 LLM 网关上,一旦启用一小时 prompt cache 就会运行。
- 更改了
FORCE_HYPERLINK=false(包括no和off),使其关闭超链接而非开启。 - macOS:更改了 Claude 运行的大多数命令中的
git grep,使其使用 C locale,以避免 macOS 的正则表达式库在非有效 UTF-8 文件上出现的已报告内存泄漏。 - [VSCode] 修复了 MCP 服务器的 "Clear authentication" 在已保存的登录信息无法移除时仍报告成功的问题。
- [VSCode] 修复了排队消息的 hook 运行期间缺少 spinner 和 Stop 按钮的问题。
- [VSCode] 修复了无法保存的会话组更改(例如删除)静默失败的问题;现在会出现错误通知。
- [VSCode] 修复了
Cmd+F/Ctrl+F在 plan preview 标签页中打不开查找控件的问题。 - [VSCode] 修复了语音听写快捷键(
Ctrl+D)在俄语、希腊语或希伯来语等非拉丁键盘布局下毫无反应的问题。 - [VSCode] 修复了扩展在未打开聊天的情况下启动时,被错过的一次性已保存计划任务会未经询问即被删除的问题。
- [VSCode] 更改了
CLAUDE_CODE_DISABLE_CFC_PROMPT,使其同时阻止扩展将 Claude in Chrome 说明添加到会话消息中;浏览器工具仍然可用。 - [Cloud sessions] 在 Scheduled tasks 页面添加了 Include completed 按钮,用于仅有已完成的一次性任务被隐藏的情形,这样你无需打开 Sort 菜单即可显示它们。
- [Cloud sessions] 修复了最近使用的自托管环境从不出现在新会话卡片的最近环境中的问题。
- [Cloud sessions] 修复了在 Claude 把分支移动到它从另一个 worktree 推送过的某个 commit 之后,云会话每一轮都报告未提交更改的问题。
- [Cloud sessions] 修复了管理设置中自托管环境详情对话框在极短的窗口或高缩放下把内容挤出可视范围的问题;该对话框现在可以滚动。
- [Cloud sessions] 修复了运行中的云会话或 Remote Control 会话拒绝切换后,权限模式选择器仍停留在 Auto 的问题;现在它会显示正在使用的模式并告知你。
- [Cloud sessions] 改进了计划任务:在 Anthropic 云中的运行现在会加载你在 claude.ai 账户上启用的插件。
- [Cloud sessions] 改进了管理设置中 GitHub Enterprise 的 Test connection,使其也按云会话的方式进行连接,并在第二次测试失败时向你发出警告。
- [Cloud sessions] 改进了云会话记录:重命名行现在会标出新标题,仓库和环境列表以表格而非一行 JSON 的形式显示。
- [Cloud sessions] 更改了来自 Web、桌面和移动应用的云会话,使其在 setup 脚本以错误退出时也能启动,而不是启动失败。
- [Remote Control] 修复了 Remote Control 会话中的权限模式按钮在你输入之前显示错误模式的问题;当你的计算机在线时,它现在在打开时会显示真实模式。
- [Claude Tag] 在管理设置的 Bundles 和 Channels 标签页添加了指向 Claude Tag API 文档的可关闭链接,面向已连接 Slack 的 Enterprise 组织。
- [Claude Tag] 修复了在跨 Enterprise Grid workspace 共享的频道中,
@Claude !restart在一次 workspace 检查失败后即放弃的问题;现在它会重试,然后请你再次运行它。 - [Claude Tag] 修复了你在几分钟内从同一链接通过 Slack 连接 Claude 账户两次时,出现第二条确认 DM 和频道通知的问题。
- [Claude Tag] 修复了当 Claude 的会话等待自托管 runner 时,Slack 中的后续消息没有任何进展迹象的问题;Claude 现在会在会话串中发布等待通知。
- [Claude Tag] 修复了在双方组织都安装了 Claude 的 Slack Connect 频道中,Claude 有时不回应其自身会话串中 tag 的问题。
- [Claude Tag] 修复了 Claude Tag 管理设置中插件和 skill 页面上的 Retry 在加载失败后丢弃未保存的访问权限更改的问题;你的编辑现在会保留在原处。
- [Claude Tag] 修复了 Claude Tag 管理设置中的仓库控件把同一操作显示两次的问题;其菜单现在只列出该按钮本身尚未执行的操作。
展开原文提取正文(采集端自动提取,可能有缺失)
·
2 commits
to main since this release
Immutable release. Only release title and notes can be modified.
b3f291d
What's changed
Added permissions.blockWritesOutsideWorkingDirectories: Write, Edit and NotebookEdit refuse paths outside the working directories in every permission mode Added an optional groups list to Claude apps gateway upstreams: only developers in the listed IdP groups are sent to that upstream, on failover too Added guardrail_trace to Claude apps gateway Bedrock upstreams, to log which Amazon Bedrock guardrail filter fired on a request, without the matched text Added idle compaction to VS Code and Claude Desktop's Code tab: a 200K+ token conversation left idle is summarized, and the summary is used on your next message if the prompt cache has expired Fixed sessions failing turn after turn with "Invalid effort level" when an organization's admin caps a model's effort: Claude Code now lowers the effort, retries, and says which level it uses Fixed claude -p exiting with code 0 and no output when startup failed; it now prints the error and exits 1 Fixed Bedrock sessions with many images failing every turn and /compact with "400 Input is too long." instead of removing older images and compacting Fixed Microsoft Foundry sessions failing when the resource has no deployment for the default Sonnet, Opus or Haiku model: Claude Code now falls back to an older model of that family Fixed repeated refused requests behind a gateway that doesn't accept tool search's tool_reference blocks: the request is sent again once without tool search, and the session remembers Fixed TLS connections failing with UNABLE_TO_GET_ISSUER_CERT when the system certificate store holds a renewed root certificate that is cross-signed with its predecessor Fixed MCP servers that also work without sign-in showing "needs authentication" after their stored sign-in stopped working; they are now used signed out Fixed claude mcp logout reporting success when the MCP sign-in was not removed, for example while the macOS keychain is locked over SSH Fixed extra sign-in renewals when several sessions share an Anthropic profile login and the credentials lock is busy Fixed claude ultrareview and claude remote-control asking the workspace trust question in a CI job that has a terminal; with CI set they now refuse an untrusted folder at once Fixed an administrator's TLS trust settings in managed settings not being applied in Claude Desktop sessions Fixed model switching being refused on machines with managed plugin settings when one of your own --plugin-dir or --plugin-url plugins had a broken manifest or failed to download Fixed the Bedrock and Vertex model upgrade offer coming back at every start when managed settings pin the model Fixed forceRemoteSettingsRefresh set only in remote managed settings no longer applying once the stored copy had expired, which let sessions start without policy when the server could not be reached Fixed "Continue automatically at usage limit" continuing more than three times without a prompt from you when a task restarted itself between waits (a /goal check-in, a background or scheduled task) Fixed background and cloud sessions started with Ultracode turning it back on at their next start after it had been switched off Fixed the last broken reply and its retry prompts staying in the conversation after Claude gave up on a tool call that could not be parsed Fixed a PreCompact hook with very large output making compaction fail or repeat; each hook's output is now cut at 10,000 characters Fixed background diff refreshes briefly taking the repository's index lock, which could make a git command run at the same moment fail with "Unable to create '.git/index.lock': File exists" Fixed markdown tables jumping between grid and stacked layouts on half-typed rows while streaming, and long tables falling back to raw pipes Fixed the /resume picker showing the text of CLAUDE.md or CLAUDE.local.md as a session's title when the session only ran slash commands Fixed /btw answering from the main conversation when asked from a subagent's open transcript Fixed pasting an image over SSH to a Linux machine doing nothing silently; the prompt now says to copy the file over and paste its path Fixed claude remote-control sessions that failed to start when the session service was slow for a moment: the worker's registration is now retried with growing waits Fixed model switches over Remote Control that take over 8 seconds getting a "still pending" error instead of the final result Fixed the sandbox.excludedCommands setting description saying listed commands always run outside the sandbox; it now says every command in a call must match an entry Fixed shell and MCP calls that auto mode, a deny rule or a PreToolUse hook blocked, or that otherwise did not run, reading as if they ran in a collapsed tool group Fixed sandbox protections not applying to a worktree entered by claude -p --resume or --continue Fixed hooks matching Bash not running on shell commands started by the Monitor tool; such hooks can block or ask, but not approve or rewrite those commands Fixed a settings file excluded with --setting-sources still supplying some settings, such as auto mode rules and saved permission consents Fixed auto mode reporting a call as blocked, and listing it in /permissions, when its safety check gave no verdict Fixed a Claude apps gateway Vertex upstream hanging for minutes when a Google token endpoint accepts the connection and never answers Fixed the Claude apps gateway's start-up warning for a deprecated Claude Desktop key that it still serves as written saying "stops being accepted" after the key's end date Fixed /upgrade opening the browser and starting a new login for plans billed through the App Store or Google Play; it now says where to change the plan Fixed --resume, and rewinding past a switch to another model after a refusal, moving a session on a model name Claude Code doesn't recognize to a different model Fixed requests failing when a gateway or cloud provider refuses one of Claude Code's beta headers by name: the request is sent again without it Fixed model IDs spelled with a dot behind an LLM gateway, such as claude-opus-4.8, being treated as an older model with the wrong context window, output limit, effort, thinking mode and cost Fixed Remote Control clients showing a stray "Compacted (ctrl+o to see full summary)" row after /compact Fixed the cloud sessions tip and the Remote Control idle notice showing when an organization's policy turns those features off Fixed a resumed claude.ai cloud session making a model call nobody asked for when the previous worker stopped just after receiving a new chat's files Fixed WebFetch in Cowork cloud sessions silently dropping a PDF's text past 100,000 characters; it now says how much was unread and where to read on Fixed Claude being told only that a command was declined after you stopped it with Esc or Stop in a cloud session or the IDE; it now also hears that the command may have run Fixed blank lines at the top of a code block disappearing when the code block opens a quote Fixed a blank line appearing above some ⎿ rows in the transcript view (Ctrl+O) Fixed vim mode dw, dW, yw and yW carrying on past the end of the line, and made w and W stop on empty lines Fixed x and Enter in the agent panel sometimes acting on the wrong agent when another agent started or finished Fixed pasted text and dragged-in files being lost in Claude's question dialog unless the "Other" row had focus Fixed pasted text being lost when a row in the prompt footer was selected Fixed vim mode p over a character selection ignoring whether the yanked text was whole lines Fixed vim mode aw and iw taking the line break at the end of a line Fixed ↓ selecting footer items hidden by the ? help menu, the command list or a paste hint Fixed Esc on a command's panel, such as /btw, also interrupting the subagent whose transcript is open Fixed the welcome header in fullscreen mode showing the session's model while viewing a subagent or teammate that runs on a different model Fixed the fullscreen transcript being left mid-conversation after "Restore conversation" in the rewind menu while scrolled up Fixed a rare case where a deleted session could reappear in the resume list as an almost empty entry Fixed prompts containing tags such as <bash-stdout> or <local-command-stdout> not being acknowledged to a local stream-json host Fixed sessions staying untitled when the first prompt failed (for example on a usage limit) and the conversation continued afterward Fixed the skill file watcher checking every removed skill kept in ~/.claude/skills/.trash, which added file system load that grew with each removal Fixed the session name from /rename disappearing while Claude asks for permission or a plan decision, so side-by-side sessions stay identifiable Fixed background sessions that fail to start being reported as a deleted daemon binary when the binary is still on disk Fixed the tip and idle reminder about push notifications appearing when the push settings in /config are hidden or your organization has turned off Remote Control Fixed ~/.claude/skills/.trash and ~/.claude/plugins/.trash growing without limit: each now holds about 1024 entries, whatever cleanupPeriodDays says Fixed the Bash edit diff listing a whole file as changed when a CRLF file under git's line-ending conversion was re-saved unchanged or had one line edited Self-hosted runner: Fixed an idle session moving to another runner instead of pausing when the runner's request to pause it lost its connection before Anthropic answered Improved memory use in long headless and SDK turns that run many subagents: the parent session no longer keeps each subagent's tool results until the turn ends Improved prompt history: Ctrl+R now matches text inside collapsed [Pasted text] pills Improved the /design-sync upload prompt to show the folder, the project and the files it will upload or delete Improved /permissions review tab, now called Recently blocked: the footer says what Esc will do with marked rows Improved auto mode's blocked calls: messages name the command, say Claude may retry and auto mode checks again, and point to /permissions to review Improved permission prompts: a long reason takes fewer rows, so it pushes the command being approved off the screen on fewer terminals Improved the cloud session error shown while a request refused for your claude.ai login is still being retried: it now also suggests claude auth login Improved the behavior of stored claude.ai, Team, and Enterprise logins when MDM and remote settings differ on base URL or apiKeyHelper Improved /config in agent view to say how to stop agent view opening by default Improved session auto-titles: a session that starts with a skill or a prompt-based command such as /security-review now gets a title from it instead of staying untitled Improved --resume speed and memory use on damaged transcripts Improved /context speed in sessions with ten thousand or more MCP tools Self-hosted runner: Improved the error shown when a session's branch isn't on the git remote: it now covers a never-pushed branch, says how to fix each case, and no longer suggests retrying Updated the /claude-api skill: its Datadog setup for API tracing now sends the dd-llmobs-enabled: true header, as the Console does, and its ant install instructions drop the outdated macOS xattr step Updated the bundled dataviz skill to advise printing y-axis tick labels in full under 10,000, and horizontal ones in full under a million where they fit Updated the bundled dataviz skill to answer donut and pie chart requests with ranked bars or a segmented bar that prints its values Changed Claude's file tools to ask before editing the local copy of your organization's server-managed settings, as they do for your settings files Changed /ultrareview to check workspace trust before it runs git, as claude ultrareview does Changed the Bash tool's shell to clear any inherited which alias or function and to stop passing exported which/unsetenv functions to commands, so which is the system command or zsh builtin Changed /permissions Recently blocked to refuse approving a call you can't read in full, including one the terminal is too short to show Changed auto mode in Cowork cloud sessions: a hook's allow of an MCP tool call now counts as no answer, so the classifier or a permission prompt decides Changed hook if conditions such as Monitor(tail *) to match the Monitor tool's shell commands as Bash(tail *) matches Bash's Changed the claude-api skill to ask to read a Managed Agents workflow run's workflow before changing the agent to improve that run Changed flagged requests to retry on another model, not end in a refusal, when ANTHROPIC_DEFAULT_OPUS_MODEL, availableModels or deniedModels leaves only an older Opus model, or none Changed idle compaction to also run for subscribers with telemetry turned off, and on Bedrock, Vertex, Foundry and LLM gateways once the one-hour prompt cache is on Changed FORCE_HYPERLINK=false (also no and off) to turn hyperlinks off instead of on macOS: Changed git grep in most commands that Claude runs to use the C locale, to avoid a reported memory leak in macOS's regex library on files that aren't valid UTF-8 [VSCode] Fixed "Clear authentication" for MCP servers reporting success when the saved sign-in could not be removed [VSCode] Fixed missing spinner and Stop button while a queued message's hooks run [VSCode] Fixed session group changes that cannot be saved, such as a delete, failing silently; an error notification now appears [VSCode] Fixed Cmd+F / Ctrl+F not opening the find widget in the plan preview tab [VSCode] Fixed the voice dictation shortcut (Ctrl+D) doing nothing under non-Latin keyboard layouts such as Russian, Greek or Hebrew [VSCode] Fixed missed one-time saved scheduled tasks being deleted without asking when the extension opened without a chat [VSCode] Changed CLAUDE_CODE_DISABLE_CFC_PROMPT to also stop the extension adding the Claude in Chrome instructions to a session's messages; the browser tools stay available [Cloud sessions] Added an Include completed button to the Scheduled tasks page when finished one-off tasks are the only ones hidden, so you can show them without opening the Sort menu [Cloud sessions] Fixed recently used self-hosted environments never appearing among the recent environments on the new session card [Cloud sessions] Fixed cloud sessions reporting uncommitted changes every turn after Claude moved a branch to a commit it had pushed from another worktree [Cloud sessions] Fixed the self-hosted environment details dialog in admin settings squeezing its content out of view in very short windows or at high zoom; the dialog now scrolls [Cloud sessions] Fixed the permission mode picker staying on Auto after a running cloud or Remote Control session refused the switch; it now shows the mode in use and tells you [Cloud sessions] Improved scheduled tasks: runs in Anthropic's cloud now load the plugins enabled on your claude.ai account [Cloud sessions] Improved Test connection for GitHub Enterprise in admin settings to also connect the way cloud sessions do, and to warn you when that second test fails [Cloud sessions] Improved cloud session transcripts: a rename row now names the new title, and repository and environment lists show as a table instead of one line of JSON [Cloud sessions] Changed cloud sessions from the web, desktop and mobile apps to start even when a setup script exits with an error, instead of failing to start [Remote Control] Fixed the permission mode button in Remote Control sessions showing the wrong mode until you typed; while your computer is online it now shows the real mode on open [Claude Tag] Added a dismissible link to the Claude Tag API docs on the Bundles and Channels tabs in admin settings, for Enterprise organizations with Slack connected [Claude Tag] Fixed @Claude !restart giving up after one failed workspace check in channels shared across Enterprise Grid workspaces; it now retries, then asks you to run it again [Claude Tag] Fixed a second confirmation DM and channel note when you connect your Claude account from Slack twice from the same link within a few minutes [Claude Tag] Fixed follow-up messages in Slack showing no sign of progress while Claude's session waits for a self-hosted runner; Claude now posts a wait notice in the thread [Claude Tag] Fixed Claude sometimes not answering a tag in its own thread in Slack Connect channels where both organizations have installed Claude [Claude Tag] Fixed Retry on plugin and skill pages in Claude Tag admin settings discarding unsaved access changes after a failed load; your edits now stay in place [Claude Tag] Fixed the repositories control in Claude Tag admin settings showing the same action twice; its menu now lists only what the button doesn't already do
原文入口
阅读原文(github.com)原文将在新窗口打开。收录时间不是内容更新时间;正文、译文与解读的版权归原作者/来源所有,本站仅作个人阅读辅助并保留原文入口;页面时间均为北京时间。
了解来源批准与收录规则