Event ·Official first-hand

Claude Code 发布 v2.1.328,为 Opus 4.6/Sonnet 4.6 新增 auto 权限模式

Anthropic 为 Claude Code 推出 v2.1.328 版本。新增的 auto 模式支持 Claude Opus 4.6 和 Sonnet 4.6,覆盖 Amazon Bedrock、Google Cloud 的 Agent Platform、Microsoft Foundry 和 Claude apps gateway 四个平台,未指定权限模式的交互式会话会默认进入 auto 模式。mcp_tool hooks 新增 "onFailure": "block" 选项,hook 调用失败时会直接阻断对应操作,行为与 command 和 HTTP hooks 对齐。 工具链方面,新版本提供 CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME 环境变量,让宿主程序能阻止 claude -p --resume 和 --continue 执行被 hook 延后的工具调用;嵌入 Claude Code 的应用可启用 policy 插件的 allowManagedModsOnly 选项,且管理员托管设置仍具最高优先级。自托管 runner 增加了 --repository-folder、--hook-label、--metadata 等参数,并在 /metrics 中新增两个 orchestrator 指标:会话排队等待时长(按原因分类)和启动失败放弃计数。 Bug 修复清单覆盖十余项,包括 zsh 中以 = 开头的词导致的 "not found" 错误、自动 compaction 错误复用旧 system prompt、长文本 markdown 渲染冻结、权限提示时 Esc 键丢失、慢连接下粘贴内容被截断输入,以及第三方 provider 下保存定时任务误删其他任务等问题。/status 和 claude doctor 现在会在 OpenTelemetry exporter 缺少 endpoint 时给出数据丢失警告。

Current read

用 Claude Code 跑 agent 的朋友可以升级了:auto 模式让 Bedrock、Google Cloud、Microsoft Foundry 上的 Opus 4.6 和 Sonnet 4.6 会话不用手动调权限,mcp_tool hooks 还能调用失败自动阻断。自托管 runner 也补了排队和失败指标,运维同学值得看看。

11 sources57° AI heatLast updated 2026/11/19 01:14:04

Evidence

11 sources
Primary sourceClaude Code: GitHub Releases
View source
Related source 1claudedevs
View source
Related source 2marktechpost
View source
Related source 3The Rundown AI
View source
Related source 4shao__meng
View source
Related source 6TestingCatalog
View source
Related source 7The Information
View source
Related source 10向阳乔木
View source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.