Claude Code Changelog

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

Claude Code 2.1.147

Released21 May 2026

21 May 2026. 33 items: 28 fixed, 2 improved, 1 changed, 2 other notes.

MCP
1
Hooks
1
Plugins and skills
4
Agents
4
Commands
5
Platforms
2

Security1

  1. FIX Fixed several spacing and layout glitches in the /plugin, /status, /mobile, /sandbox, and /permissions menus

MCP1

  1. FIX Fixed paginating MCP servers dropping resources, templates, and prompts past page 1

Hooks1

  1. FIX Fixed hook if conditions like PowerShell(git push*) never matching — only PowerShell(*) worked

Plugins and skills4

  1. FIX Fixed plugin agents that declare multiple Agent(...) types in tools: frontmatter dropping all but the last entry
  2. FIX Fixed /background refusing sessions whose only typed input was a skill or custom slash command
  3. FIX Fixed auto mode suppressing AskUserQuestion when the user or a skill explicitly relies on it; the auto-mode classifier now sees the user's answers as intent signal
  4. FIX Fixed plugin component counts in claude plugin details and /plugin being doubled when a plugin's manifest listed paths overlapping its default directories

SDK and headless3

  1. FIX Fixed & in ! command output displaying as &, which broke copy-pasting URLs from commands like gcloud auth login on headless machines
  2. FIX Fixed unknown slash commands silently doing nothing in headless/SDK mode — they now show an error message
  3. FIX Fixed an uncaught exception at the end of streaming sessions when running via the Agent SDK

Agents4

  1. NOTE Pinned background sessions (Ctrl+T in claude 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
  2. FIX Fixed stale and doubled rows in the agent view list on Windows when background session results contain wide (CJK) characters
  3. FIX Fixed pasted text being delivered to agents as an unreadable [Pasted text #N] placeholder instead of the actual content
  4. FIX Fixed CLAUDE_CODE_SUBAGENT_MODEL not applying to teammate processes spawned by agent teams

Commands5

  1. CHG Renamed /simplify to /code-review. It now reports correctness bugs at a chosen effort level (e.g., /code-review high); pass --comment to post findings as inline GitHub PR comments. The old cleanup-and-fix behavior has been removed
  2. FIX Fixed /help rendering a broken tab header and showing only one command per page on small terminals when not in fullscreen mode
  3. FIX Fixed /effort opening with the slider on the wrong level — it now starts at your current effort
  4. FIX Fixed /theme "New custom theme" and color editor dialogs not responding to Esc
  5. FIX Fixed slash commands followed by a tab or newline being treated as an unknown command

Settings1

  1. FIX Fixed enterprise login restrictions (forceLoginOrgUUID and forceLoginMethod managed-settings) not being enforced against third-party-provider and API-key sessions

Permissions1

  1. FIX Fixed backgrounded sessions re-prompting for tool permissions you already granted with "don't ask again"

Models and providers1

  1. FIX Fixed stripped images prompting the model to repeatedly re-read media that was no longer present

Performance2

  1. IMP Improved diff rendering performance for large file edits
  2. FIX Fixed a rare hang when waiting for scroll to settle on Windows

Terminal and input3

  1. NOTE Prompt history no longer records consecutive duplicate entries — recalling a prompt with arrow-up and submitting it again won't add another copy
  2. FIX Fixed full-screen strobing in attached background sessions on Windows Terminal while Claude is streaming
  3. FIX Fixed GNOME Terminal right-click and middle-click paste not inserting text

Built-in tools2

  1. FIX Fixed PowerShell tool dropping output for commands that rely on the default formatter
  2. FIX Fixed PowerShell tool failing on Windows with exit code 1 when pwsh is installed via winget or the Microsoft Store

Platforms2

  1. 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
  2. FIX Fixed: on Windows, removing a background-job worktree no longer follows NTFS junctions into the main repo

Everything else2

  1. 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
  2. FIX Fixed shell snapshot dropping user functions whose names start with a single underscore, which broke aliases referencing them