Claude Code v2.1.59 Ships Auto-Memory and a New /copy Command
Claude Code v2.1.59 introduces automatic context memory, a /copy command for selecting code blocks, smarter bash permission prefixes, and multi-agent memory improvements.
Anthropic has released Claude Code v2.1.59 with a handful of quality-of-life improvements that should make day-to-day usage noticeably smoother, headlined by an auto-memory feature and a new /copy command.
Claude Now Remembers Things on Its Own
The headline addition is auto-memory: Claude will now automatically save useful context during sessions without you having to explicitly tell it to. Project conventions, your preferences, recurring patterns β it all gets captured and persisted across sessions. The existing /memory command remains available for manual management.
This is a natural evolution of the memory system that debuted earlier in the 2.x line. The difference is friction β or rather, the lack of it. You no longer need to remember to tell Claude to remember.
/copy: Finally, Proper Code Block Selection
A new /copy command surfaces an interactive picker when your response contains code blocks. You can select individual blocks or grab the entire response. Itβs a small thing, but anyone whoβs fought with terminal text selection to extract a clean code snippet will appreciate it.
Smarter βAlways Allowβ for Compound Commands
The permission system gets a subtle but meaningful upgrade. When you run compound bash commands like cd /tmp && git fetch && git push, Claude Code now computes per-subcommand prefixes instead of treating the entire string as a single prefix. The result: more granular, more secure permission management.
Multi-Agent Sessions Get Leaner
For power users running multi-agent workflows, v2.1.59 releases completed subagent task state from memory. Long-running sessions with many subagent invocations should consume noticeably less memory.
Bug Fixes
- MCP OAuth race condition: Fixed a token refresh race condition that surfaced when running multiple Claude Code instances simultaneously β a scenario thatβs increasingly common with multi-agent setups.
- Deleted working directory: Shell commands now display a clear error message when the working directory has been deleted, instead of failing silently.
Minor Improvements
- Short task lists now display in a more logical order.
How to Update
npm install -g @anthropic-ai/claude-code@latest Related Articles
Claude Code v2.1.51/v2.1.52: Remote Control, Security Fixes, and Plugin Improvements
Claude Code v2.1.51 introduces the remote-control subcommand for external builds, patches two security vulnerabilities in hook execution, and optimizes context window usage. v2.1.52 fixes a VS Code crash on Windows.
Claude Code v2.1.53: UI Polish and a Batch of Windows Crash Fixes
Claude Code v2.1.53 addresses a UI flicker issue, improves bulk agent kill notifications, and fixes four separate crashes affecting Windows users.
Claude Code v2.1.55: Back-to-Back Hotfixes for Windows Users
Anthropic ships v2.1.54 and v2.1.55 in quick succession, fixing a VS Code extension crash and a BashTool EINVAL error on Windows.
Popular Articles
Claude Code v2.1.93 Released - Deferred Permission Decisions, Flicker-Free Rendering, and More
Anthropic releases Claude Code v2.1.93 with deferred permission decisions for PreToolUse hooks, flicker-free rendering option, PermissionDenied hook, and named subagent typeahead support.
Claude Code v2.1.92 Released - forceRemoteSettingsRefresh, Bedrock Setup Wizard, and More
Anthropic releases Claude Code v2.1.92 with forceRemoteSettingsRefresh policy setting, AWS Bedrock setup wizard, /cost command improvements, and numerous bug fixes.
Claude Code v2.1.84 Release - PowerShell Tool Preview and Environment Configuration Enhancements
Claude Code v2.1.84 introduces PowerShell tool for Windows, new environment variable overrides for model selection, idle session handling improvements, and various stability fixes.
Latest Articles
Claude Code v2.1.93 Released - Deferred Permission Decisions, Flicker-Free Rendering, and More
Anthropic releases Claude Code v2.1.93 with deferred permission decisions for PreToolUse hooks, flicker-free rendering option, PermissionDenied hook, and named subagent typeahead support.
Claude Code v2.1.92 Released - forceRemoteSettingsRefresh, Bedrock Setup Wizard, and More
Anthropic releases Claude Code v2.1.92 with forceRemoteSettingsRefresh policy setting, AWS Bedrock setup wizard, /cost command improvements, and numerous bug fixes.
Claude Code v2.1.91 Released - MCP Tool Result Persistence and Improved Edit Tool
Claude Code v2.1.91 introduces MCP tool result persistence override, improved shell execution controls, and enhanced Edit tool efficiency.