release

Claude Code v2.1.64 Released - Reliability Improvements and Performance Enhancements

Flow
#Claude Code #Anthropic #release-notes #Remote Control #performance

Claude Code v2.1.64 brings reliability upgrades, performance improvements, and security fixes including Remote Control subcommand, BashTool optimization, and multiple bug fixes.

Anthropic released Claude Code v2.1.64 on February 28 (local time). This update includes reliability improvements, performance enhancements, and security fixes.

New Feature: Remote Control Subcommand

The new claude remote-control subcommand enables local environment serving for external builds. This feature is particularly valuable for CI/CD pipelines and remote development workflows.

BashTool Performance Optimization

BashTool now skips the login shell (-l flag) by default when a shell snapshot is available. This improvement enhances command execution performance and accelerates iterative development workflows.

Enhanced Context Auto-Saving

Claude’s ability to automatically save useful context to auto-memory has been improved. This enhancement increases session continuity and reduces the risk of losing important information across context switches.

Smarter Bash Command Suggestions

β€œAlways allow” prefix suggestions for compound bash commands (e.g., cd /tmp && git fetch && git push) now compute smarter per-subcommand prefixes. This reduces friction when working with complex command sequences.

Memory Optimization for Multi-Agent Sessions

Memory usage in multi-agent sessions has been optimized by releasing completed subagent task states. Resource efficiency improves for long-running complex multi-agent configurations.

Other Improvements

  • Model Command Enhancement: The /model command now displays the currently active model in the slash command menu
  • Larger Tool Result Persistence: Tool results larger than 50K characters are now persisted to disk (previously 100K), reducing context window usage
  • Plugin Marketplace Timeout Extended: Default git timeout extended from 30s to 120s; CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS environment variable added for configuration
  • Custom npm Registry Support: Custom npm registries and specific version pinning now supported when installing plugins from npm sources
  • Project Config Sharing Across Worktrees: Project configurations and auto-memory now shared across git worktrees of the same repository

Security Fixes

Multiple security vulnerabilities addressed:

  • statusLine/FileSuggestion Hooks: Fixed issue where hook commands could execute without workspace trust acceptance in interactive mode
  • HTTP Hooks: Fixed issue where HTTP hooks could interpolate arbitrary environment variables from header values

Bug Fixes

  • UI Flicker: Fixed issue where user input would briefly disappear after submission
  • Windows Crashes: Addressed multiple crashes including panic β€œswitch on corrupted value”, issues when spawning many processes, and Windows ARM64 crash after ~2 minutes
  • β€”worktree Issue: Fixed issue where --worktree was sometimes ignored on first launch
  • MCP OAuth Token Race Condition: Resolved race condition when refreshing MCP OAuth tokens with multiple Claude Code instances running simultaneously
  • Config File Corruption: Fixed config file corruption that could wipe authentication with multiple instances
  • Listener Leaks: Fixed listener leaks in bridge polling loops, MCP OAuth flow cleanup, and interactive permission handlers
  • Memory Leaks: Corrected memory leaks in bash command prefix cache, MCP tool/resource cache, JSON parsing cache, and git root detection cache
  • Local Slash Command Output: Fixed local slash command output (like /cost) appearing as user messages instead of system messages
  • Duplicate control_response Messages: Fixed bug where duplicate control_response messages could cause API 400 errors

Related Articles

Popular Articles

Latest Articles

0 tools selected