v2.1.312
Added 4
- Add oidc.user_id_claim to the Claude apps gateway to identify people by an id_token claim other than sub, such as Microsoft Entra ID's oid
- In fullscreen, clicking the "to send now" hint under a queued message sends it right away, as its key does
- [Cloud sessions] The model picker includes an effort level when you create or edit a routine that runs in the cloud
- [Cloud sessions] The setup script box in cloud environment settings has a Bash editor with colors, line numbers and a Copy button
Changed 13
- The prompt's effort indicator says a change made mid-task may wait for your next message, and the note clears when it no longer applies
- WebFetch errors in cloud sessions explain that a host that does not resolve may be outside the allowed network domains, so Claude names the host to allow
- Bedrock, Vertex, Foundry and Mantle use the shorter system prompt for unrecognized model names, such as custom deployment names and inference profile ARNs, even when they front Sonnet or Haiku; set CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 to keep the full prompt behavior changed · inferred, marked in the notes below
- Automatic model switches after a flagged message also cover unrecognized model names, such as custom deployment names; set CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK=1 to turn them off behavior changed · inferred, marked in the notes below
- Usage limit messages call the 5-hour window the "5-hour limit" instead of the "session limit"
- Cloud sessions started from the CLI get their names and branch names from the server
- Prompt and agent hooks run at most 24 at a time per session, sub-agents included, plus at most 12 that have waited longer than their event's timeout; a timeout under 1 second counts as 1 second behavior changed · inferred, marked in the notes below
- A subagent's autoCompactWindow lowers the window set by CLAUDE_CODE_AUTO_COMPACT_WINDOW, where it previously had no effect; it still never raises that window behavior changed · inferred, marked in the notes below
- OpenTelemetry mcp_server.name reports the real name of fixed-URL remote MCP servers declared by plugins from the official Anthropic marketplace, instead of custom behavior changed · inferred, marked in the notes below
- Claude Code no longer sends the claude_code.safety_event OpenTelemetry event removed · inferred, marked in the notes below
- [VSCode] Usage limit resets show a clock time ("Resets at 3:10 PM") and say "5-hour limit"
- [Cloud sessions] The step shown when Claude adds a repository to a cloud session opens to a short table of what happened instead of raw JSON
- [Claude Tag] The retry notice in Slack names the model in use or says rate limits were hit, instead of a generic API error
Fixed 22
- Managed settings and organization policy are now fetched for the rest of the session after signing in from the VS Code extension
- Write no longer overwrites a very large CLAUDE.md, rules file or @-included file in a subdirectory after seeing only its start; it now asks Claude to read it all or edit in place
- Per-directory and paths: skills are found after a Bash cd deeper into a git repository
- A rare case where the first reply after resuming a session in the terminal could be missing the next time the session is resumed
- A command with an invalid name no longer stops all commands from loading, which could leave claude -p with no output
- The Read tool no longer sometimes fails on PDF pages with "pdftoppm failed: Could not write image" when clean-up of old session files runs at the same time
- The spinner, OpenTelemetry effort values and transcripts show the effort level in force rather than a newly picked level before the model applies it during a task
- The /model and /effort cache warning no longer implies the re-read waits for your next message; a change made while Claude is working can trigger it sooner
- Some sessions no longer show as waiting on you when the last message only mentioned items waiting on you mid-sentence
- Agent view no longer restores input text on the next launch after it was cleared with Ctrl+C just before exiting
- Agent view no longer reopens in shell mode after exiting with Ctrl+D from an empty ! input
- In vim mode, d, c and y with a gj or gk count larger than the lines left only move the cursor instead of deleting or copying text
- /verify shows a short description in /help and the / command menu instead of a long description meant for Claude
- [VSCode] Sessions no longer end on a bare exit code when organization settings can't be loaded or are refused at startup; the tab explains why and offers Retry or Sign in again
- [Cloud sessions] Resending an unchanged message after a failed send no longer sometimes runs it twice
- [Cloud sessions] A failed cloud environment creation shows its error inside the open dialog instead of only as a toast outside it
- [Cloud sessions] Edit in a routine's menu on the Routines page opens the routine's edit dialog
- [Remote Control] An unarchived Remote Control session shows as idle instead of working until a computer reconnects
- [Claude Tag] A channel's on/off switch and agent settings no longer fall back to workspace defaults when an older private Slack channel goes public and gets a new ID
- [Claude Tag] Claude in Slack replies in channels whose environment has network access set to None
- [Claude Tag] Claude in Slack no longer sometimes posts a file in the wrong thread when answering in another thread of the same channel
- [Code Review] Code Review reviews the pull request's current commit when GitHub delivers a push event late, instead of an outdated commit or none
6 changes to check, marked in the notes below
From Claude Code
What's changed
- Added
oidc.user_id_claimto the Claude apps gateway, to identify people by an id_token claim other thansub, such as Microsoft Entra ID'soid - Added click to send: in fullscreen, clicking the "to send now" hint under a queued message sends it right away, as its key does
- Fixed managed settings and organization policy not being fetched for the rest of the session after signing in from the VS Code extension
- Fixed Claude overwriting a very large CLAUDE.md, rules file or @-included file in a subdirectory after seeing only its start; Write now asks Claude to read it all or edit in place
- Fixed per-directory and
paths:skills not being found after a Bashcddeeper into a git repository - Fixed a rare case where the first reply after resuming a session in the terminal could be missing the next time the session was resumed
- Fixed a command with an invalid name stopping all commands from loading, which could leave
claude -pwith no output - Fixed the Read tool sometimes failing on PDF pages with "pdftoppm failed: Could not write image" when the clean-up of old session files ran at the same time
- Fixed the spinner, OpenTelemetry
effortvalues and transcripts naming a newly picked effort level during a task before the model applied it; they now show the level in force - Fixed the
/modeland/effortcache warning saying the re-read waits for your next message; a change made while Claude is working can trigger it sooner - Fixed some sessions showing as waiting on you when the last message only mentioned items waiting on you mid-sentence
- Fixed agent view restoring input text on the next launch after it was cleared with Ctrl+C just before exiting
- Fixed agent view reopening in shell mode after exiting with Ctrl+D from an empty
!input - Fixed vim mode
d,candywith agjorgkcount larger than the lines left deleting or copying text; like Vim, they now only move the cursor - Fixed
/verifyshowing a long description meant for Claude in/helpand the/command menu instead of a short one - Improved the prompt's effort indicator: a change made mid-task now says it may wait for your next message, and the note clears when it no longer applies
- Improved WebFetch errors in cloud sessions: a host that does not resolve is now explained as possibly outside the allowed network domains, so Claude names the host to allow
- Changed Bedrock, Vertex, Foundry and Mantle to use the shorter system prompt for model names Claude Code doesn't recognize, such as custom deployment names and inference profile ARNs, even when they front Sonnet or Haiku; set
CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0to keep the full prompt behavior changed · inferred - Changed automatic model switches after a flagged message to also cover model names Claude Code doesn't recognize, such as custom deployment names; set
CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK=1to turn them off behavior changed · inferred - Changed usage limit messages to call the 5-hour window the "5-hour limit" instead of the "session limit"
- Changed cloud sessions started from the CLI to get their names and branch names from the server
- Changed prompt and agent hooks to run at most 24 at a time per session, sub-agents included, plus at most 12 that have waited longer than their event's timeout; a
timeoutunder 1 second now counts as 1 second behavior changed · inferred - Changed a subagent's
autoCompactWindowto lower the window set byCLAUDE_CODE_AUTO_COMPACT_WINDOW, where it had no effect before; it still never raises that window behavior changed · inferred - Changed OpenTelemetry
mcp_server.nameto report the real name of fixed-URL remote MCP servers declared by plugins from the official Anthropic marketplace, instead ofcustombehavior changed · inferred - Changed Claude Code to stop sending the
claude_code.safety_eventOpenTelemetry event removed · inferred - [VSCode] Fixed sessions ending on a bare exit code when your organization's settings couldn't be loaded or were refused at startup; the tab now says why and offers Retry or Sign in again
- [VSCode] Changed usage limit resets to show a clock time ("Resets at 3:10 PM") and to say "5-hour limit"
- [Cloud sessions] Added an effort level to the model picker when you create or edit a routine that runs in the cloud
- [Cloud sessions] Added a Bash editor with colors, line numbers and a Copy button to the setup script box in cloud environment settings
- [Cloud sessions] Improved the step shown when Claude adds a repository to a cloud session: opening it now shows a short table of what happened instead of raw JSON
- [Cloud sessions] Fixed resending an unchanged message after a failed send in a cloud session sometimes running it twice
- [Cloud sessions] Fixed a failed cloud environment creation showing its error only as a toast outside the open dialog; it now appears inside the dialog
- [Cloud sessions] Fixed Edit in a routine's menu on the Routines page going to the routine's page without opening its edit dialog
- [Remote Control] Fixed an unarchived Remote Control session showing as working until a computer reconnected; it now shows as idle
- [Claude Tag] Improved Claude Tag's retry notice in Slack to name the model in use, or say rate limits were hit, instead of a generic API error
- [Claude Tag] Fixed a Claude Tag channel's on/off switch and agent settings falling back to workspace defaults when an older private Slack channel goes public and gets a new ID
- [Claude Tag] Fixed Claude in Slack not replying in channels whose environment has network access set to None
- [Claude Tag] Fixed Claude in Slack sometimes posting a file in the wrong thread when it was answering in another thread of the same channel
- [Code Review] Fixed Code Review reviewing an outdated commit, or none at all, when GitHub delivered a push event late; it now reviews the pull request's current commit