← Back to all releases

v2.1.59 Claude Code Release Notes

Claude's Analysisby Sonnet 4.6
Full Analysis

/copy adds interactive code block selection; auto-memory now persists context automatically; multi-instance config corruption and OAuth race conditions fixed.

Changes
8
Total Changes (vs Average)
0.4×
Version Type
Patch
Release Focus
Mixed
Days Since Prior Release
0
Release # This Month
#25 of 28
Bug Fix Ratio
38%
How does this release compare? Release pace, fix share and issue trends since April 2025.See all-time statistics
Change Category
Ecosystem Impact
MCP re-emerges after a 5-release absence — present in 4 of the last 10 releases but none of the prior 5. The fix here targets OAuth token refresh, consistent with MCP's recurring reliability theme across recent history.
Key Themes
1New /copy Command|2Auto-Memory & Multi-Agent Efficiency|2Multi-Instance Safety Fixes|2Shell & Permissions Polish
May Help If You've Noticed
You want to copy a specific code block from a response without manually selecting around surrounding text
Claude forgets useful project context between sessions that you've had to re-explain repeatedly
Your Claude Code settings or login gets wiped when running multiple windows at the same time
MCP tool authentication silently fails when two Claude Code instances run simultaneously
Shell commands fail with no useful error when the working directory no longer exists

Changes in Claude Code v2.1.59

Added1 change

  • •Added /copy command to show an interactive picker when code blocks are present, allowing selection of individual code blocks or the full response.

Improved3 changes

  • •Improved "always allow" prefix suggestions for compound bash commands (e.g. cd /tmp && git fetch && git push) to compute smarter per-subcommand prefixes instead of treating the whole command as one
  • •Improved ordering of short task lists
  • •Improved memory usage in multi-agent sessions by releasing completed subagent task state

Fixed3 changes

  • •Fixed MCP OAuth token refresh race condition when running multiple Claude Code instances simultaneously
  • •Fixed shell commands not showing a clear error message when the working directory has been deleted
  • •Fixed config file corruption that could wipe authentication when multiple Claude Code instances ran simultaneously

Other1 change

  • •Claude automatically saves useful context to auto-memory. Manage with /memory