Claude Code v2.1.203: Session Recovery and UI Improvements
This update to Claude Code addresses numerous bugs related to background session stability and responsiveness, particularly on macOS and Windows. It improves the user experience by adding warnings for expiring logins, clearer visibility of active modes, and better recovery from session staleness. The release affects developers using Claude Code for coding assistance, especially those working with background agents or on macOS.
- →Login expiration warnings and improved session recovery
- →Visible manual permission mode indicator
- →Additional working directories exposed
- →Resolved macOS session stalling on background agent start
- →Preserved subagent work when returning to `claude agents`
Enhancements (3) ›
- Login expiration warnings and improved session recovery
Added warnings for expiring logins to prevent interruptions in background sessions and improved automatic recovery for sessions where the daemon's token becomes stale. The session now correctly recovers from unresponsive states for attach, replies, and stop commands.
- Visible manual permission mode indicator
A grey pause badge (⏸) is now displayed in the footer when in manual permission mode, making the active mode consistently visible to the user.
- Additional working directories exposed
The session's additional working directories are now included in MCP `roots/list`, and `notifications/roots/list_changed` is sent when this set is modified.
Fixes (3) ›
- Resolved macOS session stalling on background agent start
Fixed an issue causing opening or switching background agent sessions on macOS to stall for 15-20 seconds due to a false low-memory detection, a regression from version 2.1.196.
- Preserved subagent work when returning to `claude agents`
Fixed a bug where returning to `claude agents` would silently stop running subagents and restart the prompt. The agent's work now correctly carries over.
- Optimized interactive session performance
Addressed a memory and per-turn CPU regression in interactive sessions. The context-usage indicator no longer re-analyzes the entire transcript after each turn, improving responsiveness.
https://github.com/anthropics/claude-code/releases/tag/v2.1.203