Skip to main content

Claude Code 2.1.236

By Steven Van ·

Added ANTHROPIC_DEFAULT_MODEL environment variable: sets the model new sessions start on, while a /model pick still overrides it and persists across…

Claude Code 2.1.236 adds a new ANTHROPIC_DEFAULT_MODEL environment variable, which sets the model new sessions start on. Picking a model with /model still overrides it and, unlike ANTHROPIC_MODEL, that choice persists across restarts. The release also adds an opt-in, one-shot notify_when_idle option to cross-session SendMessage, so one Claude Code session on a machine can ask another to send a single notice when it next goes idle, without polling, on macOS and Linux.

  • On macOS, sandbox wildcard read-deny rules (for example **/.env) now take precedence inside allowed read regions, cover the contents of matched directories, and can't be bypassed by renaming the denied file.
  • Fixed clipboard copy, background housekeeping, background sessions, and local MCP logs breaking after the directory a session had switched into was removed, a regression 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 later 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.

Full details are in the changelog.

Claude Code
Claude Code
Anthropic's agentic coding tool — Claude in your terminal, IDE, desktop app and browser, reading and editing your codebase, running commands, opening pull requests and working on tasks in the cloud.
View Claude Code →

Read the original announcement →

Read Claude Code 2.1.236 on Creators Toolbox