Claude Code Changelog

An unofficial reader. Not made by or affiliated with Anthropic. The notes are quoted word for word from anthropics/claude-code.

Week 22, 2026

25 May to 31 May 2026. 7 releases: 2.1.159, 2.1.158, 2.1.157, 2.1.156, 2.1.154, 2.1.153, 2.1.152. 149 notes: 10 added, 81 fixed, 2 improved, 1 changed, 4 removed or reverted, 51 other notes.

Releases in week 2026-W22
VersionDateItemsADDFIXIMPCHGREMLargest areas
2.1.1591.....Everything else 1
2.1.1581.....Settings 1
2.1.157333181.2Agents 9, IDE and desktop 4, Terminal and input 4
2.1.1561.1...Models and providers 1
2.1.15444222112Agents 9, Commands 8, Terminal and input 7
2.1.15336124...Agents 6, MCP 6, Commands 5
2.1.15233416...Models and providers 6, Plugins and skills 6, Agents 4

Security8

  1. FIX Fixed sandbox network permission prompts appearing in auto and bypass-permissions mode when using the desktop app, IDE extensions, or SDK 2.1.157
  2. FIX Fixed the terminal freezing after approving the managed-settings security dialog at startup 2.1.157
  3. REM Removed the "bash commands will be sandboxed" startup banner — sandbox status still shows in /status and when a command is blocked 2.1.157
  4. IMP Improved the auto-mode classifier's detection of data exfiltration, particularly bulk transfers of repository contents 2.1.154
  5. FIX Fixed $TMPDIR resolving to different directories in sandboxed vs unsandboxed Bash commands within the same session 2.1.154
  6. NOTE macOS: background agents now appear as "Claude Code" in Privacy & Security and keep their permission grants across upgrades 2.1.153
  7. FIX Fixed a regression where a custom API gateway could receive the user's Anthropic OAuth credential instead of the gateway's own token 2.1.153
  8. FIX Fixed the sandbox-enabled warning not appearing in condensed startup mode — it now shows in every layout 2.1.152

MCP12

  1. NOTE tool_decision telemetry events now include tool_parameters (bash commands, MCP/skill names) when OTEL_LOG_TOOL_DETAILS=1 2.1.157
  2. FIX Fixed unprocessable images (zero-byte, corrupt) attached via paste, MCP, or dialog crashing the request instead of becoming a text placeholder 2.1.157
  3. NOTE Stdio MCP server subprocesses now receive CLAUDE_CODE_SESSION_ID and CLAUDECODE=1 in their environment 2.1.154
  4. FIX Fixed /mcp tools list and tool detail rendering when MCP servers have long or multi-line tool names or long descriptions 2.1.154
  5. NOTE Combined the separate "needs authentication" startup notifications for MCP servers and connectors into a single message 2.1.153
  6. FIX Fixed stateful MCP servers without the optional GET SSE stream reconnect-looping on tools/list (regression in v2.1.147) 2.1.153
  7. FIX Fixed subagent (Agent tool) frontmatter MCP servers ignoring --strict-mcp-config, --bare, remote mode, enterprise managed MCP config, and managed-settings MCP server allow/deny policies 2.1.153
  8. NOTE --strict-mcp-config no longer strips inline mcpServers from explicitly-passed agent definitions (--agents / SDK agents), and blocked subagent MCP servers now surface a visible warning 2.1.153
  9. FIX Fixed MCP tool progress notifications not rendering in the collapsed tool view 2.1.153
  10. FIX [VSCode] Fixed Claude Code processes not shutting down cleanly when VS Code closed on Windows, causing false "unclean exit" reports and orphaned MCP servers 2.1.153
  11. FIX Fixed plugin MCP servers with the same command but different environment variables being incorrectly deduplicated 2.1.152
  12. FIX Fixed remote MCP servers failing to connect in Claude Code Remote sessions when the egress proxy is enabled 2.1.152

Hooks3

  1. NOTE SessionStart hooks can now return reloadSkills: true to re-scan skill directories, making skills installed by the hook available in the same session 2.1.152
  2. NOTE SessionStart hooks can now set the session title via hookSpecificOutput.sessionTitle on startup and resume 2.1.152
  3. ADD Added a MessageDisplay hook event that lets hooks transform or hide assistant message text as it is displayed 2.1.152

