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

Released4 Jun 2026

4 Jun 2026. 22 items: 4 added, 12 fixed, 6 other notes.

MCP
1
Hooks
2
Plugins and skills
4
Agents
4
Settings
2

Security1

  1. FIX Fixed bash commands failing under bazel and EDR-protected Go workflows: $TMPDIR was overridden to /tmp/claude-{uid} for all commands instead of only sandboxed ones (regression in 2.1.154)

MCP1

  1. NOTE stdio MCP servers now receive the same CLAUDE_CODE_SESSION_ID as hooks/Bash on --resume

Hooks2

  1. NOTE Hooks: Stop and SubagentStop hooks can now return hookSpecificOutput.additionalContext to give Claude feedback and keep the turn going without being labeled a hook error
  2. FIX Fixed hook if: "Bash(...)" conditions firing on every Bash command containing $() or $VAR; the pattern now matches against commands inside subshells and backticks too

Plugins and skills4

  1. ADD Added /plugin list command to list installed plugins, with --enabled/--disabled filters
  2. ADD Skills: added \$ escape syntax to include a literal $ before a digit in command bodies
  3. FIX Fixed a stray "(no content)" line left in the transcript after closing panel dialogs like /mcp and /plugins
  4. NOTE Clearer descriptions for built-in commands and skills in the / menu

SDK and headless2

  1. FIX Fixed claude -p hanging forever after its final result when a backgrounded command never exits — background shells are now stopped ~5s after the result once stdin closes
  2. FIX Fixed claude -p failing with "ANTHROPIC_API_KEY required" on Bedrock/Vertex/Foundry when CI=true and no Anthropic API key is set

Agents4

  1. FIX Fixed background sessions in claude agents losing their running background tasks when reattached after a Claude Code update
  2. FIX Fixed terminal misalignment and a multi-second hang when exiting the agent view by pressing Esc
  3. NOTE Background agent sessions now update to a new Claude Code version in the background, so opening a session after an update no longer waits on a cold restart
  4. NOTE claude agents dispatching from the state-grouped view now starts the session in the directory the agent view was opened from

IDE and desktop2

  1. FIX Fixed clicking Stop on a background-task chip in the desktop app not clearing the chip when the underlying process was already gone
  2. FIX Fixed deny rules on home-directory paths (e.g. Read(~/Desktop/**)) not blocking Bash commands that reference the path via $HOME

Commands1

  1. ADD Added a "c to copy" shortcut to /btw that copies the raw markdown answer to the clipboard, preserving formatting when pasted elsewhere

Settings2

  1. ADD Added requiredMinimumVersion and requiredMaximumVersion managed settings — Claude Code refuses to start if its version is outside the allowed range and directs the user to an approved version
  2. FIX Fixed org-managed permission rules not applying for the entire session when the managed settings fetch completed during startup on a fresh config directory

Terminal and input1

  1. FIX Fixed keyboard input becoming permanently unresponsive after a paste operation whose end marker is dropped by the terminal

Sessions and context1

  1. FIX Fixed Bash commands failing on Windows with "EEXIST: file already exists" on the session-env directory when it has the read-only attribute or is inside OneDrive

Everything else1

  1. NOTE The subscription-switch suggestion now shows in the startup announcement slot instead of a toast