黄奕彬

外部精选

Claude Code · v2.1.290

本文来自外部来源,不是黄奕彬的原创文章。本站提供原文入口,并在采集端生成 AI 结构化摘要、解读与中文翻译(如有),一切以原文为准。

阅读原文(github.com)
来源
Claude Code releases ↗
作者 / 署名
ashwin-ant
来源更新时间
本站收录时间
原文域名
github.com

以上时间均为北京时间;来源更新时间由来源提供,不代表首次发布时间。

结构化摘要 AI 生成

背景与问题

这是 Claude Code v2.1.290 的官方发布说明(来源:GitHub releases;来源日期 2026-10-05;commit e8ae451;不可变发布,其后 main 分支已有 8 个后续提交)。

面向 Claude Code 用户,目的在于告知本版本相对此前版本的新增功能、缺陷修复、改进与行为变更,覆盖 CLI 本体及 VS Code 扩展、云会话(cloud sessions)、Remote Control、Claude Tag(Slack)、Code Review 等子产品。

方法或内容

以分类清单形式发布变更:Added(如 mod 的 turn.step hook 结果新增 serverToolUses、tool.check 事件新增 agentId 与 ceiling、claude attach/logs 命令、/claude-api managed-agents-onboard、插件类型新增 ThemeKey 与 Color、网关登录页新增 Deny 按钮);Fixed(大量权限、沙箱、稳定性、MCP、插件相关缺陷修复);Improved(错误提示、性能等改进);Changed(如 WebSearch 预算改为按小时回填、PostgreSQL 最低版本由 14 降至 11);以及 [VSCode]、[Cloud sessions]、[Remote Control]、[Claude Tag]、[Code Review] 分组条目与 self-hosted runner 条目。

关键发现 / 结果

要点:

  1. Hook 扩展:turn.step 结果新增 serverToolUses(含 id、name、input、起止时间);tool.check 新增 agentId 与组织要求的审批上限 ceiling;插件 typings 新增 ThemeKey 与 Color;claude plugin validate 以 gatingHooks(--)列出各 gating hook 及是否有 .catch。
  2. 新能力:claude attach/logs 支持会话名部分匹配;/claude-api managed-agents-onboard 可按 URL 或 quickstart(如 deep-researcher)配置。
  3. 修复:代理/网关以非 400 状态拒绝 beta header 致请求失败;含数百图片的长会话卡在 Request rejected 错误;WebFetch 静默丢弃超 100,000 字符的页面文本(现提示未读量并支持 offset 读取);数千层嵌套列表/引号导致 Maximum call stack size exceeded 崩溃;压缩后 /loop 与提醒等定时任务静默不恢复(仅覆盖本版本起的压缩);多处权限/沙箱绕过(符号链接中途替换越权读、粘贴图片路径不受 Read deny 约束、Bash 只读命令通配符展开等);HTTP MCP 服务器超大响应导致内存无界增长。
  4. 变更:WebSearch 预算由一次性 200 次改为 100 次/小时回填(CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR 可调速率,0 关闭);

browser_batch 超时 60→90 秒;Claude apps gateway 最低 PostgreSQL 版本 14→11;pyright 不再视为只读命令、需授权;Claude Tag 频道说明限制改为 8,192 字符而非字节。

结论与意义

原文为发布说明,作者未给出总体性结论;其结论即已发布 v2.1.290 并包含上述变更。

个别条目标注了适用边界:定时任务压缩修复仅覆盖本版本起的压缩;Homebrew 升级相关的后台服务修复自下一次升级后生效;WebSearch 回填仅作用于交互会话;网关身份行删除问题仅出现在缺少 2025 年 11 月修复的 PostgreSQL 版本;慢文件系统启动问题针对 2.1.285 以来的 SDK 宿主。其余适用边界原文未说明。

AI 解读 AI 生成

方法:按「时空变量」分析(时间 / 空间 / 变量,严格区分包含、相关与因果),对象包括原文作者、署名人员与关键技术及其实际原理;结论用「元反空」(元思考、反思考、空思考、综合)整理。

时间:何时发生,现在是否仍成立

按来源日期,本版本于 2026-10-05 发布。说明发布时 main 分支已有 8 个后续提交,暗示存在后续开发但原文未说明后续版本内容。所有修复与变更针对发布时已知缺陷与行为;这些内容在当前是否仍成立取决于后续版本情况,原文未说明。

个别条目自述生效时机:Homebrew 后台服务修复自下一次升级起生效;定时任务压缩修复仅覆盖本版本及之后产生的压缩。

空间:谁的环境 / 场景

适用于 Claude Code v2.1.290 及其生态组件的用户环境:Claude apps gateway(含 PostgreSQL 存储、面向身份提供方的证书)、Claude in Chrome、VS Code 扩展(SDK 宿主)、云会话、Remote Control、self-hosted runner、Claude Tag(Slack 集成)、headless/---schema 与 SDK 会话、Bedrock/Vertex/Foundry 及自定义网关、通过 ANTHROPIC_BASE_URL 与 ANTHROPIC_AUTH_TOKEN 的网关访问形态。

平台特定修复覆盖 macOS、Windows(含 CRLF、CRLF 相关问题)与 Linux/WSL;使用形态含交互终端、后台会话/守护进程、组织托管设置环境。

变量:实际改变了什么

相对此前的实际变化:hook API 新增字段与类型;新增 claude attach/logs、/claude-api managed-agents-onboard 命令与网关登录页 Deny 按钮;WebSearch 预算机制由 200 次用尽改为 100 次/小时按时间回填;Claude apps gateway 最低 PostgreSQL 版本由 14 降至 11;browser_batch 超时由 60 秒升至 90 秒;pyright 及更多形式的 ps 命令改为需授权;Claude Tag 频道说明限制由按字节改为 8,192 字符;大量权限判定、沙箱、流式输出、定时任务恢复、MCP 行为被修正。

价格方面原文未说明。

区分:包含 ≠ 相关 ≠ 因果

明确因果(原文以 Fixed/Changed 直接陈述原因与结果):Mac 从睡眠唤醒导致后台 agent 报 Agent stalled、Workflow 子代理从提示重新开始;HTTP MCP 服务器发送超大响应导致内存无界增长;CLAUDE_CODE_USER_DIALOG_TIMEOUT_MS=5m 被读作 5 毫秒导致远程对话框立即取消;自动压缩在 Mac 睡眠时以 Prompt is too long 放弃。

仅为相关或包含关系:main 上的 8 个后续提交与本版本内容只是时间先后关系,不属本版本内容;[VSCode] 等方括号分组只是条目归属标记;同一版本内各功能并存不代表互为因果。

对象:作者/署名与关键技术原理

署名(仅来自结构化作者字段):ashwin-ant;正文未提及其他人名。

关键技术按原文的功能行为描述:Claude Code CLI;插件/mod hook 体系(prompt.submit、tool.check、turn.step、turn.complete、gating hooks、.catch 语义);MCP(.mcp. 声明、HTTP MCP 服务器、disableClaudeAiConnectors 与 allowedMcpServers 规则);权限与沙箱(deny/ask 规则、Read deny、sandbox.excludedCommands、auto mode 分类器、plan mode);Claude apps gateway(PostgreSQL 存储、保留清扫、证书);后台会话、子代理、队友与 /loop 定时任务;self-hosted runner 与 Sessions API;WebFetch/WebSearch、computer use 相关的 browser_batch。

原理层面原文仅描述触发时机与行为结果,内部实现原文未说明。

元反空综合结论

元:本质是一份版本变更通报,回答本版本改了什么、是否与自己的故障或工作流相关,服务于用户的升级决策与问题对照。

反:最可能失效或有边界的部分——带生效条件的修复(压缩后定时任务仅覆盖本版本起的压缩;Homebrew 后台服务修复自下一次升级生效);依赖外部组件版本的行为(PostgreSQL 需含 2025 年 11 月修复;git 2.54+ 分支存放于 .git 外的场景;网关/代理对 beta header 的处理取决于中间件);发布后 main 已有 8 个提交,条目可能被后续版本再次调整,原文未说明后续情况。

空:去掉叙事后剩余的必要事实——v2.1.290 于来源日期发布,对应 commit e8ae451,为不可变发布;新增若干 hook 字段、类型与命令;修复大量权限、安全与稳定性缺陷;若干行为参数变更(WebSearch 100 次/小时回填、PostgreSQL 最低 11、browser_batch 90 秒、频道说明 8,192 字符);变更覆盖 CLI 与多个子产品。

综合结论:这是一份信息密度高的例行发布说明,逐项变更的可信度需逐条对照原文;采用前应核对本机平台、部署形态(网关、托管设置、SDK 宿主)与外部依赖版本,注意原文标注的生效边界,且不可据此推断后续版本行为。

中文译文 AI 生成

· 8 个提交至 main 分支自本次发布以来不可变的发布。只有发布标题和说明可以被修改。e8ae451

变更内容

为 mod 的 turn.step hook 的结果添加了 serverToolUses:即 API 自行运行的工具调用(advisor),每个都带有其 id、name、input、start 和 end

为 plugin hooks 的 tool.check 事件添加了 agentId,使 hook 能够区分子代理的权限检查与主会话的权限检查

为 mod 的 tool.check hook 读取的问题和判定添加了 ceiling,用于命名组织对某个工具所要求的批准

为 plugin hooks 的类型定义添加了 ThemeKey 和 Color 类型,使编辑器能够列出 mod 的绘图可以命名的主题颜色

为 claude plugin validate 添加:列出 mod 在 gating site 注册的每个 hook,以及它是否带有 .catch(在 --json 下为 gatingHooks)

为 Claude apps 网关的登录批准页面添加了 Deny 按钮:它会终止待处理的登录,使等待中的终端在几秒内停止

添加了 claude attach <name> 和 claude logs <name>:会话名称的一部分可以替代 id 使用

添加了 /claude-api managed-agents-onboard <url>,用于设置某个页面描述为 ant apply 文件的 Managed Agents 模式

添加了 /claude-api managed-agents-onboard <quickstart-name>,用于通过 ant CLI 构建 Console 快速入门模板,例如 deep-researcher

添加了警告:当受管设置文件是指向受管设置文件夹之外文件的链接时

添加了 /status 和 doctor 警告:当受管设置忽略用户配置的沙箱 allowRead 路径或允许的域名时

修复了请求在代理和网关后失败的问题:这些代理和网关以非 400 的状态码拒绝 Claude Code 的某个 beta 头,或将其与第二个 beta 一起拒绝

修复了包含数百张图像的长会话卡在"Request rejected as unprocessable by the model"错误上的问题

修复了当 API 的输出内容过滤器在 Claude 仍在思考时停止回复、导致回合立即结束的问题;现在会在显示错误前重试请求一次

修复了恢复的子代理和队友在运行中收到消息后丢失其先前的思考和提示缓存的问题

修复了 WebFetch 静默丢弃超过 100,000 字符的页面文本的问题;现在会说明有多少未读取,并接受一个 offset 以继续读取

修复了当响应嵌套列表或引用达到数千层深度时的崩溃("Maximum call stack size exceeded")

修复了 /rewind 未列出在 Claude 仍在工作时发送的提示的问题

修复了定时任务(带间隔的 /loop、提醒)在对话被压缩后恢复时静默不返回的问题;覆盖自本版本起进行的压缩

修复了在前台设置的定时任务在 ← 或 /background 交接后永不触发的问题,以及循环任务在每次恢复、重生或分叉时多触发一次运行的问题

修复了 headless --json-schema 运行在结构化输出已交付后连接断开时,对成功结果以非零退出码和 is_error: true 退出的问题

修复了 plan 模式允许 auto 模式分类器批准带有服务器推送 ask 策略的非只读连接器工具的问题

修复了符号链接到工作目录之外的项目 CLAUDE.md、rule 或 AGENTS.md 在 permissions.blockReadsOutsideWorkingDirectories 或 Read 拒绝规则下被加载的问题

修复了 xn-- 主机标签内含通配符的 URL 允许和拒绝模式在不同进程间匹配结果不一致的问题

修复了组织提供的 MCP 服务器在登录或重新连接后被重新列为你自己的服务器的问题,包括在 headless 和 SDK 会话中来自延迟结果的情况

修复了在 Windows 上当 git stash create 失败时 /ultrareview 不加警告地丢弃未提交更改的问题,以及在经过 git add -N 的文件被删除或移动后拒绝这些更改的问题

修复了 plansDirectory 设置在 macOS 和 Linux 上对包含反斜杠的路径的项目根目录检查

修复了非常长的 Remote Control 和云端会话中的回复可能一次显示一个块而非流式传入的问题

修复了后台守护进程的日志在 claude daemon run 和 claude daemon logs 下将终端控制字符传递到屏幕的问题;它们现在显示为 \uXXXX 转义

自托管 runner:修复了会话错误输出中一条构造的非常长的行使 runner 冻结数秒的问题

修复了当 hook 在提示或工具调用上使 hooks worker 忙碌时,带有 .catch 的 plugin hook 被卸载且其 .catch 被跳过的问题

修复了 mod 的 turn.step 结果列出被响应中途的模型回退所丢弃的工具调用的问题

修复了当容器在 Claude 刚发送消息或文件后重启时,Cowork 云端会话的回复有时永不完成的问题

修复了 claude plugin validate 和插件加载拒绝解构了与其某个顶层函数同名的选项的 hooks 模块的问题

修复了当 git 配置中设置了 core.safecrlf=true 时 /ultrareview 无法上传未提交更改的问题

修复了当被标记的消息在设置中保存了不同级别的回退模型上重试时 effort 级别发生改变的问题

Windows:修复了当文件以 CRLF 行尾保存时,skills 和 commands 中的多行 ! shell 块失败的问题

修复了在全屏模式下搜索时点击 /permissions 标签页导致 Claude Code 挂起直到被杀死的问题

修复了对话压缩有时因"null is not an object"错误而失败的问题

修复了 plugin hooks 在 auto 模式下交回报告的子代理的 turn.complete 上读取到空答案的问题

修复了当刷新跟随其失败的重新加载时,mod 被卸载而无任何消息的问题;其失败行现在会说明之前加载的版本已被卸载

修复了 mod 的 prompt.submit hook 在调用 next(e) 后丢弃提示却被静默忽略的问题:该 hook 现在会按名称被报告为失败

修复了当 mod 的 pane 或 band 的末端跟随一棵每次绘制都改变高度的树时被无限重绘的问题

修复了在 macOS 和 Windows 上,图像读取能够通过在读取中途被替换的链接返回已批准范围之外的文件的问题

Fixed a case where a user-installed mod could get an organization's plugin unloaded; the mod is now the one unloaded修复了用户安装的 mod 可能导致组织的插件被卸载的问题;现在被卸载的是该 mod Fixed disableClaudeAiConnectors and allowedMcpServers URL rules not being applied to some MCP entries declared in .mcp.json, plugins or agents修复了 disableClaudeAiConnectors 和 allowedMcpServers 的 URL 规则未应用于在 .mcp.json、插件或 agents 中声明的一些 MCP 条目的问题Fixed a mod's inline pane being redrawn without end when its tree changed height at every drawing修复了 mod 的内联面板因其树状结构在每次绘制时高度都发生变化而被无限重绘的问题Fixed an @-mention under the read block or --restricted being able to read a file outside the working directories through a link changed mid-read修复了在 read block 或 --restricted 下,@-mention 可通过在读取过程中被更改的链接读取工作目录之外的文件的问题Fixed Esc in the agents view confirming "Press enter again to restart this session — it isn't responding"; Esc now just reopens the session修复了 agents 视图中按 Esc 会确认"Press enter again to restart this session — it isn't responding"的问题;现在 Esc 只会重新打开该会话Fixed agent view losing a background session's /loop run count, countdown and live status line after the session enters a worktree that it creates修复了 agent 视图在后台会话进入其自行创建的 worktree 后,丢失该会话的 /loop 运行计数、倒计时和实时状态行的问题Fixed claude agents sessions in manual permission mode asking for approval to read an image pasted into a reply or a new agent's prompt修复了手动权限模式下的 claude agents 会话要求批准才能读取粘贴到回复或新 agent 提示词中的图像的问题Fixed a deny or ask rule missing a command or path whose name came from a variable set as a prefix on declare, typeset, export or readonly修复了 deny 或 ask 规则会漏掉名称来自以 declare、typeset、export 或 readonly 前缀形式设置的变量的命令或路径的问题Fixed Read deny rules not applying to image paths pasted or dragged into the prompt, or to file names listed for an @-mentioned folder修复了 Read deny 规则未应用于粘贴或拖入提示词的图像路径、以及为 @-mention 的文件夹列出的文件名的问题Fixed a case where a user-installed mod could make an organization's guard skip its check; such a mod is now unloaded修复了用户安装的 mod 可能导致组织的 guard 跳过其检查的问题;此类 mod 现在会被卸载Fixed plugin hooks stalling each redraw when a mod draws a long multi-line text holding non-Latin characters修复了当 mod 绘制包含非拉丁字符的长篇多行文本时,插件 hooks 导致每次重绘停滞的问题Fixed repeated Ctrl+X in the agents view deleting the whole next section after the bottom session of a section was deleted修复了在 agents 视图中,某区块底部的会话被删除后,继续按 Ctrl+X 会删除下一个整个区块的问题Fixed You should know writing its notes in English regardless of the language setting修复了 You should know 无论语言设置如何都用英文撰写其笔记的问题Fixed a freeze after sending some very long messages修复了发送某些非常长的消息后出现卡死的问题Fixed a slowdown when expanding the transcript (ctrl+o) or resizing over large tool output that contains non-ASCII characters such as arrows, dashes or box-drawing修复了在展开 transcript(ctrl+o)或在包含非 ASCII 字符(如箭头、破折号或框线字符)的大型工具输出上调整窗口大小时变慢的问题Fixed claude respawn re-sending an earlier message to a backgrounded session that has no saved transcript instead of starting it with an empty conversation修复了 claude respawn 向没有已保存 transcript 的后台会话重新发送早前消息、而不是以空对话启动的问题Fixed Esc after an n: or Ctrl+F search in the agents view moving focus to a section header, where Ctrl+X twice would delete every session in the section修复了在 agents 视图中进行 n: 或 Ctrl+F 搜索后按 Esc 会将焦点移到区块标题的问题(在该处连按两次 Ctrl+X 会删除该区块中的所有会话)Fixed claude agents saving a slash command it could not deliver to a stopped session and then running it by itself the next time that session restarted修复了 claude agents 会保存无法传送到已停止会话的斜杠命令、并在该会话下次重启时自行运行它的问题Fixed /ultrareview uploading uncommitted changes unfiltered for files under a git filter driver named unset or unspecified; the upload now stops and asks you to rename the driver修复了 /ultrareview 对处于名为 unset 或 unspecified 的 git filter driver 之下的文件未经滤除就上传未提交更改的问题;现在上传会停止并要求你重命名该驱动Fixed auto mode denials suggesting a permission rule that would skip the classifier for a whole tool or that Claude Code would ignore修复了 auto mode 拒绝时建议的权限规则会导致整个工具跳过分类器、或会被 Claude Code 忽略的问题Fixed claude --teleport and /teleport deleting the files in a folder that had replaced a tracked file of the same name when you chose to stash: the stash is now refused, and says why修复了当你选择 stash 时,claude --teleport 和 /teleport 会删除某个文件夹中的文件的问题,该文件夹已替换了同名的受追踪文件:现在 stash 会被拒绝,并说明原因Fixed Esc confirming agent view's "Press enter again to restart this session fresh" prompt修复了按 Esc 会确认 agent 视图的"Press enter again to restart this session fresh"提示的问题Fixed agent view's /loop run count freezing and its countdown disappearing after /clear; the count now restarts with the new conversation修复了 agent 视图的 /loop 运行计数在 /clear 后冻结且倒计时消失的问题;现在计数会随新对话重新开始Fixed --channels permission relay: a reply ID that repeats within a session is now ignored instead of approving a different prompt修复了 --channels 权限中继的问题:会话内重复出现的回复 ID 现在会被忽略,而不是批准另一个提示词Fixed /chrome "Reconnect extension" not restoring browser tools after a failed Chrome connection, and added an explanation when it can't (#98135)修复了 /chrome 的"Reconnect extension"在 Chrome 连接失败后无法恢复浏览器工具的问题,并在其无法恢复时添加了说明 (#98135) Fixed mods staying off for people who reach Claude through a gateway (ANTHROPIC_BASE_URL with ANTHROPIC_AUTH_TOKEN) and have no Anthropic account修复了通过网关(ANTHROPIC_BASE_URL 配合 ANTHROPIC_AUTH_TOKEN)访问 Claude 且没有 Anthropic 账户的用户那里 mods 一直保持关闭的问题Fixed replies sent from claude agents just after a background session crashed being refused after 2 seconds: they are now retried for up to 12 seconds while the session restarts修复了后台会话崩溃后紧接着从 claude agents 发送的回复会在 2 秒后被拒绝的问题:现在在会话重启期间会最多重试 12 秒Fixed slash commands and answers to a multiple-choice question that claude agents could not deliver to a running session being saved and sent by themselves the next time it was restarted修复了 claude agents 无法传送到运行中会话的斜杠命令和多选题答案会被保存、并在该会话下次重启时自行发送的问题Fixed sandboxed commands that pipe a heredoc into another command (cat <<EOF | python3) asking for approval on every run修复了将 heredoc 通过管道传入另一个命令(cat <<EOF | python3)的沙箱命令每次运行都要求批准的问题Fixed claude agents failing with "Couldn't restart the background service" and background sessions stopping after a Homebrew upgrade (takes effect from the upgrade after this one)修复了 claude agents 报错"Couldn't restart the background service"以及后台会话在 Homebrew 升级后停止的问题(自本次之后的升级起生效)Fixed agent view's "restart this session fresh" re-sending an earlier message from the session instead of starting with an empty conversation修复了 agent 视图的"restart this session fresh"会重新发送该会话中早前的消息、而不是以空对话开始的问题Fixed Bash permission checks auto-approving some read-only commands (such as rg or git grep) whose arguments the shell would still expand as wildcards; these now prompt for approval修复了 Bash 权限检查自动批准某些只读命令(如 rg 或 git grep)的问题,这些命令的参数仍会被 shell 展开为通配符;这些命令现在会提示批准Fixed claude plugin test refusing to run after an upgrade because of an out-of-date saved setting修复了 claude plugin test 因过期的已保存设置而在升级后拒绝运行的问题Fixed Bash permission checks auto-approving certain commands whose variable names zsh reads differently from bash; these now prompt for approval修复了 Bash 权限检查自动批准某些命令的问题,这些命令的变量名被 zsh 与 bash 以不同方式读取;这些命令现在会提示批准Fixed a short form of a git clone option keeping the sandbox exemption from a git pattern such as git * in sandbox.excludedCommands; it is now treated like the long form修复了 git clone 选项的短格式仍保留来自 git 模式(如 sandbox.excludedCommands 中的 git *)的沙箱豁免的问题;现在其与长格式同等对待Fixed the first feature-flag request of a session ignoring a proxy or API endpoint set in a project's settings修复了会话的首次 feature-flag 请求忽略项目设置中配置的代理或 API endpoint 的问题Fixed /ultrareview of a local branch silently leaving uncommitted work out of the upload in a repository that keeps its branches outside .git (git 2.54+); it now refuses with an explanation修复了在将分支保存在 .git 之外的仓库(git 2.54+)中对本地分支运行 /ultrareview 时,会静默将未提交的工作排除在上传之外的问题;现在会拒绝并给出说明Fixed cloud sessions staying asleep after a container restart lost a pending /loop wakeup or scheduled task; Claude is now told and can schedule it again修复了容器重启导致待处理的 /loop 唤醒或计划任务丢失后,云会话保持休眠的问题;现在会告知 Claude,它可以重新安排Fixed the Claude apps gateway's retention sweep deleting a returning developer's identity row refreshed at the same moment, on PostgreSQL versions without the November 2025 fixes修复了在未包含 2025 年 11 月修复的 PostgreSQL 版本上,Claude apps gateway 的保留清理会删除同一时刻被刷新的回归开发者身份行的问题Fixed sandboxed Monitor tool commands skipping the permission prompt under sandbox auto-allow; they now follow your permission rules修复了沙箱化的 Monitor 工具命令在 sandbox auto-allow 下跳过权限提示的问题;这些命令现在会遵循你的权限规则Fixed the Claude apps gateway failing to start when the certificate it presents to the identity provider has an empty subject修复了 Claude apps gateway 在其出示给身份提供者的证书 subject 为空时启动失败的问题Fixed the Claude apps gateway exiting with a bare "Invalid URL" when store.postgres_url can't be parsed; the error now names the setting and says what the URL may hold修复了 Claude apps gateway 在 store.postgres_url 无法解析时仅以"Invalid URL"退出的问题;现在错误会指明该设置名称,并说明 URL 可能包含的内容

修复了 Mac 从睡眠中唤醒后,后台 agent 以 "Agent stalled" 失败以及 Workflow 工具子 agent 从其 prompt 重新启动的问题

修复了自 2.1.285 起,当 managed settings 拒绝读取慢速文件系统上的大量路径时(尤其是 WSL 下的 Windows 磁盘),SDK 宿主(如 VS Code 扩展)中启动缓慢或启动失败的问题

修复了在 Bedrock、Vertex、Foundry 和自定义网关上,被计算机睡眠中断的响应被当作停滞流处理的问题

修复了在 Linux 和 WSL 上,当诸如 ~/**/.env 的沙箱读取规则覆盖一个大文件夹时,首次请求前以及 /sandbox Config 标签页中发生冻结的问题

修复了当 skill 所在文件夹与其在 SKILL.md 中声明的名称不同(例如非英文名称)时,按该名称请求无法找到 skill 的问题:skill 列表现在会同时显示两个名称

修复了当云会话的容器在计划展示之前重启时,在 plan 模式中编写的计划丢失的问题

修复了在新配置目录上启动后数秒内运行第一条命令时,Bash 工具偶尔在整场会话中丢失 shell 别名、函数和插件 PATH 条目的问题

修复了 HTTP MCP 服务器发送超大响应时内存使用不受限制的问题

修复了在云会话内部启动的 Claude Code 运行中(例如从 Bash 工具运行 claude -p)artifact 操作失败的问题

修复了远程会话一次发送四个或更多文件时,文件有时被拒绝并提示 "not the one approved" 的问题

修复了在终端中使用 --continue 或 --resume <session-id> 恢复会话时 plan 模式未被恢复的问题

修复了以另一个 GitHub marketplace 的下载文件夹命名 marketplace 导致该 marketplace 无法下载的问题

修复了自动压缩运行期间 Mac 进入睡眠时,以 "Prompt is too long" 放弃的问题

修复了当对话包含超大的粘贴堆栈跟踪或源文件时,rewind 菜单(Esc Esc / /rewind)每次按键冻结数百毫秒的问题

修复了当子目录下的文件被 @ 提及时,该子目录的 AGENTS.md 未被附带的问题

修复了当会话文件夹是相对符号链接时,runner 停止后恢复的自托管 runner 会话以 "missing but already registered worktree" 失败的问题

修复了 secret 扫描或权限提示遇到长 token 样文本时发生冻结的问题

修复了 Bash 权限检查未对只读命令某些选项值中的通配符应用 Read 拒绝规则或目录外读取阻止的问题

修复了 CLAUDE_CODE_USER_DIALOG_TIMEOUT_MS=5m 被读取为 5 ms 并立即取消远程对话框的问题;带单位后缀的值现在会回退到 dialogExpiry

修复了当 MCP 服务器的工具列表包含非常长的组合字符序列时发生停滞的问题

修复了在一个 prompt 中重叠的两段粘贴内容被部分作为键入文本而非一个粘贴块发送给模型的问题

修复了 Claude in Chrome 的浏览器选择器在所选浏览器不再连接时显示本应给 Claude 的消息,以及 VS Code 对话框列表在切换后过期的问题

修复了主会话进入或退出另一个 worktree 后,后台子 agent 在其 worktree 中失去写入和 Bash 权限的问题

修复了当机器上没有 managed settings 强制网关登录时,后台命令、agents 视图和守护进程 worker 通过 Claude apps 网关向 Anthropic 发送遥测和 feature-flag 请求的问题

修复了 --restricted(以及 CLAUDE_CODE_RESTRICTED=1)会话打开跨会话消息 socket 的问题

修复了空闲时移至后台的会话在重启或空闲清理后以 "no saved transcript" 重新打开的问题;它们现在会恢复其对话

修复了后台 worker 在重新生成时遵守 --allow-dangerously-skip-permissions 而无需事先接受 bypass-permissions 免责声明的问题

修复了当插件的异步 Stop hook 传入位于含空格文件夹(如 Application Support)下未加引号的脚本路径时,Claude 无限循环回复的问题

修复了 secret 脱敏遇到非常长的无中断文本时冻结数秒的问题

修复了 PreToolUse hook 重写工具调用输入后,部分权限规则和安全检查未被应用于该工具调用的问题

修复了首次启动在执行 claude auth login 之后或配置目录中已存在凭据文件时,再次要求选择登录方式的问题

修复了包含换行符的文件名在文件工具错误和权限提示中显示错误的问题

修复了当大段粘贴内容就地展开后包含以独立字符存储的重音符号(如 macOS 文件名那样)时,在下一次按键后被作为键入文本发送给模型的问题

修复了 macOS 上 /login 在钥匙串拒绝新登录并保留一个无法移除的旧登录时仍报告成功的问题

修复了使用 --include-partial-messages 的 SDK 宿主在回合结束后、当流被切断、中断或回退到非流式时,看到回复保持打开状态的问题

修复了 Linux 上当 .claude/settings.json 或 .claude/settings.local.json 不存在时,沙箱化的 Bash 命令运行 ConfigChange hook 并在命令执行中途重新加载设置的问题

修复了当 Claude Code 运行的工具(如 git 或 gh)未安装时,错误信息显示 "Premature close" 而非指明缺失程序的问题(macOS、Linux)

修复了 /loop 和其他仅限会话的循环计划任务在 Linux 上执行沙箱 Bash 命令后或 .claude/scheduled_tasks.json 被删除后额外运行一次的问题

修复了对符号链接设置文件所指向文件的编辑在未经设置文件权限询问的情况下运行的问题

改进了网络代理后的 MCP 启动:被代理阻止(HTTP 403)的服务器不再重试三次

改进了来自后台 agent 的权限提示,使其显示可停止所有后台 agent 的 Ctrl+X Ctrl+K 快捷键

改进了内置的 plugin-authoring skill:Claude 现在会给出他人可运行以安装你所做 mod 的那条命令,并将其写入 README 的安装部分

改进了桌面应用 Code 标签页中对 /plugin 的回复:它现在会说明在该处何处安装和管理插件

改进了 Bash 的已更改文件视图:当链式命令包含 git merge、pull 或 checkout 时,它会列出文件而不显示完整 diff

改进了 Claude apps gateway 在上游的云凭据或连接失败时的日志:警告现在会以根本原因结尾

改进了在未登录 claude.ai 时启动云会话所显示的错误:它现在会指明 claude auth login 和 /login,不再归咎于 API-key 认证

改进了 Read 工具针对二进制文件的消息:它现在会向 Claude 指出可以读取该格式的 skill 或 shell 命令

改进了当 git config 文件阻止 /ultrareview 上传时显示的错误:其长度约为原来的一半,并说明问题出在哪类文件上

改进了 /ultrareview 上传拒绝某个 checkout 时显示的错误:现在每种已知原因都有自己的消息,并附有修复方法

改进了 Claude apps gateway:在其向身份提供方出示的证书到期前的最后 30 天内记录一条警告

改进了 Claude in Chrome:browser_batch 调用在被报告为超时之前现在有 90 秒(从 60 秒提高)

改进了 Claude apps gateway 的浏览器登录页面:品牌字体、居中布局和深色模式

改进了恢复大型会话时的响应能力:在会话记录加载期间,计时器、输入和渲染保持运行

改进了 / 和 @ 建议列表:选中的行现在以 ❯ 指针开头,因此即使没有颜色也能看到它

更改了 CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC,使其也跳过启动时的连接预热

更改了 Claude in Chrome,项目的设置文件不再能开启它;请使用 --chrome、/chrome 或你的用户设置

更改了 Bash 工具,在运行 pyright 之前会请求权限,pyright 不再被视为只读命令

更改了当子进程已运行后被另一个 mod 拒绝时,mod 的 $.process.spawn 拒绝时返回的内容:它现在会说明该调用已运行,且某个插件扣留了其结果

更改了后台守护进程的日志,将多行消息写成一条经 JSON 引号包裹的单行

更改了 skills 和自定义命令,拒绝包含制表符和换行符以外的原始控制字符的 ! shell 命令,并显示一条指出其位置的消息

更改了 /artifacts:在浏览器中打开 artifact 现在会关闭列表

更改了 Bash 权限检查,使更多形式的 ps 命令需要请求批准,而不是不经询问直接运行

更改了 plugin hooks,过长的文本会被截断并记录,而不是被拒绝或静默丢弃

更改了计划任务已消失的后台会话:它们现在会在约 20 秒后移动到 Completed,并可在空闲时更新或关闭

更改了刚清空提示后的 “Press ← again” 确认:第二次按 ← 不再需要等待一秒才切换,并且现在按住 ← 也会切换

更改了 /ultrareview 上传在某个 git 步骤失败时显示的错误:它们会指明步骤和可尝试的操作,不再重复 git 自身的错误文本

更改了 medium effort 下的 /code-review:在没有经过调优的审查设置的模型上(包括 Opus 5.5 和 Sonnet 5.5)也报告 cleanup 和 CLAUDE.md 规范方面的发现

更改了 Agent 结果中进程内 teammate 的 agent_id,改为其 agent ID(其 name@team 地址仍保留在 teammate_id 中);TeammateIdle hooks 不再从其子代理或 fork 触发

更改了等待计划唤醒(/loop)的后台会话:它们现在在更新和内存不足期间会保持运行,因为在这种情况下被重启或关闭可能会静默丢失该唤醒

更改了从 claude agents 发送到忙碌后台会话的 /model、/effort 和 /rename:它们现在立即生效,无需确认,而不是等到该轮结束

更改了 Claude apps gateway 支持的最低 PostgreSQL 版本,从 14 改为 11

更改了交互式会话的 WebSearch 预算,使其随时间补充(100 次调用/小时;CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR 设置补充速率,0 可将其关闭),而不是在 200 次调用后结束

更改了 CLAUDE_CODE_DISABLE_ATTACHMENTS,仓库的 .claude/settings.json 或 .claude/settings.local.json 不再能设置它;shell、用户和托管设置仍然可以

更改了 claude plugin update 对从目录加载的插件的处理:只打印原因,不带 “Failed to update plugin” 前缀,与内置插件一致

更改了云会话中的内置 gh api:在 GH_HOST 或 GH_REPO 中设置的 github.com 以外的主机现在会被拒绝(请使用 --hostname 或完整 URL),并且 stderr 会注明对其他主机的请求

更改了 claude-api skill 的 Managed Agents 示例:除非 agent 需要,否则关闭 web 工具,并使用 auto 权限策略

自托管 runner:更改了 claude --environment <id>,使其通过当前的 Sessions API 创建会话;打印的和 JSON 中的 session id 仍保持 session_… 形式

[VSCode] 新增了屏幕阅读器播报:当你在 Claude 正在工作时发送消息,会播报 “Message queued.”

[VSCode] 新增了一种方式,可在 Manage plugins 对话框中查看并运行插件市场的安装或更新命令

[VSCode] 修复了一个你从未输入过内容的空白聊天,在你于原处打开已保存对话后仍让一个后台 Claude 进程保持运行的问题

[VSCode] 修复了设置对话框在 Claude Code 于保存期间意外停止时将其归咎于超时的问题

[VSCode] 修复了分支切换对话框在无法检查未提交更改时仍提议切换的问题

[VSCode] 修复了一个问题:权限提示在打开的对话框后面到达时会抢占键盘焦点,使得在对话框中按键可能会回答该提示

[VSCode] 修复了当 Claude Code 无法找到或启动其程序时,登录和新会话不给出明确原因的问题

[VSCode] 修复了 agent 地图将嵌套子代理显示为 “Tool calls (0)” 并将其启动的 agent 置于主 agent 之下的问题

[VSCode] 改进了 Continue After Reload:在 VS Code 重启其扩展后重新打开的标签页,现在也会完成被重启中断的步骤

[VSCode] 改进了消息中的文件胶囊:现在悬停在其中一个上时,会显示该文件自项目文件夹起的路径,从而可以区分同名文件

[VSCode] 更改了消息时间戳,使其默认显示(可通过 Claude Code: Show Message Timestamps 设置将其关闭)

[Cloud sessions] 修复了通过云环境的环境变量关闭提示建议在新建云会话中不生效的问题

[Cloud sessions] 修复了云会话中的工作指示器在 Claude 的回复结束后仍继续旋转数秒的问题;现在它会随回复一起停止

[Cloud sessions] 修复了在从未运行过的例程页面上,你按下 Run now 后 History 仍显示 "No runs yet" 的问题;现在会显示新的运行

[Cloud sessions] 修复了已取消归档的云会话在你发送另一条消息之前看起来像是 Claude 仍在工作的问题

[Remote Control] 修复了刚启动 Remote Control 的计算机最长需要一分钟才会出现在新会话的 Remote Control 菜单中的问题;现在几秒内就会出现

[Claude Tag] 在 Slack 中新增了 fast mode:用 !fast 提及 Claude 可将该线程切换到 fast mode,并在需要时将其移至 Opus,用 !fast off 切换回来;开启期间回复会显示 (fast)

[Claude Tag] 新增了在 access bundle 中创建自定义连接时的可选 Path prefixes 字段,使其允许规则可以只覆盖这些路径,而不是整个主机

[Claude Tag] 修复了拥有 Claude Tag Admin 权限的成员在 Activity 页面的 Memory 标签页上收到 "Couldn't load memory files" 的问题;他们现在可以读取工作区和频道记忆

[Claude Tag] 修复了工作区访客在 Slack 中对 Claude 设置卡片进行 Confirm 会为所有人移除其按钮的问题;现在只有该访客会看到拒绝,成员仍然可以确认或取消

[Claude Tag] 修复了 Slack 频道中的定时例程以非频道默认模型运行的问题;现在每一次会启动新会话的运行都使用当前的默认模型

[Claude Tag] 修复了 access bundle 中由频道名称规则附加的 GitHub 仓库在规则所覆盖的频道中被拒绝的问题;Claude 现在可以在这些频道中添加、列出和克隆它们

[Claude Tag] 改进了当你自己的 Claude 套餐达到使用上限时,Claude 在你的私信中发出的通知:它会在几秒内显示,并说明上限何时重置

[Claude Tag] 改进了较早版本的 Claude in Slack 应用在无法启动会话时的回复:现在会说明失败原因以及谁可以修复,完整内容在每个线程中仅显示一次

[Claude Tag] 将频道指令的限制改为 8,192 个字符而非字节,使非英文文本获得相同的可用空间,并在 Configure 页面上 Save 旁添加了字符计数

[Code Review] 修复了阻塞性审查评论有时以与其严重程度相矛盾的 "nit" 标签开头的问题

[Code Review] 修复了在已关闭 Code Review 的组织中,"@claude review" 评论提示仍会发布在 fork 和 Manual-mode 拉取请求上的问题

展开原文提取正文(采集端自动提取,可能有缺失)

·

8 commits

to main since this release

Immutable release. Only release title and notes can be modified.

e8ae451

What's changed

Added serverToolUses to the result of a mod's turn.step hook: the tool calls the API ran itself (the advisor), each with its id, name, input, start and end Added agentId to the tool.check event of plugin hooks, so a hook can tell a subagent's permission check from the main session's Added ceiling to the question and verdict a mod's tool.check hook reads, naming the approval an organization requires for a tool Added ThemeKey and Color types to the plugin hooks typings, so an editor lists the theme colors a mod's drawing can name Added to claude plugin validate: each hook a mod registers at a gating site is listed with whether it has a .catch (gatingHooks under --json) Added a Deny button to the Claude apps gateway's sign-in approval page: it ends the pending sign-in, so the waiting terminal stops within seconds Added claude attach <name> and claude logs <name>: part of a session name works in place of the id Added /claude-api managed-agents-onboard <url> to set up the Managed Agents pattern a page describes as ant apply files Added /claude-api managed-agents-onboard <quickstart-name> to build a Console quickstart template, such as deep-researcher, with the ant CLI Added a warning when a managed settings file is a link to a file outside the managed settings folder Added a /status and doctor warning when managed settings ignore user-configured sandbox allowRead paths or allowed domains Fixed requests failing behind proxies and gateways that reject one of Claude Code's beta headers with a status other than 400, or together with a second beta Fixed long sessions with hundreds of images getting stuck on "Request rejected as unprocessable by the model" errors Fixed a turn ending at once when the API's output content filter stopped a reply while Claude was still thinking; the request is now retried once before the error is shown Fixed resumed subagents and teammates losing their earlier thinking and prompt cache after receiving a message mid-run Fixed WebFetch silently dropping page text past 100,000 characters; it now says how much was unread and takes an offset to read on Fixed a crash ("Maximum call stack size exceeded") when a response nested lists or quotes thousands of levels deep Fixed /rewind not listing a prompt sent while Claude was still working Fixed scheduled tasks (/loop with an interval, reminders) silently not coming back on resume once the conversation was compacted; covers compactions made from this version on Fixed scheduled tasks set in the foreground never firing after a ← or /background hand-off, and recurring ones firing an extra run on every resume, respawn or fork Fixed headless --json-schema runs exiting non-zero with is_error: true on a success result when the connection dropped after the structured output was already delivered Fixed plan mode letting the auto mode classifier approve non-read-only connector tools that carry a server-pushed ask policy Fixed a project CLAUDE.md, rule or AGENTS.md symlinked outside the working directories loading under permissions.blockReadsOutsideWorkingDirectories or a Read deny rule Fixed URL allow and deny patterns with a wildcard inside an xn-- host label matching differently from one process to the next Fixed an MCP server provided by your organization being relisted as your own after signing in or reconnecting, including from a late result in headless and SDK sessions Fixed /ultrareview dropping uncommitted changes without a warning on Windows when git stash create failed, and refusing them after a git add -N file was deleted or moved Fixed the plansDirectory setting's project-root check for paths that contain a backslash on macOS and Linux Fixed replies in very long Remote Control and cloud sessions that could appear a block at a time instead of streaming in Fixed the background daemon's log passing terminal control characters to the screen under claude daemon run and claude daemon logs; they now show as \uXXXX escapes Self-hosted runner: Fixed a crafted, very long line of a session's error output freezing the runner for several seconds Fixed a plugin hook with a .catch being unloaded, and its .catch skipped, when the hook kept the hooks worker busy on a prompt or tool call Fixed a mod's turn.step result listing a tool call that a mid-response model fallback had discarded Fixed a Cowork cloud session's reply sometimes never finishing when its container restarted just after Claude sent a message or a file Fixed claude plugin validate and plugin loading refusing a hooks module that destructures an option named like one of its top-level functions Fixed /ultrareview failing to upload uncommitted changes when core.safecrlf=true is set in git's configuration Fixed the effort level changing when a flagged message is retried on a fallback model that has a different level saved in settings Windows: Fixed multi-line ! shell blocks in skills and commands failing when the file is saved with CRLF line endings Fixed Claude Code hanging until killed when a /permissions tab was clicked while searching in fullscreen mode Fixed conversation compaction sometimes failing with a "null is not an object" error Fixed plugin hooks reading an empty answer on turn.complete for a subagent that hands its report back in auto mode Fixed a mod being unloaded without a message when a refresh followed its failed reload; its failure line now says the version loaded before is unloaded Fixed a mod's prompt.submit hook that drops a prompt after calling next(e) being ignored silently: the hook is now reported as failed, by name Fixed a mod's pane or band being redrawn without end when it followed its end over a tree that changed height at every drawing Fixed an image read on macOS and Windows being able to return a file outside what was approved, through a link swapped in mid-read Fixed a case where a user-installed mod could get an organization's plugin unloaded; the mod is now the one unloaded Fixed disableClaudeAiConnectors and allowedMcpServers URL rules not being applied to some MCP entries declared in .mcp.json, plugins or agents Fixed a mod's inline pane being redrawn without end when its tree changed height at every drawing Fixed an @-mention under the read block or --restricted being able to read a file outside the working directories through a link changed mid-read Fixed Esc in the agents view confirming "Press enter again to restart this session — it isn't responding"; Esc now just reopens the session Fixed agent view losing a background session's /loop run count, countdown and live status line after the session enters a worktree that it creates Fixed claude agents sessions in manual permission mode asking for approval to read an image pasted into a reply or a new agent's prompt Fixed a deny or ask rule missing a command or path whose name came from a variable set as a prefix on declare, typeset, export or readonly Fixed Read deny rules not applying to image paths pasted or dragged into the prompt, or to file names listed for an @-mentioned folder Fixed a case where a user-installed mod could make an organization's guard skip its check; such a mod is now unloaded Fixed plugin hooks stalling each redraw when a mod draws a long multi-line text holding non-Latin characters Fixed repeated Ctrl+X in the agents view deleting the whole next section after the bottom session of a section was deleted Fixed You should know writing its notes in English regardless of the language setting Fixed a freeze after sending some very long messages Fixed a slowdown when expanding the transcript (ctrl+o) or resizing over large tool output that contains non-ASCII characters such as arrows, dashes or box-drawing Fixed claude respawn re-sending an earlier message to a backgrounded session that has no saved transcript instead of starting it with an empty conversation Fixed Esc after an n: or Ctrl+F search in the agents view moving focus to a section header, where Ctrl+X twice would delete every session in the section Fixed claude agents saving a slash command it could not deliver to a stopped session and then running it by itself the next time that session restarted Fixed /ultrareview uploading uncommitted changes unfiltered for files under a git filter driver named unset or unspecified; the upload now stops and asks you to rename the driver Fixed auto mode denials suggesting a permission rule that would skip the classifier for a whole tool or that Claude Code would ignore Fixed claude --teleport and /teleport deleting the files in a folder that had replaced a tracked file of the same name when you chose to stash: the stash is now refused, and says why Fixed Esc confirming agent view's "Press enter again to restart this session fresh" prompt Fixed agent view's /loop run count freezing and its countdown disappearing after /clear; the count now restarts with the new conversation Fixed --channels permission relay: a reply ID that repeats within a session is now ignored instead of approving a different prompt Fixed /chrome "Reconnect extension" not restoring browser tools after a failed Chrome connection, and added an explanation when it can't (#98135) Fixed mods staying off for people who reach Claude through a gateway (ANTHROPIC_BASE_URL with ANTHROPIC_AUTH_TOKEN) and have no Anthropic account Fixed replies sent from claude agents just after a background session crashed being refused after 2 seconds: they are now retried for up to 12 seconds while the session restarts Fixed slash commands and answers to a multiple-choice question that claude agents could not deliver to a running session being saved and sent by themselves the next time it was restarted Fixed sandboxed commands that pipe a heredoc into another command (cat <<EOF | python3) asking for approval on every run Fixed claude agents failing with "Couldn't restart the background service" and background sessions stopping after a Homebrew upgrade (takes effect from the upgrade after this one) Fixed agent view's "restart this session fresh" re-sending an earlier message from the session instead of starting with an empty conversation Fixed Bash permission checks auto-approving some read-only commands (such as rg or git grep) whose arguments the shell would still expand as wildcards; these now prompt for approval Fixed claude plugin test refusing to run after an upgrade because of an out-of-date saved setting Fixed Bash permission checks auto-approving certain commands whose variable names zsh reads differently from bash; these now prompt for approval Fixed a short form of a git clone option keeping the sandbox exemption from a git pattern such as git * in sandbox.excludedCommands; it is now treated like the long form Fixed the first feature-flag request of a session ignoring a proxy or API endpoint set in a project's settings Fixed /ultrareview of a local branch silently leaving uncommitted work out of the upload in a repository that keeps its branches outside .git (git 2.54+); it now refuses with an explanation Fixed cloud sessions staying asleep after a container restart lost a pending /loop wakeup or scheduled task; Claude is now told and can schedule it again Fixed the Claude apps gateway's retention sweep deleting a returning developer's identity row refreshed at the same moment, on PostgreSQL versions without the November 2025 fixes Fixed sandboxed Monitor tool commands skipping the permission prompt under sandbox auto-allow; they now follow your permission rules Fixed the Claude apps gateway failing to start when the certificate it presents to the identity provider has an empty subject Fixed the Claude apps gateway exiting with a bare "Invalid URL" when store.postgres_url can't be parsed; the error now names the setting and says what the URL may hold Fixed background agents failing with "Agent stalled" and Workflow tool subagents restarting from their prompt when a Mac woke from sleep Fixed slow or failed startup since 2.1.285 under SDK hosts such as the VS Code extension when managed settings deny reads of many paths on a slow filesystem (notably Windows drives under WSL) Fixed a response interrupted by computer sleep being treated as a stalled stream on Bedrock, Vertex, Foundry, and custom gateways Fixed a freeze before the first request and in the /sandbox Config tab on Linux and WSL when a sandbox read rule such as ~/**/.env covers a large folder Fixed skills not being found when asked for by the name in SKILL.md when their folder has a different name (for example a non-English name): the skill listing now shows both names Fixed a plan written in plan mode being lost when a cloud session's container restarted before the plan was presented Fixed the Bash tool occasionally losing shell aliases, functions and plugin PATH entries for a whole session when its first command ran seconds after startup on a new config directory Fixed unbounded memory use when an HTTP MCP server sends a very large response Fixed artifact operations failing in a Claude Code run started from inside a cloud session (for example claude -p run from the Bash tool) Fixed files sent from remote sessions sometimes being refused as "not the one approved" when four or more were sent at once Fixed plan mode not being restored when resuming a session with --continue or --resume <session-id> in the terminal Fixed a marketplace named after another GitHub marketplace's download folder stopping that marketplace from downloading Fixed automatic compaction giving up with "Prompt is too long" when a Mac went to sleep while it was running Fixed the rewind menu (Esc Esc / /rewind) freezing for hundreds of milliseconds per keypress when the conversation contains a very large pasted stack trace or source file Fixed a subdirectory's AGENTS.md not being attached when a file under it is @-mentioned Fixed self-hosted runner sessions resumed after a stopped runner failing with "missing but already registered worktree" when the sessions folder is a relative symlink Fixed a freeze when the secret scan or a permission prompt met long token-like text Fixed Bash permission checks not applying Read deny rules or the outside-directory read block to a wildcard in some option values of read-only commands Fixed CLAUDE_CODE_USER_DIALOG_TIMEOUT_MS=5m being read as 5 ms and cancelling remote dialogs at once; values with a unit suffix now fall back to dialogExpiry Fixed a stall when an MCP server's tool listing contains very long runs of combining characters Fixed two pastes that overlap in one prompt being sent to the model partly as typed text instead of as one pasted block Fixed Claude in Chrome's browser picker showing a message meant for Claude when the chosen browser is no longer connected, and the VS Code dialog's list going stale after a switch Fixed background subagents losing write and Bash access in their worktree after the main session enters or exits a different worktree Fixed background commands, the agents view and daemon workers sending telemetry and a feature-flag request to Anthropic behind a Claude apps gateway when no managed settings on the machine force gateway login Fixed --restricted (and CLAUDE_CODE_RESTRICTED=1) sessions opening the cross-session messaging socket Fixed sessions moved to the background while idle reopening as "no saved transcript" after a restart or idle cleanup; they now resume their conversation Fixed background workers honoring --allow-dangerously-skip-permissions on respawn without the bypass-permissions disclaimer having been accepted Fixed Claude replying in an endless loop when a plugin's async Stop hook passes an unquoted script path under a folder with a space, such as Application Support Fixed a freeze of several seconds when secret masking met very long unbroken text Fixed some permission rules and safety checks not being applied to a tool call after a PreToolUse hook rewrote its input Fixed first launch asking to pick a login method again after claude auth login or with a credentials file already in the config directory Fixed file names containing line breaks being displayed incorrectly in file tool errors and permission prompts Fixed a large paste expanded in place being sent to the model as typed text after the next keystroke when it held accents stored as separate characters, as macOS file names do Fixed macOS /login reporting success when the keychain refused the new login and kept an old one it could not remove Fixed SDK hosts using --include-partial-messages seeing a reply stay open after the turn ended when its stream was cut, interrupted or fell back to non-streaming Fixed sandboxed Bash commands on Linux running ConfigChange hooks and reloading settings mid-command when .claude/settings.json or .claude/settings.local.json does not exist Fixed errors reading "Premature close" instead of naming the missing program when a tool Claude Code runs, such as git or gh, is not installed (macOS, Linux) Fixed /loop and other recurring session-only scheduled tasks running an extra time after a sandboxed Bash command on Linux or after .claude/scheduled_tasks.json was deleted Fixed edits to the file a symlinked settings file points at running without the settings-file permission question Improved MCP startup behind a network proxy: a server the proxy blocks (HTTP 403) is no longer retried three times Improved permission prompts from background agents to show the Ctrl+X Ctrl+K shortcut that stops all background agents Improved the built-in plugin-authoring skill: Claude now gives the one command another person runs to install a mod you made, and writes it in a README's install section Improved the reply to /plugin in the desktop app's Code tab: it now says where to install and manage plugins there Improved the Bash changed-files view: when a chained command includes git merge, pull or checkout, it lists the files without full diffs Improved the Claude apps gateway's log when an upstream's cloud credentials or connection fail: the warning now ends with the underlying cause Improved the error shown when a cloud session is started without a claude.ai sign-in: it now names claude auth login and /login and no longer blames API-key authentication Improved the Read tool's message for binary files: it now points Claude to a skill or a shell command that can read the format Improved the error shown when a git config file stops the /ultrareview upload: it is about half as long and says what kind of file is the problem Improved the errors shown when the /ultrareview upload refuses a checkout: each known cause now has its own message, with a way to fix it Improved the Claude apps gateway to log a warning during the last 30 days before the certificate it presents to the identity provider expires Improved Claude in Chrome: a browser_batch call now gets 90 seconds, up from 60, before it is reported as timed out Improved the Claude apps gateway's browser sign-in pages: brand fonts, centered layout, and dark mode Improved responsiveness while resuming large sessions: timers, input and rendering keep running while the transcript loads Improved the / and @ suggestion lists: the selected row now starts with a ❯ pointer, so you can see it without color Changed CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC to also skip the startup connection warm-up Changed Claude in Chrome so that a project's settings files can no longer turn it on; use --chrome, /chrome or your user settings Changed the Bash tool to ask for permission before running pyright, which is no longer treated as a read-only command Changed what a mod's $.process.spawn rejects with when another mod denies it after the child ran: it now says the call ran and a plugin withheld its result Changed the background daemon's log to write a multi-line message as one JSON-quoted line Changed skills and custom commands to refuse a ! shell command that contains raw control characters other than tab and newline, with a message that shows where they are Changed /artifacts: opening an artifact in your browser now closes the list Changed Bash permission checks so that more forms of the ps command ask for approval instead of running without asking Changed plugin hooks so long text is clipped and logged instead of being refused or dropped silently Changed background sessions whose scheduled task is gone: they now move to Completed about 20 seconds later and can be updated or shut down when idle Changed the "Press ← again" confirm on a just-cleared prompt: a second ← no longer has to wait a second before it switches, and holding ← down now switches too Changed the errors shown when the /ultrareview upload fails at a git step: they name the step and what to try, and no longer repeat git's own error text Changed /code-review at medium effort to also report cleanup and CLAUDE.md conventions findings on models without tuned review settings, including Opus 5.5 and Sonnet 5.5 Changed an in-process teammate's agent_id in Agent results to its agent ID (its name@team address stays in teammate_id); TeammateIdle hooks no longer fire from its subagents or forks Changed background sessions waiting on a scheduled wakeup (/loop): they are now left running through updates and low memory, where being restarted or shut down could silently lose the wakeup Changed /model, /effort and /rename sent from claude agents to a busy background session to apply right away, without a confirmation, instead of when the turn ends Changed the Claude apps gateway's minimum supported PostgreSQL version from 14 to 11 Changed the interactive session's WebSearch budget to refill over time (100 calls/hour; CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR sets the rate, 0 turns it off) instead of ending after 200 calls Changed CLAUDE_CODE_DISABLE_ATTACHMENTS so a repository's .claude/settings.json or .claude/settings.local.json can no longer set it; shell, user and managed settings still can Changed claude plugin update on a plugin loaded from a directory to print just its reason, without the "Failed to update plugin" prefix, as for built-in plugins Changed the built-in gh api in cloud sessions: a host other than github.com set in GH_HOST or GH_REPO is now refused (use --hostname or a full URL), and stderr notes requests to other hosts Changed the claude-api skill's Managed Agents examples to turn off the web tools unless the agent needs them and to use the auto permission policy Self-hosted runners: Changed claude --environment <id> to create its session through the current Sessions API; printed and JSON session ids keep their session_… form [VSCode] Added a screen reader announcement, "Message queued.", when you send a message while Claude is working [VSCode] Added a way to review and run a plugin marketplace's install or update command from the Manage plugins dialog [VSCode] Fixed a blank chat you never typed into keeping a background Claude process running after you open a saved conversation in its place [VSCode] Fixed settings dialogs blaming a timeout when Claude Code stopped unexpectedly during a save [VSCode] Fixed the branch switch dialog offering to switch when it could not check for uncommitted changes [VSCode] Fixed a permission prompt that arrived behind an open dialog taking keyboard focus, so a key pressed in the dialog could answer it [VSCode] Fixed sign-in and new sessions giving no clear reason when Claude Code cannot find or start its program [VSCode] Fixed the agent map showing a nested sub-agent with "Tool calls (0)" and placing the agents it starts under the main agent [VSCode] Improved Continue After Reload: tabs reopened after VS Code restarts its extensions now also finish a step the restart interrupted [VSCode] Improved file pills in messages: hovering one now shows the file's path from the project folder, so same-named files can be told apart [VSCode] Changed message timestamps to show by default (turn them off with the Claude Code: Show Message Timestamps setting) [Cloud sessions] Fixed turning off prompt suggestions through a cloud environment's environment variables having no effect in new cloud sessions [Cloud sessions] Fixed the working indicator in a cloud session spinning on for several seconds after Claude's reply had finished; it now stops with the reply [Cloud sessions] Fixed History on a never-run routine's page still saying "No runs yet" after you pressed Run now; it now shows the new run [Cloud sessions] Fixed an unarchived cloud session looking as if Claude were still working until you sent another message [Remote Control] Fixed a computer that just started Remote Control taking up to a minute to appear in the Remote Control menu of a new session; it now appears within seconds [Claude Tag] Added fast mode in Slack: mention Claude with !fast to switch a thread to fast mode, moving it to Opus if needed, and !fast off to switch back; replies show (fast) while it's on [Claude Tag] Added the optional Path prefixes field when creating a custom connection in an access bundle, so its allow rule can cover only those paths instead of the whole host [Claude Tag] Fixed members with the Claude Tag Admin permission getting "Couldn't load memory files" on the Activity page's Memory tab; they can now read workspace and channel memory [Claude Tag] Fixed a workspace guest's Confirm on a Claude settings card in Slack removing its buttons for everyone; only the guest sees the refusal, and members can still confirm or cancel [Claude Tag] Fixed scheduled routines in Slack channels running on a model other than the channel's default; each run that starts a new session now uses the current default model [Claude Tag] Fixed GitHub repositories in an access bundle attached by a channel-name rule being refused in the channels the rule covers; Claude can now add, list and clone them there [Claude Tag] Improved Claude's notice in your direct messages when your own Claude plan's usage limit is reached: it shows within seconds and says when the limit resets [Claude Tag] Improved the earlier Claude in Slack app's reply when it can't start a session: it now says what failed and who can fix it, in full only once per thread [Claude Tag] Changed the channel instructions limit to 8,192 characters instead of bytes, so non-English text gets the same room, and added a character count beside Save on the Configure page [Code Review] Fixed blocking review comments sometimes opening with a "nit" label that contradicted their severity [Code Review] Fixed tips to comment "@claude review" being posted on fork and Manual-mode pull requests in organizations that have turned Code Review off

原文入口

阅读原文(github.com)

原文将在新窗口打开。收录时间不是内容更新时间;正文、译文与解读的版权归原作者/来源所有,本站仅作个人阅读辅助并保留原文入口;页面时间均为北京时间。

作者/署名来自原文结构化字段(Atom/RSS/HTML meta/JSON-LD;GitHub release 显示的是发布者账号),未经模型补充。

了解来源批准与收录规则