Plugins and skills14

  1. NOTE Plugins in .claude/skills directories are now automatically loaded, no marketplace required 2.1.157
  2. ADD Added claude plugin init <name> to scaffold a new plugin in .claude/skills 2.1.157
  3. ADD Added autocomplete for /plugin arguments: subcommands, installed plugin names, and plugins from known marketplaces 2.1.157
  4. NOTE Plugins can now declare defaultEnabled: false in plugin.json or a marketplace entry; enable them with /plugin or claude plugin enable. Dependencies of enabled plugins are still enabled automatically 2.1.154
  5. NOTE The /plugin Discover tab now pins plugins whose relevance signals match the current directory with a "suggested for this directory" annotation 2.1.154
  6. ADD Added Claude Opus 4.8 support and 4.7 → 4.8 migration guidance to the /claude-api skill 2.1.154
  7. ADD Added skipLfs option to github/git plugin marketplace sources to skip Git LFS downloads during clone and update 2.1.153
  8. NOTE claude agents: autocomplete in the dispatch input now suggests native slash commands and bundled skills, not just project skills 2.1.153
  9. NOTE Skills and slash commands can now set disallowed-tools in frontmatter to remove tools from the model while the skill is active 2.1.152
  10. ADD Added /reload-skills command to re-scan skill directories without restarting the session 2.1.152
  11. ADD Added pluginSuggestionMarketplaces managed setting: admins can allowlist org marketplaces whose plugins may be suggested via context-aware tips 2.1.152
  12. NOTE claude plugin marketplace remove now accepts --scope user|project|local for symmetry with marketplace add, install, and uninstall 2.1.152
  13. FIX Fixed /doctor reporting "marketplace not found" or "plugin not found" for stale enabledPlugins entries referencing removed marketplaces or dropped plugins 2.1.152
  14. FIX Fixed plugins that track a git branch silently no longer receiving updates after the plugin registry was rebuilt 2.1.152

SDK and headless2

  1. FIX Fixed a hang where the CLI could fail to exit when stdin was closed without EOF in stream-json mode, leaving a stale session marker behind 2.1.153
  2. FIX Fixed the PushNotification tool incorrectly reporting "Mobile push not sent (Remote Control inactive)" in SDK-hosted sessions when Remote Control is enabled 2.1.152

Agents28

  1. NOTE claude agents: the agent field in settings.json is now honored for dispatched sessions, with --agent <name> to override it 2.1.157
  2. NOTE Worktrees managed by Claude are now left unlocked when the agent finishes, so git worktree remove/prune can clean them up 2.1.157
  3. FIX Fixed claude agents completed sessions not retiring when an idle subagent was still parked or had leaked a backgrounded shell 2.1.157
  4. FIX Fixed claude agents pressing Esc not cancelling a slow "opening…", leaving the list unresponsive 2.1.157
  5. FIX Fixed background agent worktrees under .claude/worktrees/ being orphaned after the 30-day job retention sweep 2.1.157
  6. FIX Fixed copy-on-select in claude agents not reaching the system clipboard inside tmux with set-clipboard on (regression in 2.1.153) 2.1.157
  7. FIX Fixed --resume not reporting background subagents that were running when the previous Claude Code process exited 2.1.157
  8. NOTE claude agents: slash-command autocomplete in the dispatch input now matches substrings 2.1.157
  9. FIX [IDE] Fixed clicking Stop while a background subagent is running not actually stopping it 2.1.157
  10. ADD Introducing dynamic workflows: ask Claude to create a workflow and it orchestrates work across tens to hundreds of agents in the background, so you can take on larger, more complex tasks. Run /workflows to view your runs 2.1.154
  11. NOTE claude agents: type ! <command> to run a shell command as a background session you can attach to and detach from. Also available as claude --bg --exec '<command>' 2.1.154
  12. NOTE claude agents: /logout now signs you out instead of being sent to a background session 2.1.154
  13. NOTE ←← to open the agents view now works on Bedrock, Vertex, Foundry, and with telemetry disabled 2.1.154
  14. FIX Fixed unreadable highlighted-row text in claude agents when the Claude Code theme doesn't match the terminal background 2.1.154
  15. FIX Fixed background-agent completion notifications triggering premature "out of context" behavior on some 1M-context models 2.1.154
  16. FIX Fixed pinned background sessions respawning every minute after a Claude Code update, causing repeated agent-start notifications and process churn at idle 2.1.154
  17. FIX Fixed subagents in background sessions bypassing the worktree-isolation guard and writing to the shared checkout 2.1.154
  18. FIX Fixed worktree.baseRef: "head" resolving to the main checkout's HEAD instead of the current worktree's HEAD when spawning subagents or calling EnterWorktree from inside a linked worktree 2.1.154
  19. NOTE claude agents: PR column now shows PR #N for a single PR or N PRs for multiple 2.1.153
  20. FIX Fixed claude agents and claude --bg running on a stale daemon started before binary-takeover support, even after upgrading 2.1.153
  21. FIX Fixed Agent tool with subagent_type: 'claude' running in an undocumented temporary worktree, which could silently discard outputs written to gitignored paths 2.1.153
  22. FIX Fixed recovering a background agent whose working directory was deleted showing a truncated stack trace instead of a clear error message 2.1.153
  23. FIX Fixed background-color bleed when attaching to a background agent from 256-color-only terminals after the agent had rendered file diffs 2.1.153
  24. FIX Fixed opening claude agents with Remote Control enabled leaving zombie session entries on the Code tab after exiting 2.1.153
  25. NOTE Simplified the Workflow tool's inline progress display — live agent counts now show only in the persistent workflow status row below the prompt 2.1.152
  26. NOTE The post-response timer now shows "Waiting for N background agents/workflows to finish" when backgrounded agents or workflows are still running, and reports the cumulative time once their results are processed 2.1.152
  27. FIX Fixed the Agent tool description referencing an agent list that is never delivered when running with --bare or with attachments disabled 2.1.152
  28. FIX Fixed a background worker crash in claude agents when accepting a stale permission prompt after a subagent was cancelled 2.1.152

