Claude Code v2.1.59 adds auto-memory, copy command, and shell improvements

✍️ OpenClawRadar📅 Published: February 26, 2026🔗 Source
Claude Code v2.1.59 adds auto-memory, copy command, and shell improvements
Ad

What's new in Claude Code v2.1.59

Anthropics released Claude Code v2.1.59 on February 26, bringing several practical improvements to the AI coding assistant. This release focuses on memory management, code interaction, and shell command handling.

Ad

Key features and fixes

  • Auto-memory management: Claude now automatically saves useful context to auto-memory. You can manage this with the /memory command.
  • Interactive copy command: Added /copy command that shows an interactive picker when code blocks are present, allowing selection of individual code blocks or the full response.
  • Improved bash command handling: Enhanced "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.
  • Task list ordering: Improved ordering of short task lists.
  • Memory optimization: Reduced memory usage in multi-agent sessions by releasing completed subagent task state.
  • Bug fixes: Fixed MCP OAuth token refresh race condition when running multiple Claude Code instances simultaneously. Fixed shell commands not showing clear error messages when the working directory has been deleted.

This release addresses specific workflow issues developers encounter when using Claude Code for shell operations and code manipulation. The auto-memory feature should help maintain context across longer sessions, while the improved bash command handling makes compound operations more reliable.

📖 Read the full source: GitHub Claude-Code

Ad

👀 See Also