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 関連記事
Claude Code v2.1.59リリース - 自動メモリ機能とコピーコマンドを追加
Claude Code v2.1.59がリリースされた。コンテキストを自動保存するauto-memory機能、コードブロックを選択してコピーできる/copyコマンドが追加されている。
Claude Code v2.1.51/v2.1.52リリース - remote-controlコマンド追加とセキュリティ修正
Claude Code v2.1.51で外部ビルド向けremote-controlサブコマンドを追加。セキュリティフック関連の脆弱性2件を修正。v2.1.52ではWindows向けVS Code拡張のクラッシュを修正。
Claude Code v2.1.53リリース - UI不具合修正とWindows安定性の大幅改善
Claude Code v2.1.53では、入力欄のちらつき修正、エージェント一括終了の通知集約、Windows環境での複数クラッシュ修正など、安定性とUXの改善が中心のアップデートが実施された。
人気記事
Claude Code v2.1.93 リリース - PreToolUseフック延期決定やフリッカーFREE渲染など
AnthropicがClaude Code v2.1.93をリリース。PreToolUseフックの延期決定機能、フリッカー-freeレンダリングオプション、PermissionDeniedフック、名前付きサブエージェントのタイプアヘッド対応などを含む。
Claude Code v2.1.92 リリース - forceRemoteSettingsRefreshやBedrockセットアップウィザードなど
AnthropicがClaude Code v2.1.92をリリース。forceRemoteSettingsRefreshポリシー設定、Bedrockセットアップウィザード、costコマンドの改善など多数の機能追加とバグ修正を含む。
Claude Code v2.1.84 リリース - PowerShellツールプレビューと環境設定の強化
Claude Code v2.1.84がリリース。Windows向けのPowerShellツール、環境変数によるモデル選択のカスタマイズアイドルセッション処理の改善などが含まれる。
最新記事
2026年5月AI開発ニュース振り返り:GitHub Copilot新料金体系、Starlette脆弱性「BadHost」、AI依存するコーダーたち
2026年5月末のAI開発関連ニュースを振り返る。GitHub Copilotのトークンベース請求書をめぐる開発者の不満、Starlette「BadHost」脆弱性问题、AIツールなしでは働きたくないコーダー急増について。
Claude Code v2.1.93 リリース - PreToolUseフック延期決定やフリッカーFREE渲染など
AnthropicがClaude Code v2.1.93をリリース。PreToolUseフックの延期決定機能、フリッカー-freeレンダリングオプション、PermissionDeniedフック、名前付きサブエージェントのタイプアヘッド対応などを含む。
Claude Code v2.1.92 リリース - forceRemoteSettingsRefreshやBedrockセットアップウィザードなど
AnthropicがClaude Code v2.1.92をリリース。forceRemoteSettingsRefreshポリシー設定、Bedrockセットアップウィザード、costコマンドの改善など多数の機能追加とバグ修正を含む。