Claude Code 2.1.157
Released29 May 202629 May 2026. 33 items: 3 added, 18 fixed, 1 improved, 2 removed or reverted, 9 other notes.
- MCP
- 2
Security3
- FIX Fixed sandbox network permission prompts appearing in auto and bypass-permissions mode when using the desktop app, IDE extensions, or SDK
- FIX Fixed the terminal freezing after approving the managed-settings security dialog at startup
-
REM
Removed the "bash commands will be sandboxed" startup banner — sandbox status still shows in
/statusand when a command is blocked
MCP2
-
NOTE
tool_decisiontelemetry events now includetool_parameters(bash commands, MCP/skill names) whenOTEL_LOG_TOOL_DETAILS=1 - FIX Fixed unprocessable images (zero-byte, corrupt) attached via paste, MCP, or dialog crashing the request instead of becoming a text placeholder
Plugins and skills3
-
NOTE
Plugins in
.claude/skillsdirectories are now automatically loaded, no marketplace required -
ADD
Added
claude plugin init <name>to scaffold a new plugin in.claude/skills -
ADD
Added autocomplete for
/pluginarguments: subcommands, installed plugin names, and plugins from known marketplaces
Agents9
-
NOTE
claude agents: theagentfield insettings.jsonis now honored for dispatched sessions, with--agent <name>to override it -
NOTE
Worktrees managed by Claude are now left unlocked when the agent finishes, so
git worktree remove/prunecan clean them up -
FIX
Fixed
claude agentscompleted sessions not retiring when an idle subagent was still parked or had leaked a backgrounded shell -
FIX
Fixed
claude agentspressing Esc not cancelling a slow "opening…", leaving the list unresponsive -
FIX
Fixed background agent worktrees under
.claude/worktrees/being orphaned after the 30-day job retention sweep -
FIX
Fixed copy-on-select in
claude agentsnot reaching the system clipboard inside tmux withset-clipboard on(regression in 2.1.153) -
FIX
Fixed
--resumenot reporting background subagents that were running when the previous Claude Code process exited -
NOTE
claude agents: slash-command autocomplete in the dispatch input now matches substrings - FIX [IDE] Fixed clicking Stop while a background subagent is running not actually stopping it
IDE and desktop4
- FIX Fixed right-click paste duplicating the clipboard in the VS Code, Cursor, and Windsurf integrated terminals
-
NOTE
/terminal-setupnow disables GPU acceleration in VS Code/Cursor/Windsurf integrated terminals to prevent garbled-text rendering - REM Removed the "/ide for …" startup hint toast
- FIX [VSCode] Fixed the fast mode indicator not appearing on Opus 4.8
Commands2
-
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 - ADD Added a "Workflow keyword trigger" setting in /config to stop the word "workflow" in a prompt from triggering a dynamic workflow
Models and providers1
- FIX Fixed background sessions re-attached after a sleep/wake not telling the model the correct date
Performance1
- IMP Improved performance of long and resumed conversations by eliminating redundant message-rendering recomputations
Terminal and input4
-
FIX
Fixed the
--resumesession picker leaving its contents on the terminal after exiting in fullscreen mode - FIX Fixed a rare duplicate line appearing in scrollback after the terminal UI redraws
-
FIX
WSL: fixed image paste (
alt+vkeybinding), screenshot paste on Windows 11, and added support for dragging images from Windows Explorer - 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
Sessions and context1
-
NOTE
EnterWorktreecan now switch between Claude-managed worktrees mid-session
Everything else3
-
FIX
Fixed
--worktreeand--worktree --tmuxreturning to the canonical repo root instead of the current linked worktree - FIX Fixed literal markdown markers (backticks, asterisks) appearing in the in-progress message text in fullscreen mode
- NOTE Pressing backspace right after a workflow trigger keyword now dismisses the workflow request (same as alt+w) instead of deleting a character