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

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.
Key features and fixes
- Auto-memory management: Claude now automatically saves useful context to auto-memory. You can manage this with the
/memorycommand. - Interactive copy command: Added
/copycommand 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
👀 See Also

DeepSeek Reasonix: Native Coding Agent with High Caching and Low Cost
Reasonix is a DeepSeek-native AI coding agent for the terminal, focusing on high caching efficiency and low inference cost.

git-courer: An MCP Server That Forces AI Agents to Write Proper Git Commit Messages
git-courer is a local MCP server in Go that intercepts diffs from AI coding agents and translates them into structured, human-readable commit messages with WHY and WHAT sections.

Elodin Open-Sources AI Racing Harness with Real-Time Betaflight Simulation for AI Grand Prix Contestants
Elodin released an open-source simulation harness for the AI Grand Prix virtual qualifier, matching competition constraints and running against real Betaflight. The Rust/Bevy-based tool generates camera sensor samples directly in the loop, avoiding heavy game engine overhead.

OpenClaw Guild: Multi-user AI agent server for teams
OpenClaw Guild extends single-user OpenClaw into a multi-user AI server with role-based access control, isolated data per agent, and a 4-tier memory system. It includes a web admin dashboard and Docker-compose deployment for 15-minute setup.