Claude Code 2.1.147
Released21 May 202621 May 2026. 33 items: 28 fixed, 2 improved, 1 changed, 2 other notes.
- MCP
- 1
Security1
-
FIX
Fixed several spacing and layout glitches in the
/plugin,/status,/mobile,/sandbox, and/permissionsmenus
MCP1
- FIX Fixed paginating MCP servers dropping resources, templates, and prompts past page 1
Hooks1
-
FIX
Fixed hook
ifconditions likePowerShell(git push*)never matching — onlyPowerShell(*)worked
Plugins and skills4
-
FIX
Fixed plugin agents that declare multiple
Agent(...)types intools:frontmatter dropping all but the last entry -
FIX
Fixed
/backgroundrefusing sessions whose only typed input was a skill or custom slash command -
FIX
Fixed auto mode suppressing
AskUserQuestionwhen the user or a skill explicitly relies on it; the auto-mode classifier now sees the user's answers as intent signal -
FIX
Fixed plugin component counts in
claude plugin detailsand/pluginbeing doubled when a plugin's manifest listed paths overlapping its default directories
SDK and headless3
-
FIX
Fixed
&in!command output displaying as&, which broke copy-pasting URLs from commands likegcloud auth loginon headless machines - FIX Fixed unknown slash commands silently doing nothing in headless/SDK mode — they now show an error message
- FIX Fixed an uncaught exception at the end of streaming sessions when running via the Agent SDK
Agents4
-
NOTE
Pinned background sessions (
Ctrl+Tinclaude agents) now stay alive when idle, are restarted in place to apply Claude Code updates, and are shed under memory pressure only after non-pinned sessions - FIX Fixed stale and doubled rows in the agent view list on Windows when background session results contain wide (CJK) characters
-
FIX
Fixed pasted text being delivered to agents as an unreadable
[Pasted text #N]placeholder instead of the actual content -
FIX
Fixed
CLAUDE_CODE_SUBAGENT_MODELnot applying to teammate processes spawned by agent teams
Commands5
-
CHG
Renamed
/simplifyto/code-review. It now reports correctness bugs at a chosen effort level (e.g.,/code-review high); pass--commentto post findings as inline GitHub PR comments. The old cleanup-and-fix behavior has been removed -
FIX
Fixed
/helprendering a broken tab header and showing only one command per page on small terminals when not in fullscreen mode -
FIX
Fixed
/effortopening with the slider on the wrong level — it now starts at your current effort -
FIX
Fixed
/theme"New custom theme" and color editor dialogs not responding to Esc - FIX Fixed slash commands followed by a tab or newline being treated as an unknown command
Settings1
-
FIX
Fixed enterprise login restrictions (
forceLoginOrgUUIDandforceLoginMethodmanaged-settings) not being enforced against third-party-provider and API-key sessions
Permissions1
- FIX Fixed backgrounded sessions re-prompting for tool permissions you already granted with "don't ask again"
Models and providers1
- FIX Fixed stripped images prompting the model to repeatedly re-read media that was no longer present
Performance2
- IMP Improved diff rendering performance for large file edits
- FIX Fixed a rare hang when waiting for scroll to settle on Windows
Terminal and input3
- NOTE Prompt history no longer records consecutive duplicate entries — recalling a prompt with arrow-up and submitting it again won't add another copy
- FIX Fixed full-screen strobing in attached background sessions on Windows Terminal while Claude is streaming
- FIX Fixed GNOME Terminal right-click and middle-click paste not inserting text
Built-in tools2
- FIX Fixed PowerShell tool dropping output for commands that rely on the default formatter
-
FIX
Fixed PowerShell tool failing on Windows with exit code 1 when
pwshis installed via winget or the Microsoft Store
Platforms2
- FIX Fixed: on Windows, "Yes, and don't ask again" for a PowerShell script invocation now writes a rule that actually matches on subsequent runs
- FIX Fixed: on Windows, removing a background-job worktree no longer follows NTFS junctions into the main repo
Everything else2
- IMP Improved auto-updater: retries transient network failures, reports specific error categories and OS error codes on failure, and shows the current version when an update fails
- FIX Fixed shell snapshot dropping user functions whose names start with a single underscore, which broke aliases referencing them