Claude Code has received several updates, including the addition of an environment variable for setting the default model and a new cross-session messaging feature. These changes aim to enhance user control over session configurations and inter-session communication.
Key Points
- The ANTHROPIC_DEFAULT_MODEL environment variable has been added to set the model for new sessions.
- A
/modelpicker can still override the default model and persists across restarts. - notify_when_idle has been added to cross-session SendMessage for macOS and Linux.
- This feature allows one Claude Code session to request a single idle notification from another session on the same machine.
- On macOS, wildcard read-deny rules in the Sandbox now take precedence within allowed read regions.
- A fix addresses clipboard copy and background processes breaking if a session's directory was removed.
- The fullscreen renderer now falls back to the classic renderer after a failed start instead of exiting.
Context
According to the Claude Code changelog, these updates address both configuration flexibility and operational stability. The introduction of ANTHROPIC_DEFAULT_MODEL provides a new way to manage the initial model used in sessions, while the notify_when_idle feature offers a specific, opt-in method for inter-session communication without continuous polling.
Why It Matters
These updates provide builders with more granular control over their Claude Code environment and improve the robustness of the application. The new environment variable simplifies setting preferred models, and the cross-session notification feature offers a practical tool for coordinating tasks between different Claude Code instances.
What To Do
- Note the new ANTHROPIC_DEFAULT_MODEL environment variable for setting default session models.
- Explore the notify_when_idle option within SendMessage for cross-session communication on macOS and Linux.
- Observe the improved behavior of the fullscreen renderer, which now includes a fallback mechanism.
- Be aware of the enhanced Sandbox rules on macOS regarding wildcard read-deny rules.