IDE and desktop7

  1. FIX Fixed right-click paste duplicating the clipboard in the VS Code, Cursor, and Windsurf integrated terminals 2.1.157
  2. NOTE /terminal-setup now disables GPU acceleration in VS Code/Cursor/Windsurf integrated terminals to prevent garbled-text rendering 2.1.157
  3. REM Removed the "/ide for …" startup hint toast 2.1.157
  4. FIX [VSCode] Fixed the fast mode indicator not appearing on Opus 4.8 2.1.157
  5. FIX Fixed intermittent terminal rendering corruption in VS Code by capping the number of distinct colors the thinking spinner produces 2.1.154
  6. NOTE [VSCode] Auto mode no longer requires the bypass-permissions setting to appear in the mode picker, and a dismissable notice on the new-session screen explains auto mode the first time it's active 2.1.154
  7. NOTE /model now saves your selection as the default for new sessions (matching the IDE). Press s in the picker to switch models for the current session only. 2.1.153

Commands17

  1. FIX Fixed the /model picker showing an incorrect "Newer version available" hint when the selected model is already the newest in its family; the pinned-model row now shows the model's description instead of its raw ID 2.1.157
  2. ADD Added a "Workflow keyword trigger" setting in /config to stop the word "workflow" in a prompt from triggering a dynamic workflow 2.1.157
  3. NOTE Opus 4.8 is here! Now defaults to high effort · /effort xhigh for your hardest tasks 2.1.154
  4. NOTE /simplify now runs a cleanup-only review (reuse, simplification, efficiency, altitude) and applies the fixes, instead of running the full /code-review --fix bug-hunting review 2.1.154
  5. CHG Renamed the /effort slider labels from "Speed"/"Intelligence" to "Faster"/"Smarter" for clarity 2.1.154
  6. NOTE Claude in Chrome: pick which connected browser to use via /chrome → "Select browser…", or in-chat when a browser action runs with multiple connected 2.1.154
  7. NOTE /remote-control autocomplete now shows "Disconnect Remote Control" when Remote Control is already active 2.1.154
  8. REM Deprecated CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE (will be removed on 06/01). To use fast mode on Opus 4.6, switch with /model claude-opus-4-6[1m] and then /fast on 2.1.154
  9. FIX Fixed background-session classifier losing the user's goal when a scheduled /command fires 2.1.154
  10. FIX Fixed the /model picker not showing fast mode pricing on the Default option for API (pay-as-you-go) users when fast mode is on 2.1.154
  11. NOTE Claude Code now shows a one-time notice when your npm global install can't auto-update; /doctor lists the fixes 2.1.153
  12. NOTE /bg while Claude is responding now continues the response in the background session instead of dropping it 2.1.153
  13. FIX Fixed /btw keyboard shortcuts becoming unresponsive in background sessions while a task is running 2.1.153
  14. FIX Fixed /copy and copy-on-select silently failing to update the system clipboard when attached to a background session inside tmux 2.1.153
  15. FIX Fixed /rename in background sessions not updating the session banner immediately 2.1.153
  16. NOTE /code-review --fix now applies review findings to your working tree after the review, surfacing reuse, simplification, and efficiency suggestions; /simplify now invokes /code-review --fix 2.1.152
  17. NOTE The /usage breakdown now includes large session files; files are scanned with a streaming read so memory usage stays flat 2.1.152

