Claude Code 连续两个版本把它推向多 agent 形态。subagent fork 默认开启:fork 出的 subagent 继承完整会话和 prompt cache,非 teammate 的 agent 在后台启动。新增跨会话 agent 间消息:通过 @-mention 向指定存活会话 SendMessage(v2.1.224+),走本地 socket,只传消息。这批版本还带来 GitLab MR 支持和 plugin marketplace、secret 脱敏,以及多项安全修复(PowerShell $PSDefaultParameterValues 覆写、Cygwin symlink 绕过、嵌套 git 仓库信任继承、/tmp socket 加固)。2.1.233 为沙箱中的 Bash 增加 cgroup 内存限制(CLAUDE_CODE_TOOL_MEMORY_LIMIT),新增可选的 forward_user_identity 用于网关花费归因,并修复 MCP v2 重连;Opus 4.8/Sonnet 5/Fable 5/Mythos 5+ 移除了 todo 工具。Claude Code 2.1.271 为沙箱中的 Bash、PowerShell 和 Monitor 加入逐命令 allowed_domains。2.1.273 新增可选的网关路由 header、MCP 重连失败通知和 Remote Control 会话 fork。它还修复了策略优先级、无法完整分析的 Bash 命令跳过询问、子 shell 隐藏危险删除,以及外部记忆目录被读取等问题。
Claude Code 2.1.316 继续收紧托管策略边界
Claude Code 2.1.316 让 layered 托管策略全部累加,并让 gateway allow/deny 规则检查请求里每个模型字段。restricted session 不再上传工作目录外的已读文件;托管会话拿不到 Auto mode 安全结论时会失败;无法验证的 server-managed settings 缓存也会被拒绝。它还加入 Bedrock 护栏输入标记和共享团队预算。
本文来自既有扫描档案。迁移保留原判断,不代表在迁移时重新核验。
对你意味着什么
对运行长时程 coding agent 的团队来说,这些改动减少恢复与远程控制路径上的策略漂移。升级前应在非关键仓库测试托管设置过期、恢复与压缩。
证据与关联材料
Claude Code 2.1.283 补强精确模型治理、沙箱拒绝策略和重启后的执行一致性。
Claude Code 2.1.284 将单次外部读取审批、MCP 批量重连、花费上限、证书式 IdP 认证与模型策略告警放入稳定版。
Claude Code 2.1.285/286 增加 provider allowlist 与 WebFetch 总开关,并修复恢复、撤权、凭据脱敏和计费边界。
Claude Code 2.1.287 加入 Claude Mods 与内置 observer side-agent,并修复危险 rm、symlink 写入和 MCP 权限边界。
Claude Code 2.1.288 收紧危险命令与 hook 边界,并修复超大 MCP 输出后的重复执行。
Claude Code 2.1.289 修复多条 deny 规则绕过路径
Claude Code 2.1.290/291 加强集中治理与长任务恢复,并修复审批回答和末尾消息丢失。
Claude Code 2.1.292/293 增加 per-subagent effort、Haiku 5.5 与长任务可靠性修复。
Claude Code 2.1.294 修复 prompt 与 agent hook 的错误放行,并改进 Stop hook 指令。
Claude Code 2.1.295 让指定阻断的 command/HTTP hook 失败时默认拒绝,并强化 gateway 与 MCP 边界。
Claude Code 2.1.296 统一桌面与 CLI 托管策略,并修复 hook、MCP、密钥脱敏和 Bash 审批边界。
Claude Code 2.1.299 增加闲置压缩与 runner drain,并修复沙箱、恢复执行、MCP 策略和 gateway 凭据边界。
2.1.300 修复会话恢复丢消息或重复执行、策略读取超时、worktree 起点错误、后台服务假停止和工具输入验证等边界。
Claude Code 2.1.301 修复无人值守重试与工作流误报成功
Claude Code 2.1.302 已发布并修复定时任务重复重放等可靠性问题。
Claude Code 2.1.304 收紧人工审批、危险删除和托管策略边界,并修复无头任务超限与 transcript 丢失。
2.1.305 为 Chromium/rootless Podman 增加 sandbox.allowNestedUserNamespaces,并明确警告它会绕过沙箱文件保护;同时修复 2.1.304 的 provider/gateway tool-search 回归。2.1.306 修复云会话认证及 MCP 工具较多时误报 prompt 过长和多余压缩。
Claude Code 2.1.307 增加逐工具安全遥测,并只对只读或幂等 MCP 工具做断线重试。
Claude Code 2.1.309 修复多条沙箱、symlink、MCP 配置和 Bash 权限绕过路径。
Claude Code 2.1.310 加强云端监控器、网关容错与权限显示
Claude Code 2.1.311 修复压缩后旧 memory、重启后重复 skill 和后台 worktree 生命周期问题。
Claude Code 2.1.312 加固后台任务与会话恢复。
2.1.316 稳定版 release notes 确认模型策略、restricted 上传、安全结论与缓存设置的 fail-closed 修复。
2.1.314 稳定版 release notes 确认新的写入边界、gateway 路由、护栏 trace 与 fail-closed 修复。
后续变化
Claude Code 2.1.283 补强精确模型治理、沙箱拒绝策略和重启后的执行一致性。
Claude Code 2.1.284 加强读取审批、MCP 恢复与 gateway 身份治理
Claude Code 2.1.285/286 补强 provider、撤权与凭据边界
2.1.287 增加 Mods 与 observer side-agent,并修复多项本地执行边界。
2.1.288 修复超大 MCP 输出后的重复执行并收紧危险命令边界。
Claude Code 2.1.289 修复多条 deny 规则绕过路径
Claude Code 2.1.290/291 加强集中治理与长任务恢复
Claude Code 2.1.292/293 增加逐 subagent effort、Haiku 5.5 与多项长任务可靠性修复。
Claude Code 2.1.294 修复自然语言 hook 的错误放行
Claude Code 2.1.295 将更多 hook 与 gateway 故障改为默认拒绝
Claude Code 2.1.296 统一桌面策略并修补执行边界
Claude Code 2.1.299 修补沙箱、恢复执行与 gateway 凭据边界。
Claude Code 2.1.300 加固恢复、策略、工作树与后台执行
Claude Code 2.1.301 修复无人值守重试与工作流误报成功
Claude Code 2.1.302 修复定时任务重复重放
Claude Code 2.1.304 收紧人工审批与危险删除边界
Claude Code 2.1.305-306 修复 gateway 与云会话,并加入高风险 namespace 例外
Claude Code 2.1.307 增加安全遥测与幂等 MCP 重试
Claude Code 2.1.309 集中修补沙箱与权限绕过
Claude Code 2.1.310 加强云端监控器、网关容错与权限显示
Claude Code 2.1.311 修复旧 memory 与重复恢复执行
Claude Code 2.1.312 加固后台任务与会话恢复
2.1.314 收紧托管策略、目录写入与恢复边界。
2.1.316 收紧模型策略、restricted 上传与托管安全结论。
技术细节与六维评分
| Fork | 默认开启;继承会话与 prompt cache |
|---|---|
| 消息 | 通过 @-mention 向存活会话 SendMessage;不交换历史、文件、权限 |
| 沙箱 | CLAUDE_CODE_TOOL_MEMORY_LIMIT cgroup 限制(Linux) |
| 破坏性变更 | 新模型默认停用 todo 工具 |
| 版本线 2026 08 24 27 | 2.1.242-250:2.1.243 新增 promptCacheTtl/subagentPromptCacheTtl 设置(主会话 1h / subagent 5m)、modelPicker、modelPricing 托管设置、/usage Loops 统计;2.1.245 修复 glibc 2.44 启动崩溃;2.1.246 /permissions 增加 Auto mode 规则页、修复 MCP 工具参数类型;2.1.247 SendFeedback 工具、/claude-api cost-optimize、subagent 404 时回退模型链;2.1.248 --restricted 收敛模式、跨会话消息扩展到 Bedrock/Vertex/Foundry 及关闭遥测场景、per-agent experimental.cacheTtl、修复每小时 OAuth 刷新导致的 prompt-cache miss、Workflow 工具 prompt 5.7k->1k token;2.1.250 仅修复;2.1.242/249 未发布 |
| 2026-09-16 更新 | Claude Code 2.1.273(2026-09-15T20:23Z)为 LLM 网关新增可选的 request class、agent type、工具耗时与压缩状态 header;MCP 重连彻底失败时给出通知;Remote Control 会话可 fork 到本机后台。安全修复覆盖 blockReadsOutsideWorkingDirectories 下无法完整分析的 Bash 命令跳过询问、子 shell 隐藏危险 rm、managed MCP 与 connector 策略优先级、组织关闭 Skills 后同步 skill 仍可用,以及仓库指定的外部 memory 目录被载入。维持 ADOPT。 |
| 2026-09-18 更新 | 2.1.274 至 2.1.275(2026-09-17):MCP 首次连接等待时间可设上限,新增 managed-settings 遥测与损坏 transcript 自愈;终端可同步 claude.ai 账号启用的 skills/plugins;补回 fork subagent 输出;npm plugin 改用 --ignore-scripts 获取并校验完整性;marketplace secret 脱敏;修复 Linux 沙箱退出码、文件历史恢复与 self-hosted runner drain。维持 ADOPT。 |
| 2026-09-19 更新 | 2.1.276 至 2.1.277(2026-09-18):2.1.276 修复 proxy/gateway 回归;2.1.277 在没有 CLAUDE.md 时读取 AGENTS.md,新增把 forward proxy 视为唯一 egress boundary 的模式和 gateway upstream 静态 header;修复 headless/SDK 挂起、resume/cache、plugin 替换、异常 enterprise marketplace policy、复合命令沙箱豁免,并明确标注不可信 subagent 结果。维持 ADOPT。 |
| 2026-09-20 更新 | 2.1.278(2026-09-19T01:48:59Z)让 API、Enterprise、Bedrock、Vertex、Foundry 与 gateway 用户默认使用 server-side auto-mode classifier。服务端分类不再收取 classifier overhead;发生计费 fallback 时会告警,/status 也会显示分类器在哪里运行。维持 ADOPT。 |
| 2026-09-24 更新 | 2.1.280(9/22)把 Claude Opus 5.5 设为默认 Opus 模型,修复符号链接写入按树内路径被错误批准的问题,把 hook 输出大小写入 OTel,并提升长时程 subagent 的可靠性。2.1.281(9/23)为 Claude apps gateway 增加 Bedrock assume_role、所有 upstream 必须一致配置的 guardrail、遥测资源标签,并让 auto mode 的只读与沙箱命令也接受服务端 classifier 检查。维持 ADOPT。 |
| 2026-09-26 更新 | 2.1.282(2026-09-24T18:38Z)是一轮大范围可靠性与策略加固。单个无效的嵌套托管设置不再让整块策略失效;项目或插件 skill 不能在 managed-only 规则下预批准自己的工具;恢复审批不会导致命令执行两次;特殊 macOS 符号链接路径与恢复会话的 reasoning 丢失也得到修复。Claude apps gateway 还加入短时 Postgres failover 的 readiness 宽限。维持 ADOPT。 |
| 2026-09-27 更新 | 2.1.283(2026-09-25T21:50Z)新增精确版本 allowlist 与显式 deniedModels、按 prompt 关联网关请求,以及可选的 MCP/Web 工具输出 OTel。版本还让无效的嵌套沙箱策略默认拒绝,阻止 Windows 破坏性命令删除根目录或 home,保留转入后台后的 MCP 进度,并避免云会话重启后重复执行。维持 ADOPT。 |
| 2026-09-29 更新 | Claude Code 2.1.284 stable 增加工作目录外单次读取审批、`/mcp reconnect all`、可见的 gateway 花费上限、`private_key_jwt` 身份提供商认证、Google Cloud OTLP 直传和托管模型策略告警。它会重试损坏响应流与过载错误,必要时再次压缩,并在恢复会话时等待 MCP 工具重连。Sonnet 5.5 成为默认 Sonnet。维持 ADOPT。 |
| 2026-10-02 更新 | 2.1.285 新增 allowedProviders 与 WebFetch 总开关,修复 OAuth、权限回调和 Artifact 边界。2.1.286 修复 session 恢复、Remote Control 撤权、MCP 凭据脱敏和计费。OS 拒绝读取 managed settings 时会告警后继续;格式错误仍会阻止启动。 |
| 2026-10-03 更新 | 2.1.288 为 code review 增加 --max-findings,改善 resume、自动压缩恢复与 MCP OAuth scope 重新认证;修复超大或不可解析输出后的 MCP 重复调用,让 PreToolUse/PermissionRequest hook 状态无法序列化时默认拒绝,并拦截藏在 bash -c 中的危险 rm。 |
| 2026-10-05 更新 Claude-2-1-289 | 2.1.289 修复嵌套 deny/ask 丢失、环境变量前缀与裸赋值的 Bash 匹配、IDE 符号链接读取和 managed MCP 描述改写;新增 agent.spawn 与稳定 teammate ID/状态。 |
| 2026-10-06 更新 | 2.1.290 新增集中管控的 plugin hook、Managed Agents 引导与 attach;修复 plan mode connector 自动批准、工作区外符号链接规则文件载入、MCP 组织策略、大型 HTTP MCP 响应内存无上限、deny 规则缺口及定时/后台任务恢复。2.1.291 修复 2.1.290 丢失权限回答,以及自 2.1.288 起退出时丢失会话末尾消息的问题。 |
| 2026 10 07 更新 | 2.1.292 增加受策略检查的一步式 marketplace 安装与逐 subagent effort;2.1.293 接入 Haiku 5.5、暴露 subagent 类型、支持 mod 工具预加载,并修复压缩状态、HTTP MCP 内存泄漏与排队消息丢失。 |
| 2026-10-08 更新 | 2.1.294 修复以自然语言指令编写的 prompt 与 agent hook 可能放行本应阻止命令的问题,并改进 Stop/SubagentStop prompt hook 指令,减少过早结束。 |
| 更新 2026 10 09 | 2.1.295 让 onFailure:block 的 command/HTTP hook 默认拒绝,增加每上游模型 allowlist、TTFB 限制与 request ID,并加固 MCP 重连退避和沙箱行为。 |
| 2026-10-10 更新 | 2.1.296 将托管 code 策略扩展到 Claude Desktop,新增逐 subagent autoCompactWindow 与 workflow agent 模型覆盖,并修复 managed hook 阻断/输出改写、已禁用 MCP 启动、密钥脱敏、BASH_ARGV0 自动放行、中断 turn 重放和 Windows 编码/权限缺口。 |
| 2026-10-15 更新 | 2.1.300 增加 advisor 与可观测性接口,并修复会话恢复丢失或重复、策略超时、worktree 起点、daemon 停止、云端文件写入误报与 hook 输入校验。 |
| 2026 10 16 更新 | 2.1.301:重试上限、工具决策 OTel、工作流成功状态修复、worktree 保留与认证/权限恢复 |
| 2026-10-21 更新 | 2.1.305 为 Chromium/rootless Podman 增加 sandbox.allowNestedUserNamespaces,并明确警告它会绕过沙箱文件保护;同时修复 2.1.304 的 provider/gateway tool-search 回归。2.1.306 修复云会话认证及 MCP 工具较多时误报 prompt 过长和多余压缩。 |
| 2026-10-22 更新 | 2.1.307 加入逐工具安全 OTel 事件、API version 切换与按幂等性判断的 HTTP MCP 重试;2.1.308 随后修复问题。 |
| 2026-10-23 更新 Claude 2.1.309 | 2.1.309 修复 shell 启动文件在沙箱外执行、denyWrite/profile store 的 symlink 绕过、写入 --mcp-config、disabled MCP 重连及多条 Bash/worktree 权限绕过。 |
| 最新版本 | 2.1.310 |
| 版本更新 | 新增云端 tool/plugin monitor、网关降级、symlink 目标显示和 fail-open hook 修复。 |
| 时间依据 | GitHub release 发布时间为 2026-10-23T23:39:00Z。 |
| 2026-10-26 版本 | Claude Code 2.1.311 稳定版 |
| 2026-10-26 可靠性 | 压缩后重新读取最新 memory / instruction;避免重启后重复执行 skill;修复后台 worktree 与会话恢复 |
| 2026-10-26 时间依据 | GitHub 稳定版发布于 2026-10-26T21:51:23Z |
| 最新稳定版 | 2.1.314 |
| 发布时间 | 2026-10-30T01:06:26Z |
| 2026-10-30 更新 | 全权限模式目录外写入阻断、gateway IdP 组路由、Bedrock 护栏 trace、200K 以上空闲压缩;修复托管策略与恢复沙箱 |
历史更新原文
· 2.1.234 (2026-08-17, in-window): rejects Windows NT-namespace (\??\) paths across remote file reads, session restore, CLAUDE.md includes, workflow scripts and uploads — hardens pre-approval file accesses against the NTLM credential-leak vector; GitLab MR footer badge (draft/pending/green states, glab repos); auto-continue sessions when usage limit resets (toggle in /config); claude-api skill context cost cut from ~200k+ to ~25k tokens; selection:clear keybinding; CLAUDE_CODE_PROJECT_DIR_NAME env var; many Remote Control / permission-preview / TUI fixes.
· 2.1.235 (2026-08-18, in-window): security-relevant fix — Shift+Tab in the permission prompt's comment field no longer wrongly grants session-wide edit permission; new optional `spellcheck` setting (aspell/hunspell/ispell); fix for whole-prompt-cache invalidation when a language server disconnects mid-session; nested markdown list misalignment fix (depth 3+); lower memory/CPU usage for background cloud sessions (/ultrareview); permission dialogs now display exactly what a grant covers; VS Code focus fix after window restore. Recommendation stays ADOPT; upgrading also picks up the 2.1.234 NTLM hardening.
· 2.1.236 (2026-08-19, in-window): `notify_when_idle` option added to cross-session SendMessage — one session can request a single notice when another goes idle (macOS/Linux), extending the inter-agent messaging primitive with idle-awareness; new ANTHROPIC_DEFAULT_MODEL env var sets the starting model for new sessions (/model pick still overrides and persists); macOS sandbox hardening — wildcard read-deny rules like **/.env now take precedence inside allowed regions and resist rename-based bypass; /goal idle sessions auto-check-in after 30 minutes behind long background work; /usage gains a usage-credits row (Team/Enterprise); fixes: clipboard/background tasks breaking after session-directory removal, fullscreen renderer permanently failing after one bad start, /model picker overflow on tall terminals, various fullscreen/tmux rendering issues. Recommendation stays ADOPT.
· 2.1.237 + 2.1.238 (both 2026-08-20, in-window). 2.1.237: fixed prompt caching for sessions using an LLM gateway or custom base URL (directly relevant to gateway deployments); added a built-in 'Concise' output style ('Claude leads with results and skips preamble and narration') selectable via /config. 2.1.238: fixed unbounded memory growth in long interactive sessions — subagent tool results are now freed after leaving the recent display window, directly relevant to long-running multi-agent sessions; plugin marketplaces gained `headersHelper` for URL marketplaces/catalog entries (mints short-lived HTTP headers such as tokens for catalog and same-origin archive fetches, shown to the user first with [y/N] confirmation, no inherited credential env vars) — private/enterprise plugin distribution; self-hosted runner `--defer-shutdown-max-min` (keep serving attached sessions on SIGTERM, then park and exit) and `--proxy-authorization-command`/`--proxy-authorization-file` for proxies needing a fresh Proxy-Authorization header per connection; numerous Remote Control fixes (mid-turn messages vanishing from transcripts, model picks on phone/web not updating the terminal, 'login expired' on brief network hiccups now retries, crashed-session reuse, env-var leaks, per-task Stop, ListAgents/SendMessage wrongly reporting 'not connected' in server mode); cross-session messaging hardening (refused inboxes now report 'refused'; rate-limited/dropped messages notify the sender instead of vanishing); MCP fixes (stdio servers no longer receive server/discover before initialize — lazy servers no longer start on every open; elicitation dialogs fixed for URLs over 4,096 chars; disabled servers listed without health-checking). Recommendation stays ADOPT.
· 2.1.239 (2026-08-21T17:18Z, in-window). Cost/estimation: /cost, the status line and --max-budget-usd now include the 1.1x US-only-inference premium for data-residency workspaces; the usage-limit message now states when the session or weekly limit resets. Bedrock: fixed streaming behind proxies that strip the response Content-Type header (which silently doubled billed API calls by re-running every turn non-streaming) and fixed startup hangs behind an HTTPS proxy with SSO profiles + awsAuthRefresh. Cloud sessions: plugins synced from claude.ai now show as name@synced and work with `claude plugin enable/disable <name>@synced` (never overriding a same-named locally installed plugin); fixed remote MCP servers staying failed after a transient 5xx on mid-session reconnect; fixed resuming out of plan mode after an idle worker restart. Multi-agent/messaging refinements (same primitive family, not new primitives): ListAgents now lists live teammates and tells a session its own peer name; SendMessage to your own name now says so; fixed sessions titled with a leading / being unaddressable; fixed runaway Remote Control session-title syncing (2.1.232 regression). /goal: repeat check-ins on long-running background work now back off (30 min -> 1 h -> 2 h); `claude --resume` restores the active goal. Also: Alpine/musl native add-ons (paste/clipboard/audio), `/claude-api upgrade` for anthropic 0.x -> 1.x Python migration, MCP elicitation form scroll fix in fullscreen, OpenTelemetry trace-fragmentation fix for hook-deferred tool calls, vim-mode agent-view Escape fix. Recommendation stays ADOPT.
· 2.1.240 (2026-08-22T13:03Z) + 2.1.241 (2026-08-22T23:58Z), both in-window. Both entries in the official changelog read only 'Bug fixes and reliability improvements' - no new primitives or documented behavior changes; npm publish timestamps (@anthropic-ai/claude-code) serve as release evidence. Two same-day patch releases after 2.1.239's Bedrock double-billing fix; recommendation stays ADOPT.
· Recovered from index (previous run wrote the update note to index/events.json only): 2.1.242 (19:16Z, no changelog entry) + 2.1.243 (23:10Z): /usage Loops breakdown, modelPicker setting, promptCacheTtl + subagentPromptCacheTtl settings (1h main / 5m subagent), modelPricing managed setting (contracted rates into /cost), keyless Console sign-in
· Recovered from index (previous run wrote the update note to index/events.json only): 2.1.245 (04:45Z): glibc 2.44 startup-crash fix; 2.1.246 (19:17Z): Auto-mode rules tab in /permissions, startup warning for wildcard-before-subcommand Bash allow rules, MCP tool-arg typing fix (empty-schema {}), transcript rendering perf fixes
· Recovered from index (previous run wrote the update note to index/events.json only): 2.1.247 (18:02Z): SendFeedback tool, /claude-api cost-optimize (profile API spend across caching/token hygiene/batch/effort/model choice), sub-agent fallback model chain on 404, Sonnet 5 default auto-compact window to full 1M, cross-session peer messages collapse to one-line preview
· Recovered from index (previous run wrote the update note to index/events.json only): 2.1.248 (20:35Z): --restricted confinement mode (strips exec/WebFetch tools, working-directory confinement, refuses bypassPermissions), per-agent experimental.cacheTtl, cross-session messaging (SendMessage/ListAgents) extended to Bedrock/Vertex/Foundry + telemetry-off, hourly OAuth-refresh prompt-cache-miss fix, Workflow tool prompt 5.7k->1k tokens, /usage-credits for Enterprise; 2.1.250 (22:27Z): bug fixes only
· 2.1.251 (2026-08-28T15:34:26Z npm, in-window; sole release of the day). New: PreModelSwitch / PostModelSwitch hook events (block, confirm or annotate a model switch); SessionStart resume hooks now receive session staleness and estimated re-cache cost; live streaming of a foreground subagent's tool calls and results to Remote Control clients (background subagents still show status only); spend-limit bar in /usage plus rate_limits.spend_limit status-line field; per-session prompt-cache line in /cost (hit ratio, misses, tokens re-cached, warm/cold) with a prompt_cache object for status line scripts; claude attach/logs/stop/respawn/rm surfaced in --help. Security fixes: file tools following a symlink swapped inside the working directory after the permission check (read/write outside approved location); plugin marketplace commands pointing outside the plugin directory rejected as path traversal; Grep/Glob not applying Read(...) deny rules through symlinked search paths; Workflow tool reading scriptPath outside readable scope before the permission check; project settings can no longer enable detailed beta tracing or raw API body logging or bypass a managed OTLP collector. Multi-agent fixes: teammate final answers now reach the team lead in the idle notification; background subagents can reply to unnamed sibling/parent agents; framing tells Claude that own-subagent senders are workers inside this session. Recommendation stays ADOPT.
· 2.1.252 (8/31T17:07Z): bug fixes (Bash task-output-swap failure on some Macs, always-allow saving without settings.local.json, Remote Control stalls on degraded connections, oversized failure-output notifications). 2.1.257 (9/1T17:15Z): Claude Fable 5.1 (claude-fable-5-1) added and made the default Fable model (1M context, $10/$50 per Mtok, $0.25/Mtok cache reads); Containment Escape rule in auto mode — cloud metadata-credential fetches, egress evasion and cross-tenant reach no longer auto-approved; one-time prompt before first file read outside working directories with optional permissions.blockReadsOutsideWorkingDirectories; CLAUDE_CODE_SUBAGENT_MODEL_FORCE; plugins can no longer read outside their directory via symlinked component paths; Remote Control consent fix (dismissal no longer counts as consent); subagents auto-continue after mid-stream cutoffs; Proactive-style sessions stop busy-looping. 2.1.258 (9/1T22:25Z): fixed launch failure on macOS 12 (regression from 2.1.255) and remote/scheduled sessions failing with empty user messages after a re-sent permission approval
· 2.1.259 (9/2T21:21Z): managedMcpServers managed setting (org pushes HTTP/SSE MCP servers to every user), --permission-prompts none for unattended headless hosts (auto-deny anything that would prompt), glab MR recognition, plugin validate --json; fixes incl. concurrent sessions silently reverting each other's ~/.claude.json, Bash Read() deny-rule gaps (option values, git diff/grep operands, cd DIR && cat compounds), OAuth-refresh prompt-cache invalidation with telemetry off, managed-settings parse failure now refuses startup. 2.1.260 (9/3T22:32Z): /diff side panel; prompt-cache miss diagnostics in /cost + status bar; security fixes (Edit/Write/Read rules with brackets in paths were dropped — 'read-only' folders writable; uncompilable pattern failing every edit; zsh REPORTTIME/REPORTMEMORY assignments hiding command substitution from auto-approve); Fable 5.1 model-picker + [1m]-tag agents silently running 200K windows fixed; tool-result prompt-cache fix on Fable 5.1; subagent 1h background-command limit removed; 1M-context auto-compact improvements. 2.1.261 (9/4T17:49Z): /status org-policy row; bashOutputMaxChars/taskOutputMaxChars (inline up to 128K chars); --append-subagent-system-prompt-file; /skill-doctor (unused skills + context cost); Bedrock wizard hang fix; Remote Control fixes; rm -rf prompt now catches positional args and quoted sh -c; agent-team second-round announcement re-send (cache miss) fix. Captured 2026-09-05 run
· 2.1.270 released 2026-09-12T18:52:44Z (npm): single hotfix - read-only git commands in Bash no longer unexpectedly request permission after the session has been running for a while (regression introduced in 2.1.269). No other documented changes.
· Claude Code 2.1.280/281: Opus 5.5 default, symlink-write hardening, OTel detail, Bedrock role/guardrail gateway controls and stricter auto-mode review; stays ADOPT
· Claude Code 2.1.282: managed-policy fail-safe fixes, approval replay hardening, session recovery and gateway failover resilience; stays ADOPT
· Claude Code 2.1.283: exact model allow/deny controls, prompt-level gateway correlation, fail-closed sandbox parsing, Windows destructive-command protection and restart-safe cloud sessions; stays ADOPT