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

Released1 Jun 2026

1 Jun 2026. 27 items: 1 added, 18 fixed, 3 improved, 1 changed, 2 removed or reverted, 2 other notes.

Agents
8
Settings
4
Platforms
2

Plugins and skills1

  1. REM Removed the JetBrains plugin install suggestion from startup

SDK and headless1

  1. FIX Fixed model-not-found errors suggesting --model when running via the SDK or other hosts where the CLI flag doesn't apply

Agents8

  1. FIX Fixed restoring a completed session from claude agents dropping chat history and re-running the original prompt
  2. FIX Fixed background agents that resumed work being shown under Completed in the agents list
  3. FIX Fixed claude agents freezing for several seconds when returning to the session list due to the auto-updater re-checking on every exit
  4. FIX Fixed Esc, arrow keys, and typing becoming unresponsive on Windows when attached to a background session or in the agent view while the host is under heavy CPU load
  5. FIX Fixed background agents emitting terminal sync-output markers to terminals that don't support them (Apple Terminal, tmux), causing render artifacts when entering a running agent
  6. FIX Fixed mouse wheel scrolling prompt history instead of the transcript right after opening a session from the agents list
  7. FIX Fixed CJK IME composition appearing at the bottom-left of the screen instead of at the input caret in the claude agents view
  8. IMP Improved performance of opening recently-inactive background agent sessions in claude agents

IDE and desktop1

  1. FIX Fixed vim mode p pasting on the line below instead of at the cursor when the register was yanked with v$

Commands1

  1. FIX Fixed /effort ultracode incorrectly blaming the dynamic workflows setting when the model cannot run xhigh; ultracode is no longer offered on models that do not support it

Settings4

  1. ADD Added a prompt before writing to shell startup files (.zshenv, .zlogin, .bash_login) and ~/.config/git/, which could otherwise lead to unintended command execution
  2. NOTE acceptEdits mode now prompts before writing build-tool config files that grant code execution (.npmrc, .yarnrc*, bunfig.toml, .bazelrc, .pre-commit-config.yaml, .devcontainer/, etc.)
  3. FIX Fixed the auto mode unavailability message on third-party providers (Bedrock/Vertex/Foundry) to point to the CLAUDE_CODE_ENABLE_AUTO_MODE opt-in instead of incorrectly blaming the model
  4. REM Removed CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE; the environment variable is now a no-op

Permissions1

  1. IMP Improved auto mode classifier latency by reducing reasoning on routine actions, lowering the chance of "could not evaluate this action" blocks

Terminal and input3

  1. FIX Fixed background sessions re-attached after overnight retire losing their conversation and re-running the original prompt
  2. FIX Fixed Claude's past replies disappearing from scrollback when resuming a brief mode session with brief mode turned off
  3. CHG Renamed the dynamic-workflow trigger keyword from workflow to ultracode. The word "workflow" no longer triggers a run; asking for one in your own words still works. The trigger keyword is highlighted in violet in the prompt input

Sessions and context2

  1. FIX Fixed an issue on Windows where the directory a background session was started in could not be deleted after claude rm until the background daemon exited
  2. IMP Improved background-session teardown (claude rm/stop, idle reap) to send SIGTERM to running shell subprocesses before SIGKILL, so cleanup handlers run

Built-in tools1

  1. NOTE Edit no longer requires a separate Read after viewing a file with grep: single-file grep/egrep/fgrep commands now satisfy the read-before-edit check

Platforms2

  1. FIX Fixed copy-on-select not writing to the Windows clipboard on WSL — now uses PowerShell interop instead of OSC 52, which terminals like MobaXterm don't support
  2. FIX Fixed valid file:///C:/... links being rewritten to a broken path on Windows terminals with hyperlink support

Everything else2

  1. FIX Fixed claude --bg occasionally failing with "socket missing" when the background daemon was cold-starting on a loaded machine
  2. FIX Fixed voice mode failing to connect when the project directory or branch name contains non-ASCII or special characters