Claude Code changelog

Claude Code 2.1.21

Added

  • Added support for full-width (zenkaku) number input from Japanese IME in option selection prompts
  • Added automatic Python virtual environment activation, ensuring `python` and `pip` commands use the correct interpreter (configurable via `claudeCode.usePythonEnvironment` setting)

Improved

  • Improved read/search progress indicators to show "Reading…" while in progress and "Read" when complete
  • Improved Claude to prefer file operation tools (Read, Edit, Write) over bash equivalents (cat, sed, awk)

Fixed

  • Fixed shell completion cache files being truncated on exit
  • Fixed API errors when resuming sessions that were interrupted during tool execution
  • Fixed auto-compact triggering too early on models with large output token limits
  • Fixed task IDs potentially being reused after deletion
  • Fixed file search not working in VS Code extension on Windows
  • Fixed message action buttons having incorrect background colors