外部精选
Claude Code · v2.1.300
本文来自外部来源,不是黄奕彬的原创文章。本站提供原文入口,并在采集端生成 AI 结构化摘要、解读与中文翻译(如有),一切以原文为准。
阅读原文(github.com)结构化摘要 AI 生成
背景与问题
这是 Claude Code v2.1.300 在 GitHub Releases 上的官方发布说明,属不可变发布(Immutable release,仅标题与说明可修改)。它面向 Claude Code 各使用形态的用户与运维,回答“这一版新增、修复、变更、移除了什么”。
覆盖终端 CLI、VS Code 扩展、Claude Desktop、Cowork 云会话、Remote Control、Slack 中的 Claude(Claude Tag)、Code Review 与自托管 runner。
方法或内容
以 Added/Fixed/Changed/Removed 分类列出全部条目:
- 新增:mod 提示装饰
virtualText;OTelapi_request的cache_creation_5m_tokens/cache_creation_1h_tokens;$.ui.view({ agentId });Text 的dir属性;AWS 的/advisor;GenAI 语义属性;agent.spawn改写工作流 agent;prompt.change钩子 - 修复:约五十项,涉及云会话、worktree/reftable、会话恢复与压缩、遥测、登录等
- 变更:退出强杀后台命令、大请求默认 gzip、转录记录请求参数等
- 移除:
claude remote-control的--sandbox/--no-sandbox
另设 VSCode、Cloud sessions、Remote Control、Claude Tag、Code Review 专节。
关键发现 / 结果
关键变更点(择要):
- 遥测:
api_request按 5m/1h 生命周期拆分 cache 写入 token;trace span 增加gen_ai.provider.name、error.type等 GenAI 属性 /advisor(Claude Platform on AWS):默认不运行,需显式选择,CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1可关闭- 修复:云会话误报组织策略封禁主机;headless/Agent SDK 恢复丢压缩保留消息或摘要(限本版起的压缩);reftable 仓库
.invalid分支与--worktree失败;MCP 工具 schema 被拒后改发无参数调用,避免每轮 400 - 变更:本地转录记录每个 API 请求的 system prompt、工具与参数;
exit1.5 秒后强杀未停后台命令;大请求默认 gzip(CLAUDE_CODE_GZIP_REQUEST_BODIES=0可关) - 移除:
claude remote-control的--sandbox/--no-sandbox,传参即报错 - Claude Tag:Slack Connect 频道支持(默认关)、私密 Allow once/Deny 卡片、语音剪辑转写
- Code Review:修复私有组织成员的
@claude评论不触发 review;一项云会话回归源自 2.1.292
结论与意义
原文未给出结论、升级建议或量化收益,性质为变更公告。
适用边界:条目绑定 v2.1.300 与所述环境(reftable 仓库、Windows、Claude Desktop、代理等);Remote Control 的 diff 视图修复要求本机 Claude Code ≥ v2.1.296;压缩相关修复仅对“本版起”的压缩生效;自托管 runner 的日志计数修复不在 Windows。
AI 解读 AI 生成
方法:按「时空变量」分析(时间 / 空间 / 变量,严格区分包含、相关与因果),对象包括原文作者、署名人员与关键技术及其实际原理;结论用「元反空」(元思考、反思考、空思考、综合)整理。
时间:何时发生,现在是否仍成立
来源日期为北京时间 2026-10-15 02:24:25(对应原文 2026年10月15日 02:24(北京时间)),内容描述该时点发布的 v2.1.300。发布本身不可变,但所述行为是否“现在仍成立”取决于后续版本,原文未说明。
文中版本锚点:一项云会话回归源自 2.1.292;Remote Control 修复要求本机 v2.1.296+;压缩修复只覆盖本版起的压缩,此前的压缩不受影响。
空间:谁的环境 / 场景
适用于 Claude Code v2.1.300 的用户与运维,覆盖:终端 CLI(含 VS Code、Cursor、Devin Desktop 集成终端)、VS Code 扩展、Claude Desktop、Cowork 云会话、Remote Control(claude.ai 与桌面端,需本机 ≥ v2.1.296)、Slack 的 Claude Tag(含 Slack Connect、语音剪辑)、GitHub Code Review、自托管 runner(其日志计数修复不在 Windows)。
环境相关项:git reftable ref 存储、Windows/macOS/WSL/SSH/Dev Container、TLS 检查代理、Claude Platform on AWS。
变量:实际改变了什么
相对此前的实际变化:
- 遥测:
api_request新增按生命周期拆分的两个 cache 写入 token 字段;span 增加 GenAI 属性;reftable 仓库下git_commit_id丢失被修复 - 行为:本地转录额外记录每个 API 请求的 system prompt、工具与参数;
exit对未停后台命令 1.5 秒后强杀;大请求默认 gzip;钩子updatedInput按未知键丢弃并可拒绝调用 - 配置:
claude remote-control移除--sandbox/--no-sandbox(传参报错,改用 settings 的sandbox.enabled);CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST会话忽略SSL_CERT_FILE等变量 - mod/钩子:新增
prompt.change;agent.spawn可改写工作流 agent 的提示与模型;agent 钩子model:别名如 haiku 现可解析
区分:包含 ≠ 相关 ≠ 因果
绝大多数条目是厂商自述的“缺陷→修复”因果(如云会话误报策略封禁、恢复丢压缩摘要),属明确因果主张但无外部验证。需区分默认状态与能力:/advisor 已加入但默认不运行;Slack Connect 支持默认关闭;gzip 与转录记录是行为变更而非缺陷修复。
唯一明确的因果锚点是“Always allow 缺失”被标注为 2.1.292 的回归。原文未提供任何性能数据或量化结果。
对象:作者/署名与关键技术原理
署名作者(仅来自结构化作者字段):ashwin-ant;正文未提及其他人员。关键技术及原文对其原理的描述:
- Claude Code:发布于其 GitHub Releases 的 CLI 编码代理
- mods 与钩子:
virtualText是画在提示框、永不进入草稿或提交提示的文本;prompt.change在提示框文本未经键入而变化(召回历史、清空、撤销、插件填充)时触发;agent.spawn现可改写工作流 agent 的提示与模型(此前只能拒绝) - OpenTelemetry:
api_request事件与 trace span,属性如gen_ai.provider.name、gen_ai.conversation.id、gen_ai.tool.name、error.type - git worktree 与 reftable ref 存储:多项修复针对二者交互(如
.invalid分支、--worktree重开失败) - 其他:Agent SDK/headless 会话、MCP 工具(schema 被拒时改发无参数调用)、自托管 runner 与 orchestrator
元反空综合结论
元:这份发布说明在解决“v2.1.300 改了什么、是否影响我的环境”,是覆盖终端、VS Code、云端、Slack 与 Code Review 的维护性版本公告。
反:最可能失效或受限的部分——全部为厂商自述,无第三方验证;多项修复强依赖环境(reftable、Windows、TLS 检查代理、Claude Desktop、WSL/SSH/Dev Container);Remote Control 的 diff 修复要求本机 ≥ v2.1.296;压缩修复仅覆盖本版起的压缩;不可变发布不排除后续版本回退。
空:剥离发布叙事后剩余的必要事实,是一份带版本号、配置开关(如 CLAUDE_CODE_GZIP_REQUEST_BODIES=0、sandbox.enabled)与 Added/Fixed/Changed/Removed 四类分级的变更清单。
综合:作为官方一手来源可信度较高,适合当升级与排障索引;对涉及自身环境的条目应实测验证,不应把修复表述当作普遍的性能或正确性保证。
中文译文 AI 生成
不可变的发布。只有发布标题和说明可以修改。
94506ff
更新内容
- 为 mod 的 prompt 装饰添加了
virtualText:在提示框中绘制、但从不进入草稿或所提交 prompt 的文本 - 为 OpenTelemetry 的
api_request事件添加了cache_creation_5m_tokens和cache_creation_1h_tokens,按生命周期拆分缓存写入 - 为 mods 添加了
$.ui.view({ agentId }):应你的请求在主视图中显示某个 agent 的 transcript,而$.ui.view({})用于返回 - 为 mod 的 Text 添加了
dir属性以支持从右到左的文本:在 Windows 上和 VS Code 的终端中,其各行按该方向阅读并右端对齐 - 在 AWS 上的 Claude Platform 中添加了
/advisor;在你通过/advisor、advisorModel或--advisor选择之前不会有任何 advisor 运行,且CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1可将其关闭 - 为 trace span 添加了 OpenTelemetry GenAI 语义约定属性,例如
gen_ai.provider.name、gen_ai.conversation.id、gen_ai.tool.name和error.type - 在
agent.spawnmod hook 中添加了对改写 workflow agent 的 prompt 和 model 的支持,此前它只能拒绝 workflow agent - 添加了
prompt.changemod hook,在提示框文本并非通过键入编辑而发生变化时触发:召回某条历史记录、清空、撤销,或插件的填充 - 修复了在实为会话自身网络设置阻止某主机时,cloud 会话却告知 Claude 是组织策略阻止了该主机的问题
- 修复了当你选择较小的 auto-compact 窗口时,
/autocompact却就高 token 用量发出警告的问题 - 修复了在后台命令仍在运行时退出,
SessionEndhook 有时不运行的问题 - 修复了
claude --help在对--restricted的描述中提及某个已移除工具的问题 - 修复了当某个 pull request 的数据返回不完整时,
claude agents不刷新任何 pull request 状态的问题 - 修复了在 cloud 会话的容器被替换后,当该 agent 此前已被恢复过一次时,Claude 被告知后台 agent 已丢失、无法恢复的问题
- 修复了你曾向其输入过消息的 subagent 在完成后不久从
/tasks中消失、导致无法回到该对话的问题 - 修复了当你正在查看某个子 agent 时,已完成的父 agent 从面包屑导航中消失(其子 agent 显示为被重新根置于顶层)的问题
- 修复了当输入集中到达时,agents 视图把你键入的诸如 "up"、"down" 或 "escape" 这样的单词当作相应按键的问题,这可能在回复中途移动 peek 或清空草稿
- 修复了自动工具搜索(
ENABLE_TOOL_SEARCH=auto)在对话中途被关闭的问题,例如在恢复会话后 MCP 服务器重连期间 - 修复了被
forceLoginOrgUUID拒绝的登录仍存储被拒组织的 token、或使其在/login之后仍然有效的问题 - 修复了在 Claude Desktop 和 Remote Control 会话中,diff 视图未能察觉 reftable 仓库中存在冲突的 cherry-pick 或 revert 的问题
- 修复了 Artifact 工具的 verbose 行和 ctrl+o 行在某次调用的输入到达期间显示
Artifact("(unprintable path)")的问题;该行现在会像 Bash 那样显示 "Waiting…" 和 "Running…" - 修复了当崩溃曾截断 transcript 的最后一行时,恢复会话后写入的第一条 transcript 条目丢失的问题
- 修复了当内容包含 Unicode 行分隔符或段落分隔符(U+2028、U+2029)时,
/branch丢失消息、以及claude purge跳过子文件夹项目的问题 - 修复了当 Claude Code 以
--worktree启动时(尚不包括--tmux),插件的WorktreeCreate和WorktreeRemovehook 不运行的问题 - 修复了在使用 reftable ref 存储的仓库中,执行
git commit -q后 OpenTelemetry 的tool_result事件缺失git_commit_id的问题 - 修复了被 mod 的
prompt.submithook 改写或丢弃的 prompt,仍被记录为键入内容的问题,涉及 OpenTelemetry 的user_prompt事件、interaction span 以及会话标题请求 - 修复了一条本意给 Claude 的关于 mod 热重载的说明出现在 transcript 中、如同你亲手键入的问题
- 修复了 agent hook 忽略其 model 的问题:
haiku等别名现在可以解析,subagent 的 model 不再覆盖它,并且不可用的 model 会回退到调用者的 model,而不是放行该操作 - 修复了当某个 tag 或 branch 的命名形似 commit ID 时,
--worktree会话有时从错误的 commit 启动,以及其起始 git status 指称的是新 worktree 之外分支的问题 - 修复了在使用 git 的 reftable ref 存储的仓库中,分支显示为 ".invalid" 且
--worktree无法重新打开 worktree 的问题 - 修复了 Claude 在会话 scratchpad 中以裸文件名或相对路径而非完整路径来指称文件的问题
- 修复了
clauderemote-control 服务器在出现短暂的登录错误(例如钥匙串被锁定)后放弃续订连接的问题;它们现在会重试,并在你需要运行claude /login时发出警告 - 修复了当无法获取 origin 的默认分支时,裸仓库(bare repository)的 worktree 中
--worktree失败的问题;回退基准现在是当前 checkout 的HEAD,而非主仓库的 - 修复了在 VS Code、Cursor 或 Devin Desktop 的集成终端中启动 Claude Code 时,为检查扩展而两次启动编辑器命令行工具的问题;现在只启动一次
- 修复了 mod 的
prompt.edithook 在通过chat:newline键绑定(Ctrl+J,或重新绑定的 Enter)输入换行时未被触发的问题 - 修复了当 API 拒绝某个 MCP 工具的输入 schema 时,对话每一轮都以 400 错误失败的问题;Claude Code 现在会在该对话的后续轮次中发送不带参数的该工具
- 修复了当压缩发生在一次于输出 token 上限处被截断的回复之后时,恢复 headless 或 Agent SDK 会话会丢失该压缩所保留的近期消息的问题(适用于自本版本起的压缩)
- 修复了当 MCP 服务器在压缩之后才完成连接时,Claude 要到其下一次工具调用才会获知该服务器的工具和指令的问题
- 修复了在一台同时服务多个会话的计算机上,Remote Control 会话仍在运行却被标记为已停止的问题
- 修复了当压缩发生在同一轮中被重试或未完成的回复之后时,恢复 headless 或 Agent SDK 会话会丢失其压缩摘要或带回压缩前历史的问题
- 修复了 Claude 在后台命令运行期间轮询其输出文件或休眠的问题
- 修复了 feature flags 和分阶段发布在一个 TLS 检查代理后方保持陈旧的问题,该代理的证书仅通过 OS 证书存储受信任
- 修复了
claude daemon stop --any在卡住的后台服务仍在运行时打印 "stopped" 的问题:现在它会等待并强制终止该服务,若服务仍存在则以 exit 1 退出并说明情况 - 修复了遥测被关闭时
claude daemon stop无输出退出、且会话仍被列为运行中的问题 - 修复了 Cowork 云会话中的 Write、Edit 和 NotebookEdit 对你本机上的某个路径报告成功、而文件从未到达的问题
- 修复了当会话恢复的历史中从未列出延迟工具时,Claude 仍搜索先前在对话中已加载的这些延迟工具的问题
- 修复了在 dark ANSI 主题下以及 16 色终端上次要(暗淡)文本看起来与普通文本相同的问题
- 修复了无法读取组织策略时云会话每轮挂起 5 分钟的问题;现在该轮会迅速结束并说明原因
- 修复了会话在长回复期间重启后,云会话有时会第二次运行一条已回答过的消息的问题
- 自托管 runner:修复了在无人读取输出时 runner 和 orchestrator 冻结(无轮询、
/healthz或 SIGTERM 关闭)的问题;日志保留最新的 256 KiB 且计数下降(Windows 上除外) - 改进了 Cowork 云会话中的 WebFetch:现在会告知 Claude 某个页面片刻前刚失败,而不是再次获取它
- 改进了内置 plugin-authoring 技能中的 mod 共享:Claude 在打开 mod 的文件之前先扫描其中的密钥,并在扫描项目外的文件夹前先询问
- 改进了 Claude 3 模型收到的关于被 @ 提及的 PDF 的说明,使其较少在不阅读的情况下作答
- 改进了 artifact 更新:Claude 现在会在一次调用中应用小改动并重新发布 artifact,并在单次响应内完成较大编辑并重新发布
- 将
CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST会话改为忽略设置中的 CA-bundle、tool-proxy、git TLS 和 git config 变量(如SSL_CERT_FILE);在 Claude Desktop 下,仅在项目设置中忽略 - 将退出行为改为对被要求停止 1.5 秒后仍在运行的后台命令强制终止;此前在全屏模式下它们可能被留在后台继续运行
- 将 Claude Desktop 的 Code 标签页改为:当
forceLoginGatewayUrl指定了一个为会话主机名提供服务的 Anthropic 运营网关时,应用受管设置;该网关在启动时必须可达 - 桌面环境下,将
claude gateway改为在启动时停止并指明该键:即 Claude Desktop 无法从网关使用的策略键,此前它会带警告启动 - 将发往
api.anthropic.com的大请求改为即使遥测被禁用也使用 gzip 压缩;设置CLAUDE_CODE_GZIP_REQUEST_BODIES=0可将其关闭 - 将
claude-api技能改为保留 Managed Agents 会话,除非你要求归档或删除它们 - 将后台会话改为通过 Workflow 工具的审批来恢复被携带的 workflow,而不是从交接文件运行它
- 将本地会话转录改为同时记录每个 API 请求的 system prompt、工具和参数,使你选择共享的转录能够精确复现某个请求
- 将
/sandbox的模式选项改为显示 "Sandbox commands" 而非 "Sandbox BashTool" - 将 Cowork 云会话中的 PermissionRequest hooks 改为:hook 的
allow中的setMode更新现在会被忽略;批准的其余部分仍然生效 - 将 hooks 改为:来自 PreToolUse 和 PermissionRequest hooks 的
updatedInput现在会像 Claude 自身的输入一样被校验:未知键会被丢弃,被工具拒绝的输入会使该调用被拒绝 - 从
claude remote-control中移除了无效的--sandbox和--no-sandbox标志;现在传入其中任一标志都会报错退出。在设置中设置sandbox.enabled可对会话启用沙箱 - [VSCode] 新增
claudeCode.attachSelection设置,用于阻止编辑器中选中的文本被添加到你的消息中 - [VSCode] 修复了使用额度用尽后 fast mode 仍保持开启的问题,这导致每个请求都被拒绝并重新发送;现在它会关闭,直到你重新开启,并附带错误提示
- [VSCode] 修复了在始终思考的模型上 Thinking 开关被切换为 Off 的问题;这些模型不再显示该开关
- [VSCode] 修复了在被标记消息上使用 "Edit prompt" 时文件或命令菜单覆盖在恢复的提示之上的问题;现在 Enter 会按原样发送该提示
- [VSCode] 修复了在 Windows 上将文件 Shift+拖拽到提示框时插入无法读取的
/c:/…路径而非相对于工作目录的 mention 的问题 - [VSCode] 修复了更改 VS Code 聊天字号设置后需要重新加载窗口、或更改会被主题更改撤销的问题;diff 和计划预览现在也会遵循这些设置
- [VSCode] 修复了 "Resume session" 以及重新加载后恢复的标签页打开一个空白新会话、而非打开已移入 git worktree 的那个会话的问题
- [VSCode] 修复了在被召回的斜杠命令上按 ↑ 后再按 Enter 会在不带参数的情况下运行它的问题;在你编辑之前,命令和文件菜单不会再覆盖在被召回的提示之上
- [VSCode] 修复了在 WSL、SSH 和 Dev Container 窗口中从 Explorer 或编辑器标签页将文件 Shift+拖拽到提示框时不插入任何内容的问题
- [VSCode] 修复了在 Windows 和 Linux 上 Ctrl+Alt+F 切换 Focus 视图而非在 Explorer、其他树状视图或 Debug Console 中打开查找的问题
- [VSCode] 修复了在 macOS 上检查其他窗口或终端中打开的会话时创建额外进程的问题:现在直接启动
/bin/ps,而不是每次检查都在PATH中搜索ps - [VSCode] Windows:修复了崩溃或断电后会话显示 "still open somewhere else" 的问题,此时 Windows 此后已重启并将旧进程 ID 分配给了另一个程序
- [Cloud sessions] 修复了当组织关闭 "Always allow" 时,Cowork 对 connector 工具的批准提示中缺少 "Allow for this task" 的问题(2.1.292 中的回归)
- [Cloud sessions] 修复了在云会话中发送第二条消息后,
/菜单中大多数命令丢失描述的问题 - [Remote Control] 修复了 claude.ai 和桌面应用上 Remote Control 会话中的 diff 视图将已删除和已重命名的文件显示为已修改的问题;要求你的机器上的 Claude Code 为
v2.1.296或更高版本 - [Claude Tag] 新增对 Slack Connect 频道的支持:Owner 或 Claude Tag 管理员可以让 Claude in Slack 在与另一个组织共享的频道中作答;该功能默认关闭
- [Claude Tag] 在 Slack 会话串中为需要你批准的连接器(connector)操作新增了一个私密的 Allow once / Deny 卡片,让 Claude 先询问而不是直接拒绝;其他人只会看到它正在等待你
- [Claude Tag] 新增了 Claude in Slack 对 Slack 语音片段(voice clips)的支持:当 Slack 拥有某段语音片段的转录文本时,Claude 会读取该转录
- [Claude Tag] 修复了以下问题:当另一个应用在 Claude 自己发布到频道的消息下方的会话串中标记 Claude 时,Claude in Slack 不作回应
- [Claude Tag] 变更了管理员附加到 Slack 频道的访问权限包(access bundles)的行为:当频道成为 Slack Connect 频道后,这些权限包会继续生效,无需移除并重新附加
- [Code Review] 修复了 Code Review 忽略
@claude评审评论的问题,这些评论来自具有写入权限但其 GitHub 组织成员身份为私密的用户;他们的评论现在会发起评审 - [Code Review] 修复了 Code Review 的“paused for this repository”(已在此仓库暂停)评论将管理员引导至 Code Review 设置的问题;现在该评论会说明谁可以修复它,并链接到 Git providers 页面
展开原文提取正文(采集端自动提取,可能有缺失)
Immutable release. Only release title and notes can be modified.
94506ff
What's changed
Added virtualText to a mod's prompt decorations: text drawn in the prompt box that never enters the draft or the submitted prompt Added cache_creation_5m_tokens and cache_creation_1h_tokens to the OpenTelemetry api_request event, splitting cache writes by lifetime Added $.ui.view({ agentId }) for mods: shows an agent's transcript in the main view when you ask, and $.ui.view({}) goes back Added a dir prop on a mod's Text for right-to-left text: on Windows and in VS Code's terminal its rows read in that direction and sit flush right Added /advisor on Claude Platform on AWS; no advisor runs until you pick one with /advisor, advisorModel or --advisor, and CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1 turns it off Added OpenTelemetry GenAI semantic-convention attributes to trace spans, such as gen_ai.provider.name, gen_ai.conversation.id, gen_ai.tool.name and error.type Added support for rewriting a workflow agent's prompt and model in the agent.spawn mod hook, which could only refuse workflow agents before Added the prompt.change mod hook, raised when the prompt box's text changes without a typed edit: a recalled history entry, a clear, an undo, or a plugin's fill Fixed cloud sessions telling Claude that an organization policy blocked a host when the session's own network settings did Fixed /autocompact warning about high token usage when you choose a smaller auto-compact window Fixed SessionEnd hooks sometimes not running when you exit while a background command is still running Fixed claude --help naming a removed tool in its description of --restricted Fixed claude agents not refreshing any pull request's status when the data for one of them came back incomplete Fixed Claude being told a background agent was lost, not resumable, after a cloud session's container was replaced, when the agent had already been resumed once Fixed subagents you had typed messages to disappearing from /tasks shortly after finishing, leaving no way back to the conversation Fixed a completed parent agent dropping off the breadcrumb (its child shown re-rooted at top level) while you were viewing the child Fixed the agents view taking a typed word such as "up", "down" or "escape" for that key when input arrived in a burst, which could move the peek mid-reply or clear a draft Fixed automatic tool search (ENABLE_TOOL_SEARCH=auto) turning off part-way through a conversation, for example while MCP servers reconnect after a resume Fixed a login refused by forceLoginOrgUUID leaving the refused organization's token stored, or live after /login Fixed the diff view in Claude Desktop and Remote Control sessions not noticing a conflicted cherry-pick or revert in reftable repositories Fixed the Artifact tool's verbose and ctrl+o line reading Artifact("(unprintable path)") while a call's input arrives; its row now shows "Waiting…" and "Running…" as Bash's does Fixed the first transcript entry written after resuming a session being lost when a crash had cut the transcript's last line short Fixed /branch dropping messages, and claude purge skipping subfolder projects, when they contain a Unicode line or paragraph separator (U+2028, U+2029) Fixed plugin WorktreeCreate and WorktreeRemove hooks not running when Claude Code starts with --worktree (not yet with --tmux) Fixed OpenTelemetry tool_result events missing git_commit_id after git commit -q in repositories using reftable ref storage Fixed a prompt that a mod's prompt.submit hook rewrote or dropped still being recorded as typed in the OpenTelemetry user_prompt event and interaction span, and in session title requests Fixed a note meant for Claude about mod hot-reloading appearing in the transcript as if you had typed it Fixed agent hooks ignoring their model: aliases like haiku now resolve, a subagent's model no longer overrides it, and an unavailable model falls back to the caller's instead of allowing the action Fixed --worktree sessions sometimes starting from the wrong commit when a tag or branch was named like a commit ID, and their starting git status naming a branch other than the new worktree's Fixed the branch showing as ".invalid" and --worktree failing to reopen a worktree in repositories using git's reftable ref storage Fixed Claude naming files in the session scratchpad by a bare filename or relative path instead of their full path Fixed claude remote-control servers giving up on renewing their connection after a brief sign-in error, such as a locked keychain; they now retry, and warn when you need to run claude /login Fixed --worktree failing in a worktree of a bare repository when origin's default branch can't be fetched; the fallback base is now the current checkout's HEAD, not the main repository's Fixed starting Claude Code in a VS Code, Cursor or Devin Desktop integrated terminal launching the editor's command-line tool twice to check for the extension; it now launches it once Fixed a mod's prompt.edit hook not being raised for a newline entered with the chat:newline keybinding (Ctrl+J, or a rebound Enter) Fixed a conversation failing on every turn with a 400 error when the API rejected an MCP tool's input schema; Claude Code now sends that tool without parameters for the rest of the conversation Fixed resuming a headless or Agent SDK session losing the recent messages a compaction had kept, when the compaction followed a reply cut at the output token limit (compactions from this version on) Fixed Claude not being told about an MCP server's tools and instructions until its next tool call, when the server finished connecting after a compaction Fixed Remote Control sessions being marked stopped while still running, on a computer serving several sessions at once Fixed resuming a headless or Agent SDK session losing its compaction summary or bringing back pre-compaction history, when the compaction followed a retried or unfinished reply in the same turn Fixed Claude polling a background command's output file or sleeping while it runs Fixed feature flags and staged rollouts staying stale behind a TLS-inspecting proxy whose certificate is trusted only through the OS certificate store Fixed claude daemon stop --any printing "stopped" while a stuck background service kept running: it now waits, force-kills the service, and says so with exit 1 if it is still there Fixed claude daemon stop exiting with no output, and leaving sessions listed as running, when telemetry is turned off Fixed Write, Edit and NotebookEdit in Cowork cloud sessions reporting success for a path on your own computer, where the file never arrived Fixed Claude searching for deferred tools already loaded earlier in the conversation when a session resumes a history that never listed them Fixed secondary (dim) text looking the same as normal text under the dark ANSI theme and on 16-color terminals Fixed cloud sessions hanging 5 minutes per turn when the organization's policy can't be read; the turn now ends promptly and says why Fixed a cloud session sometimes running an already answered message a second time after the session restarted during a long reply Self-hosted runner: Fixed the runner and orchestrator freezing (no polls, /healthz or SIGTERM shutdown) while nobody reads their output; logs keep the latest 256 KiB and count drops (not on Windows) Improved WebFetch in Cowork cloud sessions to tell Claude that a page failed moments ago instead of fetching it again Improved mod sharing in the built-in plugin-authoring skill: Claude scans a mod's files for keys before opening them, and asks before scanning a folder outside the project Improved the note Claude 3 models get about an @-mentioned PDF, so they less often answer without reading it Improved artifact updates: Claude now applies a small change and republishes the artifact in one call, and makes larger edits and republishes within a single response Changed CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST sessions to ignore CA-bundle, tool-proxy, git TLS and git config variables like SSL_CERT_FILE in settings; under Claude Desktop, only in project settings Changed exit to force-kill background commands still running 1.5 seconds after being asked to stop; in fullscreen mode they could previously be left running Changed Claude Desktop's Code tab to apply managed settings when forceLoginGatewayUrl names an Anthropic-operated gateway that serves the session's hostname; that gateway must be reachable at start Changed claude gateway to stop at start, naming the key, on a desktop: policy key that Claude Desktop cannot use from a gateway, where it earlier started with a warning Changed large requests to api.anthropic.com to use gzip compression even when telemetry is disabled; set CLAUDE_CODE_GZIP_REQUEST_BODIES=0 to turn it off Changed the claude-api skill to leave Managed Agents sessions in place unless you ask to archive or delete them Changed background sessions to resume a carried workflow through the Workflow tool's approval instead of running it from the handoff file Changed local session transcripts to also record each API request's system prompt, tools and parameters, so a transcript you choose to share can reproduce a request exactly Changed the /sandbox mode options to read "Sandbox commands" instead of "Sandbox BashTool" Changed PermissionRequest hooks in Cowork cloud sessions: a setMode update in a hook's allow is now ignored; the rest of the approval still applies Changed hooks: updatedInput from PreToolUse and PermissionRequest hooks is now validated like Claude's own input: unknown keys are dropped, and input the tool rejects denies the call Removed the --sandbox and --no-sandbox flags from claude remote-control, which had no effect; passing either now exits with an error. Set sandbox.enabled in settings to sandbox sessions [VSCode] Added the claudeCode.attachSelection setting to stop text selected in the editor from being added to your messages [VSCode] Fixed fast mode staying on after usage credits ran out, which made each request be refused and re-sent; it now turns off until you turn it back on, with an error notice [VSCode] Fixed the Thinking toggle switching to Off on models that always think; the toggle is no longer shown for those models [VSCode] Fixed "Edit prompt" on a flagged message opening the file or command menu over the restored prompt; Enter now sends it as written [VSCode] Fixed Shift+dragging a file onto the prompt on Windows inserting an unreadable /c:/… path instead of a mention relative to the working directory [VSCode] Fixed changes to VS Code's chat font size settings needing a window reload or being undone by a theme change; diffs and the plan preview now follow them too [VSCode] Fixed "Resume session" and tabs restored after a reload opening an empty new conversation instead of one that had moved into a git worktree [VSCode] Fixed ↑ then Enter on a recalled slash command running it without its arguments; the command and file menus no longer open over a recalled prompt until you edit it [VSCode] Fixed Shift+dragging a file from the Explorer or an editor tab onto the prompt inserting nothing in WSL, SSH and Dev Container windows [VSCode] Fixed Ctrl+Alt+F toggling Focus view instead of opening Find in the Explorer, other tree views, or the Debug Console on Windows and Linux [VSCode] Fixed the check for sessions open in other windows or terminals creating extra processes on macOS: it now starts /bin/ps directly instead of searching PATH for ps on every check [VSCode] Windows: Fixed a conversation showing "still open somewhere else" after a crash or power loss, when Windows had since restarted and given the old process ID to another program [Cloud sessions] Fixed "Allow for this task" missing from Cowork's approval prompts for connector tools where an organization turns off "Always allow" (regression in 2.1.292) [Cloud sessions] Fixed most commands in the / menu losing their descriptions in cloud sessions once you sent a second message [Remote Control] Fixed the diff view in Remote Control sessions on claude.ai and the desktop app showing deleted and renamed files as modified; requires Claude Code v2.1.296 or later on your machine [Claude Tag] Added support for Slack Connect channels: an Owner or Claude Tag admin can let Claude in Slack answer in channels shared with another organization; it's off by default [Claude Tag] Added a private Allow once / Deny card in Slack threads for connector actions that need your approval, so Claude asks instead of refusing; others only see that it's waiting on you [Claude Tag] Added support for Slack voice clips in Claude in Slack: Claude reads Slack's transcript of a clip when Slack has one [Claude Tag] Fixed Claude in Slack not answering another app that tags it in a thread under a message Claude itself posted to the channel [Claude Tag] Changed access bundles an admin attached to a Slack channel to keep applying once the channel becomes a Slack Connect channel, with no need to remove and re-attach them [Code Review] Fixed Code Review ignoring @claude review comments from people with write access whose GitHub organization membership is private; their comments now start a review [Code Review] Fixed Code Review's "paused for this repository" comment sending admins to Code Review settings; it now says who can fix it and links the Git providers page
原文入口
阅读原文(github.com)原文将在新窗口打开。收录时间不是内容更新时间;正文、译文与解读的版权归原作者/来源所有,本站仅作个人阅读辅助并保留原文入口;页面时间均为北京时间。
了解来源批准与收录规则