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.
| Version | Date | Items | ADD | FIX | IMP | CHG | REM | Largest areas |
|---|---|---|---|---|---|---|---|---|
| 2.1.159 | 1 | . | . | . | . | . | Everything else 1 | |
| 2.1.158 | 1 | . | . | . | . | . | Settings 1 | |
| 2.1.157 | 33 | 3 | 18 | 1 | . | 2 | Agents 9, IDE and desktop 4, Terminal and input 4 | |
| 2.1.156 | 1 | . | 1 | . | . | . | Models and providers 1 | |
| 2.1.154 | 44 | 2 | 22 | 1 | 1 | 2 | Agents 9, Commands 8, Terminal and input 7 | |
| 2.1.153 | 36 | 1 | 24 | . | . | . | Agents 6, MCP 6, Commands 5 | |
| 2.1.152 | 33 | 4 | 16 | . | . | . | Models and providers 6, Plugins and skills 6, Agents 4 |
Security8
- 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
- FIX Fixed the terminal freezing after approving the managed-settings security dialog at startup 2.1.157
-
REM
Removed the "bash commands will be sandboxed" startup banner — sandbox status still shows in
/statusand when a command is blocked 2.1.157 - IMP Improved the auto-mode classifier's detection of data exfiltration, particularly bulk transfers of repository contents 2.1.154
-
FIX
Fixed
$TMPDIRresolving to different directories in sandboxed vs unsandboxed Bash commands within the same session 2.1.154 - NOTE macOS: background agents now appear as "Claude Code" in Privacy & Security and keep their permission grants across upgrades 2.1.153
- 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
- FIX Fixed the sandbox-enabled warning not appearing in condensed startup mode — it now shows in every layout 2.1.152
MCP12
-
NOTE
tool_decisiontelemetry events now includetool_parameters(bash commands, MCP/skill names) whenOTEL_LOG_TOOL_DETAILS=12.1.157 - 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
-
NOTE
Stdio MCP server subprocesses now receive
CLAUDE_CODE_SESSION_IDandCLAUDECODE=1in their environment 2.1.154 - 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
- NOTE Combined the separate "needs authentication" startup notifications for MCP servers and connectors into a single message 2.1.153
-
FIX
Fixed stateful MCP servers without the optional GET SSE stream reconnect-looping on
tools/list(regression in v2.1.147) 2.1.153 -
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 -
NOTE
--strict-mcp-configno longer strips inlinemcpServersfrom explicitly-passed agent definitions (--agents/ SDKagents), and blocked subagent MCP servers now surface a visible warning 2.1.153 - FIX Fixed MCP tool progress notifications not rendering in the collapsed tool view 2.1.153
- 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
- FIX Fixed plugin MCP servers with the same command but different environment variables being incorrectly deduplicated 2.1.152
- FIX Fixed remote MCP servers failing to connect in Claude Code Remote sessions when the egress proxy is enabled 2.1.152
Hooks3
-
NOTE
SessionStarthooks can now returnreloadSkills: trueto re-scan skill directories, making skills installed by the hook available in the same session 2.1.152 -
NOTE
SessionStarthooks can now set the session title viahookSpecificOutput.sessionTitleon startup and resume 2.1.152 -
ADD
Added a
MessageDisplayhook event that lets hooks transform or hide assistant message text as it is displayed 2.1.152
Plugins and skills14
-
NOTE
Plugins in
.claude/skillsdirectories are now automatically loaded, no marketplace required 2.1.157 -
ADD
Added
claude plugin init <name>to scaffold a new plugin in.claude/skills2.1.157 -
ADD
Added autocomplete for
/pluginarguments: subcommands, installed plugin names, and plugins from known marketplaces 2.1.157 -
NOTE
Plugins can now declare
defaultEnabled: falseinplugin.jsonor a marketplace entry; enable them with/pluginorclaude plugin enable. Dependencies of enabled plugins are still enabled automatically 2.1.154 -
NOTE
The
/pluginDiscover tab now pins plugins whose relevance signals match the current directory with a "suggested for this directory" annotation 2.1.154 -
ADD
Added Claude Opus 4.8 support and 4.7 → 4.8 migration guidance to the
/claude-apiskill 2.1.154 -
ADD
Added
skipLfsoption togithub/gitplugin marketplace sources to skip Git LFS downloads during clone and update 2.1.153 -
NOTE
claude agents: autocomplete in the dispatch input now suggests native slash commands and bundled skills, not just project skills 2.1.153 -
NOTE
Skills and slash commands can now set
disallowed-toolsin frontmatter to remove tools from the model while the skill is active 2.1.152 -
ADD
Added
/reload-skillscommand to re-scan skill directories without restarting the session 2.1.152 -
ADD
Added
pluginSuggestionMarketplacesmanaged setting: admins can allowlist org marketplaces whose plugins may be suggested via context-aware tips 2.1.152 -
NOTE
claude plugin marketplace removenow accepts--scope user|project|localfor symmetry withmarketplace add,install, anduninstall2.1.152 -
FIX
Fixed
/doctorreporting "marketplace not found" or "plugin not found" for staleenabledPluginsentries referencing removed marketplaces or dropped plugins 2.1.152 - 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
- 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
- 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
-
NOTE
claude agents: theagentfield insettings.jsonis now honored for dispatched sessions, with--agent <name>to override it 2.1.157 -
NOTE
Worktrees managed by Claude are now left unlocked when the agent finishes, so
git worktree remove/prunecan clean them up 2.1.157 -
FIX
Fixed
claude agentscompleted sessions not retiring when an idle subagent was still parked or had leaked a backgrounded shell 2.1.157 -
FIX
Fixed
claude agentspressing Esc not cancelling a slow "opening…", leaving the list unresponsive 2.1.157 -
FIX
Fixed background agent worktrees under
.claude/worktrees/being orphaned after the 30-day job retention sweep 2.1.157 -
FIX
Fixed copy-on-select in
claude agentsnot reaching the system clipboard inside tmux withset-clipboard on(regression in 2.1.153) 2.1.157 -
FIX
Fixed
--resumenot reporting background subagents that were running when the previous Claude Code process exited 2.1.157 -
NOTE
claude agents: slash-command autocomplete in the dispatch input now matches substrings 2.1.157 - FIX [IDE] Fixed clicking Stop while a background subagent is running not actually stopping it 2.1.157
-
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
/workflowsto view your runs 2.1.154 -
NOTE
claude agents: type! <command>to run a shell command as a background session you can attach to and detach from. Also available asclaude --bg --exec '<command>'2.1.154 -
NOTE
claude agents:/logoutnow signs you out instead of being sent to a background session 2.1.154 -
NOTE
←←to open the agents view now works on Bedrock, Vertex, Foundry, and with telemetry disabled 2.1.154 -
FIX
Fixed unreadable highlighted-row text in
claude agentswhen the Claude Code theme doesn't match the terminal background 2.1.154 - FIX Fixed background-agent completion notifications triggering premature "out of context" behavior on some 1M-context models 2.1.154
- 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
- FIX Fixed subagents in background sessions bypassing the worktree-isolation guard and writing to the shared checkout 2.1.154
-
FIX
Fixed
worktree.baseRef: "head"resolving to the main checkout's HEAD instead of the current worktree's HEAD when spawning subagents or callingEnterWorktreefrom inside a linked worktree 2.1.154 -
NOTE
claude agents: PR column now showsPR #Nfor a single PR orN PRsfor multiple 2.1.153 -
FIX
Fixed
claude agentsandclaude --bgrunning on a stale daemon started before binary-takeover support, even after upgrading 2.1.153 -
FIX
Fixed
Agenttool withsubagent_type: 'claude'running in an undocumented temporary worktree, which could silently discard outputs written to gitignored paths 2.1.153 - 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
- 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
-
FIX
Fixed opening
claude agentswith Remote Control enabled leaving zombie session entries on the Code tab after exiting 2.1.153 - 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
- 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
-
FIX
Fixed the Agent tool description referencing an agent list that is never delivered when running with
--bareor with attachments disabled 2.1.152 -
FIX
Fixed a background worker crash in
claude agentswhen accepting a stale permission prompt after a subagent was cancelled 2.1.152
IDE and desktop7
- FIX Fixed right-click paste duplicating the clipboard in the VS Code, Cursor, and Windsurf integrated terminals 2.1.157
-
NOTE
/terminal-setupnow disables GPU acceleration in VS Code/Cursor/Windsurf integrated terminals to prevent garbled-text rendering 2.1.157 - REM Removed the "/ide for …" startup hint toast 2.1.157
- FIX [VSCode] Fixed the fast mode indicator not appearing on Opus 4.8 2.1.157
- FIX Fixed intermittent terminal rendering corruption in VS Code by capping the number of distinct colors the thinking spinner produces 2.1.154
- 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
-
NOTE
/modelnow saves your selection as the default for new sessions (matching the IDE). Presssin the picker to switch models for the current session only. 2.1.153
Commands17
-
FIX
Fixed the
/modelpicker 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 - 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
- NOTE Opus 4.8 is here! Now defaults to high effort · /effort xhigh for your hardest tasks 2.1.154
-
NOTE
/simplifynow runs a cleanup-only review (reuse, simplification, efficiency, altitude) and applies the fixes, instead of running the full/code-review --fixbug-hunting review 2.1.154 -
CHG
Renamed the
/effortslider labels from "Speed"/"Intelligence" to "Faster"/"Smarter" for clarity 2.1.154 -
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 -
NOTE
/remote-controlautocomplete now shows "Disconnect Remote Control" when Remote Control is already active 2.1.154 -
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 on2.1.154 -
FIX
Fixed background-session classifier losing the user's goal when a scheduled
/commandfires 2.1.154 - 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
-
NOTE
Claude Code now shows a one-time notice when your npm global install can't auto-update;
/doctorlists the fixes 2.1.153 -
NOTE
/bgwhile Claude is responding now continues the response in the background session instead of dropping it 2.1.153 -
FIX
Fixed
/btwkeyboard shortcuts becoming unresponsive in background sessions while a task is running 2.1.153 -
FIX
Fixed
/copyand copy-on-select silently failing to update the system clipboard when attached to a background session inside tmux 2.1.153 -
FIX
Fixed
/renamein background sessions not updating the session banner immediately 2.1.153 -
NOTE
/code-review --fixnow applies review findings to your working tree after the review, surfacing reuse, simplification, and efficiency suggestions;/simplifynow invokes/code-review --fix2.1.152 -
NOTE
The
/usagebreakdown now includes large session files; files are scanned with a streaming read so memory usage stays flat 2.1.152
Settings5
-
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=12.1.158 -
FIX
Fixed
rm -rf $HOMEnot being blocked as a dangerous path whenHOMEhas a trailing slash 2.1.154 -
FIX
Fixed a single invalid
allowedMcpServers/deniedMcpServersentry in managed settings discarding all managed-settings policy; the bad entry is now dropped with aclaude doctorwarning 2.1.154 -
FIX
Fixed API 400 errors on models that don't support the effort parameter when
CLAUDE_CODE_ALWAYS_ENABLE_EFFORTis set 2.1.154 -
NOTE
Status line commands now receive
COLUMNSandLINESenvironment variables so scripts can size output to the terminal width 2.1.153
Permissions4
-
NOTE
claude mcp list/getnow show unapproved.mcp.jsonservers as⏸ Pending approvalinstead of auto-approving and connecting when output is piped 2.1.154 - 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
-
FIX
Fixed background sessions writing temp files to
$CLAUDE_JOB_DIRtriggering a "sensitive file" permission prompt 2.1.153 - NOTE Auto mode no longer requires opt-in consent 2.1.152
Models and providers11
- FIX Fixed background sessions re-attached after a sleep/wake not telling the model the correct date 2.1.157
- FIX Fixed an issue when using Opus 4.8 where thinking blocks were modified, leading to API errors. 2.1.156
- 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
- NOTE The lean system prompt is now the default for all models except Haiku, Sonnet, and Opus 4.7 and earlier 2.1.154
- 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
-
NOTE
Claude Code now switches to your configured
--fallback-modelfor the rest of the session when the primary model is not found, instead of failing every request 2.1.152 -
NOTE
Thinking summaries in the collapsed group now stay readable for at least 3 seconds, render as markdown, and cap at 10 lines (
Ctrl+Oshows the full thinking) 2.1.152 - 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
- 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
- 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
- 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
- IMP Improved performance of long and resumed conversations by eliminating redundant message-rendering recomputations 2.1.157
-
FIX
Fixed orphaned
claude --bg-pty-hostprocesses spinning at 100% CPU after the daemon exits on macOS 2.1.154 - 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
-
FIX
Fixed the
--resumesession picker leaving its contents on the terminal after exiting in fullscreen mode 2.1.157 - FIX Fixed a rare duplicate line appearing in scrollback after the terminal UI redraws 2.1.157
-
FIX
WSL: fixed image paste (
alt+vkeybinding), screenshot paste on Windows 11, and added support for dragging images from Windows Explorer 2.1.157 - 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
- 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
- FIX Fixed number key shortcuts not working for options shown below the divider in option dialogs 2.1.154
- FIX Fixed a stray leading space on wrapped lines when the previous line ended exactly at the terminal width 2.1.154
-
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 - 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
- REM Removed the stale "& for background" hint from the shortcuts help panel 2.1.154
- FIX Fixed the task panel below the prompt showing a stray unselectable "main" row when only a workflow is running 2.1.154
-
FIX
Fixed malformed
file://links in Claude's responses not being clickable in the terminal 2.1.153 -
FIX
Fixed
claude --helprendering unwrapped output on terminals narrower than 92 columns 2.1.153 -
FIX
Fixed
cmd+kin iTerm2/Terminal.app not repainting attached background sessions 2.1.153 - 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
-
NOTE
Vim mode:
/in NORMAL mode now opens reverse history search (like Ctrl+R), matching bash/zsh vi-mode 2.1.152 - FIX Fixed terminal styling degrading in very long sessions by recycling the renderer's style pool 2.1.152
- 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
-
NOTE
EnterWorktreecan now switch between Claude-managed worktrees mid-session 2.1.157 - FIX Fixed background sessions stuck at "blocked", "running", or "working" not retiring after the idle grace period 2.1.154
-
FIX
Windows: Fixed update failures caused by
claude.exebeing in use showing a generic error instead of telling you to close other sessions and retry 2.1.154 -
FIX
Fixed
EnterWorktreenot being available immediately in background sessions (previously requiredToolSearchfirst) 2.1.153 -
ADD
Added the session entrypoint as an OpenTelemetry metric attribute (
app.entrypoint, opt-in viaOTEL_METRICS_INCLUDE_ENTRYPOINT=true) 2.1.152 -
FIX
Fixed
cache_creation_input_tokensreporting as 0 in transcript and result usage when the API reports cache writes only via the nestedcache_creationbreakdown 2.1.152
Built-in tools1
- FIX Fixed clicking a link inside an expanded tool result collapsing the section instead of opening the link 2.1.152
Platforms2
Everything else8
- NOTE Internal infrastructure improvements (no user-facing changes) 2.1.159
-
FIX
Fixed
--worktreeand--worktree --tmuxreturning to the canonical repo root instead of the current linked worktree 2.1.157 - FIX Fixed literal markdown markers (backticks, asterisks) appearing in the in-progress message text in fullscreen mode 2.1.157
- 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
-
NOTE
claude doctornow shows the result of your last update attempt 2.1.153 -
FIX
Fixed
claude updateinstalling the latest version instead of the configured release channel's version for npm installations 2.1.153 -
NOTE
If you customized the
modelPicker:setAsDefaultkeybinding, rename it tomodelPicker:thisSessionOnlyin keybindings.json (thedaction was replaced bys) 2.1.153 - FIX Fixed focus mode showing a spurious "N messages hidden" count on turns with no hidden activity 2.1.152