Overview

This release focuses on significantly expanding Claude’s output capabilities with 64k token limits for Opus 4.6 and improved performance optimizations. The update includes dozens of bug fixes for bash commands, file handling, terminal integration, and memory management issues that were causing crashes and data loss.

Changes by Version

v2.1.77

  • Added 64k token output limits for Claude Opus 4.6 (128k upper bound for Opus and Sonnet 4.6)
  • Added selective file read permissions with allowRead sandbox setting in denyRead regions
  • Added /copy command with indexing - use /copy N to copy the Nth-latest response
  • Fixed compound bash command permissions - no more repeated prompts for commands like ‘cd src && npm test’
  • Fixed auto-updater memory leaks that accumulated tens of gigabytes during repeated overlay use
  • Fixed conversation history truncation in –resume mode due to memory extraction race conditions
  • Fixed permission bypass vulnerability where PreToolUse hooks could override enterprise deny rules
  • Fixed line ending corruption when Write tool overwrites CRLF files
  • Fixed memory growth in long sessions from surviving progress messages
  • Fixed cost tracking failures when API falls back to non-streaming mode
  • Fixed beta feature compatibility with proxy gateways when CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS is set
  • Fixed Bash tool errors for successful commands when temp directory paths contain spaces
  • Fixed paste data loss when typing immediately after pasting
  • Fixed Ctrl+D behavior in feedback text input
  • Fixed 0-byte image API errors when dragging empty image files
  • Fixed API key confusion between Claude Desktop OAuth and terminal CLI keys
  • Fixed plugin cache collisions for git-subdir plugins in monorepos
  • Fixed list rendering in terminal UI
  • Fixed worktree cleanup race condition that could delete active agent worktrees
  • Fixed input deadlock when opening dialogs while agent is running
  • Fixed vim navigation keys - Backspace and Delete now work in NORMAL mode
  • Fixed vim status line updates when toggling vim mode
  • Fixed double link opening on Cmd+click in VS Code and Cursor terminals
  • Fixed tmux color rendering with default configuration
  • Fixed iTerm2 crashes when selecting text in tmux over SSH
  • Fixed tmux clipboard integration with proper paste instructions
  • Fixed arrow key conflicts in settings dialogs
  • Fixed IDE auto-connection when launched inside tmux or screen
  • Fixed CJK character clipping at UI element edges
  • Fixed teammate pane cleanup when leader exits
  • Fixed iTerm2 detection for native split-pane teammates
  • Added 60ms faster macOS startup through parallel keychain loading
  • Added 45% faster –resume performance for fork-heavy sessions with 100-150MB less memory usage
  • Added Esc to abort non-streaming API requests
  • Added enhanced plugin validation for skills, agents, and command frontmatter
  • Added 5GB output limits for background bash tasks to prevent disk filling
  • Added automatic session naming from plan content when accepting plans
  • Added improved headless plugin installation with CLAUDE_CODE_PLUGIN_SEED_DIR support
  • Added apiKeyHelper timeout notices when operations take longer than 10 seconds