v2.1.236
2.1.236
Highlights:
- ANTHROPIC_DEFAULT_MODEL sets the model new sessions start on, while /model still overrides and persists
- macOS sandbox: wildcard read-deny now override allowed regions and prevent renames bypassing matched paths
- SendMessage adds notify_when_idle to request one-off opt-in idle notice from another session, no polling
CLI changelog
- Added ANTHROPIC_DEFAULT_MODEL environment variable: sets the model new sessions start on, while a /model pick still overrides it and persists across restarts (unlike ANTHROPIC_MODEL)
- Added notify_when_idle to cross-session SendMessage: ask another Claude Code session on this machine to send one notice when it next goes idle — opt-in, one-shot, no polling (macOS and Linux)
- Fixed clipboard copy, background housekeeping, background sessions, and local MCP logs breaking after the directory a session had switched into was removed (since 2.1.229)
- Fixed the fullscreen renderer failing permanently after a single failed start: it now falls back to the classic renderer instead of exiting on every subsequent launch
- Fixed the /model picker rendering taller than the terminal: it now shows only as many models as fit the window, with the rest reachable by scrolling
- Fixed SendMessage calls being rejected when a malformed closing tag left the message text inside the summary field
- Fixed unhandled promise rejections when a subprocess fails to start, for example powershell.exe on WSL with Windows interop disabled (regression in 2.1.234)
- Fixed fullscreen mode sometimes not showing a newly sent message until the next update after the terminal was resized
- Fixed a blank band that could remain above the prompt after clearing a multi-line prompt, and panes not repainting after resizing the terminal away and back, in fullscreen mode
- Fixed the managed-settings approval prompt sometimes not appearing at startup while still capturing the first keypress as approval
- Fixed terminal tab titles jumping in tmux (iTerm tmux integration): the title is now written only when its text changes instead of animating every 960ms
- Fixed an unclear error when the cloud environments list came back empty or malformed
- … +21 more CLI changelog entries
Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21236
Metadata
-
Time since 2.1.235 release: 1d 14h 57m 50s
-
Bundle file size: +435.0 kB (+0.9%)
-
Prompt files: +3 (+6.2%)
-
Prompt tokens: +11,327 (+6.1%)
Prompt token mix by kind:
- system: 73.8%→73.3%
- tools: 26.2%→26.7%
Files: