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.172

Released10 Jun 2026

10 Jun 2026. 30 items: 2 added, 18 fixed, 4 improved, 6 other notes.

Agents
8
Commands
4
Settings
3

Security1

  1. FIX Fixed WebFetch(domain:*.example.com) wildcard domain rules never matching subdomains in allow, deny, and ask position, and file permission rules with mid-pattern wildcards (e.g. Read(secrets-*/config.json)) being rejected at startup

Plugins and skills2

  1. ADD Added a search bar when browsing a marketplace's plugins in /plugin
  2. FIX Fixed the /plugin marketplace list losing its cursor after backing out of a long plugin list, and Esc from the plugin browser returning to the wrong tab

SDK and headless2

  1. NOTE Amazon Bedrock now reads the AWS region from ~/.aws config files when AWS_REGION isn't set, matching AWS SDK precedence; /status shows where the region came from
  2. IMP Improved the non-interactive Usage Policy refusal message to suggest starting a new session or changing your model

Agents8

  1. NOTE Sub-agents can now spawn their own sub-agents (up to 5 levels deep)
  2. FIX Fixed the agents view keeping a session under Working with a busy spinner for up to 30 seconds after the worker replied
  3. FIX Fixed background agents potentially reading another directory's project settings (.mcp.json approvals, trust) when dispatched onto a pre-warmed worker
  4. FIX Fixed a background sub-agent staying stuck as "active" in the agent panel after a nested agent it spawned was stopped
  5. FIX Fixed /model suggestions in the claude agents dispatch input rendering with a misleading slash prefix and showing models disabled for your org
  6. FIX Fixed availableModels restrictions not being applied to subagent model overrides, the agent dispatch model picker, and the advisor model
  7. FIX Fixed up-arrow prompt history showing the main agent's prompts while a subagent's chat tab is open
  8. IMP Reduced idle CPU usage: /goal status chip no longer re-renders the terminal at 5 Hz while idle, and fewer UI re-renders while subagents run in parallel

IDE and desktop1

  1. FIX [VSCode] Fixed PowerShell tool calls rendering as raw JSON instead of a proper command display and permission dialog, and stripped ANSI escape codes from displayed shell output

Commands4

  1. FIX Fixed availableModels allowlists hiding the /model picker's Opus and Sonnet 1M rows when entries use version-specific IDs like claude-opus-4-8
  2. FIX Fixed the /model picker on Bedrock offering models the provider doesn't serve — selecting one silently switched the session model and lit the selection marker on multiple rows
  3. NOTE /code-review now keeps the ultra option visible when you're not signed in to claude.ai, with an explanation that the cloud review requires a claude.ai account
  4. NOTE Stopped promoting /loop in remote sessions, where pending loops don't keep the container alive

Settings3

  1. FIX Fixed model IDs getting a doubled 1M-context suffix (e.g. [1M][1m]) when ANTHROPIC_DEFAULT_OPUS_MODEL already includes one
  2. FIX Fixed opusplan model setting not shipping with 1M context in plan mode for entitled users; the opusplan[1m] workaround now also correctly switches to Opus in plan mode
  3. FIX Fixed memory recall not finding mounted team memory stores (CLAUDE_MEMORY_STORES) in remote sessions

Models and providers1

  1. ADD Added model attribute to the claude_code.lines_of_code.count OTEL metric

Performance1

  1. IMP Improved performance in long conversations by removing redundant message normalization and avoiding full message-history transforms when streaming tool-use state is unchanged

Terminal and input1

  1. FIX Fixed workflow validation rejecting scripts whose prompt strings or comments merely mention Date.now()/Math.random()

Sessions and context3

  1. FIX Fixed sessions using 1M context without usage credits getting permanently stuck — the session now automatically compacts back under the standard context limit
  2. FIX Fixed a repeating "an image in the conversation could not be processed and was removed" error when the conversation contained multiple images
  3. FIX Fixed background-session attach failing with EAUTH for sessions started on an older version after the daemon auto-updated

Built-in tools1

  1. IMP Improved Claude in Chrome tool loading: browser tools now load in a single batched call instead of one per tool

Platforms1

  1. NOTE Disable mouse tracking on Windows consoles that don't fully support it

Everything else1

  1. NOTE Shortened the Remote Control footer indicator to "/rc active" and hid it on narrow terminals