Claude Code v2.1.140 Release Notes
Claude Code v2.1.140 brings significant improvements to agent tools, background service stability, and plugin management with enhanced error handling.
Claude Code v2.1.140 Release Notes
The latest Claude Code update delivers a comprehensive set of improvements focused on enhancing user experience, system stability, and developer workflow efficiency. This release addresses several critical issues while introducing smarter agent tool matching capabilities.
What’s New
Enhanced Agent Tool Matching
Agent tool subagent_type matching has been significantly improved to accept case- and separator-insensitive values. Now you can use formats like "Code Reviewer" which will automatically resolve to code-reviewer, making agent configuration more flexible and user-friendly.
Visual and Interface Improvements
- Updated agent color palette for better visual distinction and accessibility
- Improved
/goalcommand feedback - no more silent hanging whendisableAllHooksorallowManagedHooksOnlyis set. Users now receive clear messages instead of indefinitely spinning indicators - Enhanced native terminal cursor behavior that stays positioned at the input caret even when the terminal loses focus
Background Service Stability
Several critical fixes improve the reliability of Claude Code’s background operations:
- Fixed
/claude --bgconnection drops during service idle-exit periods - Resolved startup failures on enterprise security-enabled machines by extending startup timeouts
- Improved remote managed settings with automatic retry on 401 errors using force-refreshed tokens
Configuration and Settings
- Hot-reload improvements - Fixed regression where symlinked settings files caused incorrect change event attribution and spurious
ConfigChangehooks - Persistent marketplace settings - Fixed managed
extraKnownMarketplacesauto-update policy persistence toknown_marketplaces.json
Performance Optimizations
- Efficient loop scheduling -
/loopcommand no longer schedules redundant wakeups for background tasks that already provide completion notifications - Windows performance fix - Eliminated recurring event-loop stalls caused by synchronous
where.exere-spawns when checking for missing executables
Tool and Plugin Enhancements
- Robust
Readtool validation - Fixed validation failures whenoffsetparameters contain whitespace padding or+prefixes - Improved plugin diagnostics - Plugins now provide warnings in
/doctor,claude plugin list, and/pluginwhen default component folders are ignored due toplugin.jsonconfiguration conflicts
How to Update
To update to Claude Code v2.1.140:
- Automatic update: If you have auto-updates enabled, the update should install automatically
- Manual update: Run
claude updatein your terminal - Fresh installation: Download the latest version from the official release page
After updating, run claude --version to verify you’re on v2.1.140.