diff --git a/CHANGELOG.md b/CHANGELOG.md index efa9d135f..ff9faeff6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,35 @@ # Changelog +## 2.1.160 + +- Added a prompt before writing to shell startup files (`.zshenv`, `.zlogin`, `.bash_login`) and `~/.config/git/`, which could otherwise lead to unintended command execution +- `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.) +- 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 +- 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 +- Fixed restoring a completed session from `claude agents` dropping chat history and re-running the original prompt +- Fixed background sessions re-attached after overnight retire losing their conversation and re-running the original prompt +- Fixed `claude --bg` occasionally failing with "socket missing" when the background daemon was cold-starting on a loaded machine +- 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 +- Fixed background agents that resumed work being shown under Completed in the agents list +- Fixed `claude agents` freezing for several seconds when returning to the session list due to the auto-updater re-checking on every exit +- 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 +- 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 +- Fixed mouse wheel scrolling prompt history instead of the transcript right after opening a session from the agents list +- Fixed CJK IME composition appearing at the bottom-left of the screen instead of at the input caret in the `claude agents` view +- Fixed valid `file:///C:/...` links being rewritten to a broken path on Windows terminals with hyperlink support +- Fixed voice mode failing to connect when the project directory or branch name contains non-ASCII or special characters +- 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 +- 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 +- Fixed model-not-found errors suggesting `--model` when running via the SDK or other hosts where the CLI flag doesn't apply +- Fixed Claude's past replies disappearing from scrollback when resuming a brief mode session with brief mode turned off +- Fixed vim mode `p` pasting on the line below instead of at the cursor when the register was yanked with `v$` +- Improved performance of opening recently-inactive background agent sessions in `claude agents` +- Improved auto mode classifier latency by reducing reasoning on routine actions, lowering the chance of "could not evaluate this action" blocks +- Improved background-session teardown (`claude rm`/`stop`, idle reap) to send SIGTERM to running shell subprocesses before SIGKILL, so cleanup handlers run +- Removed `CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE`; the environment variable is now a no-op +- Removed the JetBrains plugin install suggestion from startup +- 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 + ## 2.1.159 - Internal infrastructure improvements (no user-facing changes) diff --git a/feed.xml b/feed.xml index c7957b594..8d70d3094 100644 --- a/feed.xml +++ b/feed.xml @@ -6,7 +6,40 @@ Anthropic - 2026-05-31T19:42:41Z + 2026-06-02T02:10:17Z + + https://github.com/anthropics/claude-code/releases/tag/v2.1.160 + Claude Code v2.1.160 + + 2026-06-02T02:10:17Z + <p>• Added a prompt before writing to shell startup files (.zshenv, .zlogin, .bash_login) and ~/.config/git/, which could otherwise lead to unintended command execution</p> +<p>• 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.)</p> +<p>• 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</p> +<p>• 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</p> +<p>• Fixed restoring a completed session from claude agents dropping chat history and re-running the original prompt</p> +<p>• Fixed background sessions re-attached after overnight retire losing their conversation and re-running the original prompt</p> +<p>• Fixed claude --bg occasionally failing with "socket missing" when the background daemon was cold-starting on a loaded machine</p> +<p>• 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</p> +<p>• Fixed background agents that resumed work being shown under Completed in the agents list</p> +<p>• Fixed claude agents freezing for several seconds when returning to the session list due to the auto-updater re-checking on every exit</p> +<p>• 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</p> +<p>• 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</p> +<p>• Fixed mouse wheel scrolling prompt history instead of the transcript right after opening a session from the agents list</p> +<p>• Fixed CJK IME composition appearing at the bottom-left of the screen instead of at the input caret in the claude agents view</p> +<p>• Fixed valid file:///C:/... links being rewritten to a broken path on Windows terminals with hyperlink support</p> +<p>• Fixed voice mode failing to connect when the project directory or branch name contains non-ASCII or special characters</p> +<p>• 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</p> +<p>• 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</p> +<p>• Fixed model-not-found errors suggesting --model when running via the SDK or other hosts where the CLI flag doesn't apply</p> +<p>• Fixed Claude's past replies disappearing from scrollback when resuming a brief mode session with brief mode turned off</p> +<p>• Fixed vim mode p pasting on the line below instead of at the cursor when the register was yanked with v$</p> +<p>• Improved performance of opening recently-inactive background agent sessions in claude agents</p> +<p>• Improved auto mode classifier latency by reducing reasoning on routine actions, lowering the chance of "could not evaluate this action" blocks</p> +<p>• Improved background-session teardown (claude rm/stop, idle reap) to send SIGTERM to running shell subprocesses before SIGKILL, so cleanup handlers run</p> +<p>• Removed CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE; the environment variable is now a no-op</p> +<p>• Removed the JetBrains plugin install suggestion from startup</p> +<p>• 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</p> + https://github.com/anthropics/claude-code/releases/tag/v2.1.159 Claude Code v2.1.159 @@ -583,11 +616,4 @@ 2026-05-18T01:52:01Z <p>• Internal fixes</p> - - https://github.com/anthropics/claude-code/releases/tag/v2.1.137 - Claude Code v2.1.137 - - 2026-05-18T01:52:01Z - <p>• [VSCode] Fixed extension failing to activate on Windows</p> -