Settings5

  1. NOTE Auto mode is now available on Bedrock, Vertex, and Foundry for Opus 4.7 and Opus 4.8. Opt in by setting CLAUDE_CODE_ENABLE_AUTO_MODE=1 2.1.158
  2. FIX Fixed rm -rf $HOME not being blocked as a dangerous path when HOME has a trailing slash 2.1.154
  3. FIX Fixed a single invalid allowedMcpServers/deniedMcpServers entry in managed settings discarding all managed-settings policy; the bad entry is now dropped with a claude doctor warning 2.1.154
  4. FIX Fixed API 400 errors on models that don't support the effort parameter when CLAUDE_CODE_ALWAYS_ENABLE_EFFORT is set 2.1.154
  5. NOTE Status line commands now receive COLUMNS and LINES environment variables so scripts can size output to the terminal width 2.1.153

Permissions4

  1. NOTE claude mcp list/get now show unapproved .mcp.json servers as ⏸ Pending approval instead of auto-approving and connecting when output is piped 2.1.154
  2. FIX Fixed auto mode incorrectly blocking actions with "could not evaluate this action" when the safety classifier ran out of output tokens while reasoning 2.1.154
  3. FIX Fixed background sessions writing temp files to $CLAUDE_JOB_DIR triggering a "sensitive file" permission prompt 2.1.153
  4. NOTE Auto mode no longer requires opt-in consent 2.1.152

Models and providers11

  1. FIX Fixed background sessions re-attached after a sleep/wake not telling the model the correct date 2.1.157
  2. FIX Fixed an issue when using Opus 4.8 where thinking blocks were modified, leading to API errors. 2.1.156
  3. NOTE Fast mode on Opus 4.8 is now available at a fraction of its previous cost: 2x the standard rate for 2.5x the speed 2.1.154
  4. NOTE The lean system prompt is now the default for all models except Haiku, Sonnet, and Opus 4.7 and earlier 2.1.154
  5. NOTE Streaming tool execution is now always enabled, including when telemetry is disabled or on Bedrock/Vertex/Foundry (previously behind a feature flag) 2.1.154
  6. NOTE Claude Code now switches to your configured --fallback-model for the rest of the session when the primary model is not found, instead of failing every request 2.1.152
  7. NOTE Thinking summaries in the collapsed group now stay readable for at least 3 seconds, render as markdown, and cap at 10 lines (Ctrl+O shows the full thinking) 2.1.152
  8. NOTE In fullscreen mode, the "Thinking for Ns" indicator now counts up live while the model is thinking, and keeps its value if you interrupt mid-thought 2.1.152
  9. FIX Fixed the loading spinner showing "still thinking"/"almost done thinking" while a tool is running, and reset the thinking status to "thinking" after each tool 2.1.152
  10. FIX Fixed the effort-change confirmation dialog appearing when the conversation has no messages or when switching between effort levels that resolve to the same underlying value 2.1.152
  11. FIX Fixed sessions getting stuck after a model or login switch left stale thinking-block signatures in history; now stripped proactively with a retry safety-net 2.1.152

Performance3

  1. IMP Improved performance of long and resumed conversations by eliminating redundant message-rendering recomputations 2.1.157
  2. FIX Fixed orphaned claude --bg-pty-host processes spinning at 100% CPU after the daemon exits on macOS 2.1.154
  3. FIX Fixed excessive memory usage (multiple GB) when resuming a session by transcript file path on machines with many stored sessions 2.1.153

Terminal and input18

  1. FIX Fixed the --resume session picker leaving its contents on the terminal after exiting in fullscreen mode 2.1.157
  2. FIX Fixed a rare duplicate line appearing in scrollback after the terminal UI redraws 2.1.157
  3. FIX WSL: fixed image paste (alt+v keybinding), screenshot paste on Windows 11, and added support for dragging images from Windows Explorer 2.1.157
  4. NOTE The Feature of the Week credit-claim status now appears as a notification in the status area instead of a line above the prompt 2.1.157
  5. NOTE Claude now reserves the multiple-choice question prompt for decisions it genuinely cannot make itself, instead of asking when it already has enough context to proceed 2.1.154
  6. FIX Fixed number key shortcuts not working for options shown below the divider in option dialogs 2.1.154
  7. FIX Fixed a stray leading space on wrapped lines when the previous line ended exactly at the terminal width 2.1.154
  8. FIX Fixed plan file names including [Image #N] / [Pasted text #N] placeholders when a plan-mode prompt starts with pasted images or text 2.1.154
  9. FIX Fixed a phantom expand/click affordance on colored tool output: short ANSI-colored lines that fit on screen no longer show a "ctrl+o to expand" hint 2.1.154
  10. REM Removed the stale "& for background" hint from the shortcuts help panel 2.1.154
  11. FIX Fixed the task panel below the prompt showing a stray unselectable "main" row when only a workflow is running 2.1.154
  12. FIX Fixed malformed file:// links in Claude's responses not being clickable in the terminal 2.1.153
  13. FIX Fixed claude --help rendering unwrapped output on terminals narrower than 92 columns 2.1.153
  14. FIX Fixed cmd+k in iTerm2/Terminal.app not repainting attached background sessions 2.1.153
  15. FIX Fixed the IME candidate window appearing at the bottom of the screen instead of next to the input caret in attached background sessions on Windows 2.1.153
  16. NOTE Vim mode: / in NORMAL mode now opens reverse history search (like Ctrl+R), matching bash/zsh vi-mode 2.1.152
  17. FIX Fixed terminal styling degrading in very long sessions by recycling the renderer's style pool 2.1.152
  18. FIX Fixed markdown table cell borders inheriting the color of inline code, wrapped continuation lines losing their style, and empty header cells showing a label in the narrow-terminal stacked layout 2.1.152

Sessions and context6

  1. NOTE EnterWorktree can now switch between Claude-managed worktrees mid-session 2.1.157
  2. FIX Fixed background sessions stuck at "blocked", "running", or "working" not retiring after the idle grace period 2.1.154
  3. FIX Windows: Fixed update failures caused by claude.exe being in use showing a generic error instead of telling you to close other sessions and retry 2.1.154
  4. FIX Fixed EnterWorktree not being available immediately in background sessions (previously required ToolSearch first) 2.1.153
  5. ADD Added the session entrypoint as an OpenTelemetry metric attribute (app.entrypoint, opt-in via OTEL_METRICS_INCLUDE_ENTRYPOINT=true) 2.1.152
  6. FIX Fixed cache_creation_input_tokens reporting as 0 in transcript and result usage when the API reports cache writes only via the nested cache_creation breakdown 2.1.152

Built-in tools1

  1. FIX Fixed clicking a link inside an expanded tool result collapsing the section instead of opening the link 2.1.152

Platforms2

  1. FIX Fixed the Windows PowerShell installer reporting "Installation complete!" when installation actually failed 2.1.153
  2. FIX Fixed Windows update rollback: if a Windows update fails, Claude Code now restores the original executable by copy and tells you how to recover 2.1.153

Everything else8

  1. NOTE Internal infrastructure improvements (no user-facing changes) 2.1.159
  2. FIX Fixed --worktree and --worktree --tmux returning to the canonical repo root instead of the current linked worktree 2.1.157
  3. FIX Fixed literal markdown markers (backticks, asterisks) appearing in the in-progress message text in fullscreen mode 2.1.157
  4. NOTE Pressing backspace right after a workflow trigger keyword now dismisses the workflow request (same as alt+w) instead of deleting a character 2.1.157
  5. NOTE claude doctor now shows the result of your last update attempt 2.1.153
  6. FIX Fixed claude update installing the latest version instead of the configured release channel's version for npm installations 2.1.153
  7. NOTE If you customized the modelPicker:setAsDefault keybinding, rename it to modelPicker:thisSessionOnly in keybindings.json (the d action was replaced by s) 2.1.153
  8. FIX Fixed focus mode showing a spurious "N messages hidden" count on turns with no hidden activity 2.1.152