releaseintermediate
[Release] anthropics/claude-code v2.1.160: v2.1.160
By ashwin-antgithub
View original on githubClaude Code v2.1.160 introduces enhanced security prompts for sensitive file modifications, fixes critical issues with background sessions and terminal responsiveness, and improves performance across multiple areas. Key improvements include safer handling of shell startup files and build configs, better Windows clipboard support, and resolved problems with session restoration and auto-mode functionality. The release also renames the dynamic workflow trigger from 'workflow' to 'ultracode' and removes deprecated environment variables.
Key Points
- •Added security prompts before writing to shell startup files (.zshenv, .zlogin, .bash_login) and git config to prevent unintended command execution
- •acceptEdits mode now prompts before modifying build-tool config files (.npmrc, .yarnrc*, bunfig.toml, .bazelrc, .pre-commit-config.yaml, .devcontainer/) that grant code execution
- •Single-file grep/egrep/fgrep commands now satisfy read-before-edit checks without requiring separate Read operations
- •Fixed Windows WSL clipboard support by switching from OSC 52 to PowerShell interop for copy-on-select functionality
- •Resolved background session issues: restored sessions no longer drop chat history or re-run original prompts; fixed socket missing errors on cold-start
- •Fixed terminal responsiveness issues on Windows (Esc, arrow keys, typing) when attached to background sessions under heavy CPU load
- •Improved auto mode classifier latency by reducing reasoning on routine actions, lowering false 'could not evaluate' blocks
- •Renamed dynamic workflow trigger keyword from 'workflow' to 'ultracode' with violet highlighting in prompt input
- •Fixed voice mode connection failures when project directory or branch names contain non-ASCII or special characters
- •Improved background session teardown to send SIGTERM before SIGKILL to running shell subprocesses, ensuring cleanup handlers execute
Found this useful? Add it to a playbook for a step-by-step implementation guide.
Workflow Diagram
Start Process
Step A
Step B
Step C
Complete