Follow Discord

Claude Code v2.1.317

516 entries read Grouped into 440 v2.1.316 → v2.1.317 Mods API: +4 added · 0 removed · 3 changed Markdown JSON Follow Unofficial

You can now turn off MCP task support by setting CLAUDE_CODE_DISABLE_MCP_TASKS. This release has 440 entries, and 284 of them are usable today. Accounts offered Life Sciences use cases get a new /use-case command to pick one. That choice is saved for later sessions. A new app:closeSession shortcut action lets you bind a key to close a session shown under session tabs. Programs that launch Claude Code can pass working directories exactly as given with the new permissions.workingDirectoriesAsGiven setting.

There are 12 entries in the build that are not switched on yet. A Wrap up tool would let Claude end a turn with a short recap and up to two next-step buttons. Claude Code now tracks messages for taking back a sent message with Esc, but the take-back does nothing yet. Hooks of type agent and mcp_tool can be read, but a remote allow list keeps them off and is empty by default. A spot is reserved for a live preview sharing dialog, with no way to open it yet.

Updates on macOS no longer delete the app bundle a running session is using. Saving settings no longer overwrites a config file that appeared while Claude Code was creating its own. Cancelling the theme picker no longer quits Claude Code. SDK hooks set to block on failure now stop the action as intended. Reading an unchanged file again no longer returns a short "file unchanged" note. The CLAUDE_CODE_LAZY_ENV_GETTERS environment variable is no longer recognised.

Written by our agent from the shipped bundle, not by Anthropic.

Five to try today

Picked from 21 you can use now
  1. New environment variables for subagent handback and host mid-turn prompts

    Adds CLAUDE_CODE_DISABLE_SUBAGENT_HANDBACK and CLAUDE_CODE_DEEP_TWILIGHT, and lists PARSED_WILLOW and DAPPER_CUPCAKE in more allowlists

    Extensions
  2. Plugins can draw a translucent backdrop behind Claude Code

    A new ui.backdrop function lets plugins draw a blurred, tinted backdrop, and connecting clients can say they draw a Backdrop

    Extensions
  3. A keyboard shortcut action for closing a session under session tabs

    Claude Code now has an app:closeSession shortcut action and a SessionTabs keybinding context for closing a session shown under session tabs

    Interface
  4. New environment variables for remote sessions, including a stall-check interval

    Remote sessions gain new CLAUDE_CODE_* settings, such as a stall-check interval and a slow-skills watch, and CLAUDE_CODE_LAZY_ENV_GETTERS is dropped

    Extensions
  5. New /use-case command to choose a Life Sciences use case

    Accounts offered Life Sciences use cases get a /use-case command and a startup dialog to pick one, saved for later sessions

    Extensions

Want the reasoning? Read walks the 51 entries that probably matter to you, each one opening to what changed and why.

Read this release → Every row →
426 of 440 shownClear
Reading as
Show only
Who it's for
Tier
Flag state
Names
Pick an entry · j / k steps through · rest on a row to peek
135 entries here

Internal Changesopen

Continued from page 4

10 more of these are in What probably matters to you, on page 1.

3 entries hereTerminal UI · none marked notable
2 entries hereAuth · none marked notable
2 entries hereEnvironment Variables · none marked notable
·Internal
Under the hood
Useful2 Signal3
Environment Variables no docs found unclear

Two more environment variable names join Claude Code's session lists#

Claude Code now lists CLAUDE_CODE_FIZZY_GROVE and CLAUDE_CODE_DEEP_TWILIGHT alongside its other session environment variables

Unclear What either variable does, and whether these lists hand them on to sessions Claude Code starts, is not shown.

Details 0 0 Feedback
CLAUDE_CODE_FIZZY_GROVECLAUDE_CODE_DEEP_TWILIGHTCLAUDE_CODE_WITTY_DEWDROPCLAUDE_CODE_SESSION_ORIGIN
2 entries hereNetwork · none marked notable
·Internal
Under the hood
Useful1 Signal2
Network unclear

Claude Code can now treat more hostnames as internal network addresses#

Hostnames ending in suffixes such as .consul, .corp, .ts.net, .onion, .i2p and .xip.io can now be treated as private or internal

Unclear It is not clear where Claude Code uses this check, so whether it changes any request you make is not known.

Details 0 0 Feedback
2 entries herePlan Mode · none marked notable
2 entries herePrompt Cache · none marked notable
·Internal
Under the hood
Useful1 Signal2
Prompt Cache unclear

Resumed sessions may ask for a longer prompt cache#

When you resume a session whose last reply used a 5-minute prompt cache, Claude Code may record a request for a 1-hour cache

Unclear What the recorded 1-hour request changes for a resumed session is not clear.

Details 0 0 Feedback
2 entries hereSubagents · none marked notable
·Internal
Under the hood
Useful1 Signal2
Subagents unclear

Claude Code now notices when one agent repeats another agent's command#

Claude Code's tracking of repeated commands now records which agent ran each one, so repeats across the main agent and subagents are noted

Unclear It is unclear whether Claude Code shows anything to you when it detects such a repeat.

Details 0 0 Feedback
2 entries hereSystem Prompt · none marked notable
·Internal
Under the hood
Useful1 Signal3
System Prompt unclear

The Machines part of Claude's instructions now has an extra condition#

The Machines section of Claude's standing instructions now appears only when two conditions both hold, instead of one

Unclear What the two checks test is not stated, so who still gets the Machines section is unknown.

Details 0 0 Feedback
2 entries hereTeammates · none marked notable
·Internal
Under the hood
Useful1 Signal2
Teammates unclear

Some teammate messages are now held back before a teammate shuts down#

Claude Code now checks a teammate's messages before running shutdown steps, holds some in the queue, and fixes the step that closes a teammate's pane

Unclear It is not clear which teammate messages the new check holds back.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal1
Teammates unclear

Cleanup of teammate inbox folders now removes some folders entirely#

The cleanup pass for teammate inboxes now deletes teammate folders whose names match a certain pattern, not only their inboxes

Unclear Which teammate folder names cause a folder to be removed is not stated.

Details 0 0 Feedback
2 entries hereWeb Fetch · none marked notable
·Internal
Under the hood
Useful1 Signal3
Web Fetch unclear

WebFetch requests can now carry an auto mode clearance marker#

The request WebFetch sends to its fetching service can now include an auto_mode_server_cleared marker set to true

Unclear When Claude Code adds this marker, and what the fetching service does differently because of it, is not stated.

Details 0 0 Feedback
2 entries hereWindows · none marked notable
4 entries here

Removedopen

−Removed
You'll notice
Useful1 Signal1
File Tools

"Unchanged since last read" notice no longer shown#

Claude Code no longer shows the faint "Unchanged since last read" or "Already in context" line when it rereads an unchanged file

Details 0 0 Feedback
Verbatim
Official · Anthropic

Anthropic’s official release notes

Published verbatim by Anthropic for v2.1.317. Text is unmodified from the upstream changelog. Everything else on this page came out of the bundle instead, which is why the two lists don't match.

Of these 87 bullets, 14 name something an entry on this page also names, 26 name something no entry here does, and 47 name nothing specific enough to line up either way. The pairings are made on names both sides wrote down, a flag or a setting or a slash command, so read one as probably the same thing rather than as a fact, and read the middle number as candidates rather than as a miss count.

  • Added a warning to /schedule when a new cloud scheduled task gets connectors you did not ask for, with how to remove them No entry names this
  • Added a check that asks before a web or shell tool call sends your account email address to the network Nothing to match on
  • Added onFailure: "block" for Agent SDK hook callbacks, so a callback that fails blocks the action instead of letting it run No entry names this
  • Added a notice in Claude Desktop's Code tab when your organization's remote managed settings haven't loaded for the session, and another once they do Nothing to match on
  • Added a notice when auto mode's check has no answer for a subagent's tool call, which used to leave nothing in the main view Nothing to match on
  • Added anthropic.plan, anthropic.seat_type, anthropic.provider and anthropic.custom_base_url to OTel metrics, events and spans No entry names this
  • Added a cost report to the Claude apps gateway admin API, GET /v1/organizations/analytics/cost, for reading past spend over a date range in total, per developer, per day or per IdP group No entry names this
  • Added a daily record of each developer's IdP groups on Claude apps gateways with admin: set, kept for admin.identity_retention_days, which the cost report groups by No entry names this
  • Added CLAUDE_CODE_DISABLE_NESTED_SESSION_ID: set it to 1 on a self-hosted runner to have claude -p run inside a session use that session's ID and transcript, as in earlier versions Probably new-session-writes-lost-system-message-and-full-disk-exit-ha, nested-session-id-opt-out-env-var-added
  • Fixed project and local MCP servers disconnecting after the first turn in some Claude desktop sessions Nothing to match on #104895[Desktop] Project and local MCP servers are torn down at the first turn end of sessions claimed from a pre-warmed spare Open #106820[Desktop] Project .mcp.json server removed from a running Code session after the app reconciles its MCP servers Open #104833MCP servers from project/local scope removed on 2nd message in sessions opened from a pre-warmed "spare" (Desktop, Windows) Duplicate #105924Claude Desktop (Code tab): MCP connections made for a new session's first turn are silently torn down when that turn ends Open
  • Fixed auto mode failing every turn when an LLM gateway set as the base URL answers 403 or 422 to its server-side safety check (a 403 with an apiKeyHelper is unchanged) Nothing to match on
  • Fixed claude auth status exiting before a slow token refresh was saved, which could sign you out on the next run No entry names this #95822Short-lived commands (`claude auth status`, `claude --bg …`) start an OAuth refresh at init and exit without saving it, leaving the profile with a spent refresh token Open
  • Fixed a project's effortLevel setting being ignored by sessions that an app starts ahead of time and then opens in the project, such as new sessions in the desktop app's Code tab No entry names this #104336[BUG] Desktop app (Windows): Code-tab sessions sometimes start at Medium effort, ignoring the High pick and the project's effortLevel Open #93735Project-scope effortLevel in .claude/settings.json is never applied in desktop-app (Code tab) sessions; effective effort varies per session with no settings change Open
  • Fixed claude --from-pr reporting "No conversations found" in projects with many sessions when the linked session was older than the first page No entry names this
  • Fixed the second of two simultaneous permission prompts showing no file path or command on claude.ai and the mobile apps Nothing to match on
  • Fixed Remote Control and SDK hosts offering "don't ask again" on a mod's tool calls No entry names this
  • Fixed session titles being lost in cloud and SDK sessions when a new message or Stop arrived while the title was generating Nothing to match on
  • Fixed self-paced /loop wakeups sometimes not being scheduled when Claude left a field out of its request No entry names this
  • Fixed auto mode in cloud sessions stopping for approval when the Artifact tool uploaded, wrote to a database or saved a file through the outputs folder Nothing to match on
  • Fixed skills synced from claude.ai being lost or downloaded again every ten minutes when they can't be written to disk Nothing to match on
  • Fixed /schedule leaving a cloud scheduled task's next run time and link out of its results after creating or updating it No entry names this
  • Fixed screen readers speaking a running subagent's elapsed time and token count on every change in screen reader mode Nothing to match on #105382Running subagents fill NVDA speech with token counts in screen reader mode Open
  • Fixed a region or network block (HTTP 403) being shown as a sign-in failure; the error now explains the block Nothing to match on
  • Fixed Claude saying a working claude.ai connector needed authorization or had failed in cloud sessions when a synced plugin included the same server Nothing to match on
  • Fixed claude -p exiting 0 when a full disk or quota lost its transcript or ~/.claude.json writes; it now prints an error and, in text and json output, exits 1. Full NFS exports may be missed Probably new-session-writes-lost-system-message-and-full-disk-exit-ha
  • Fixed edits to settings files made in the first second or so after launch not taking effect until a settings file changed again Nothing to match on
  • Fixed old transcripts not being cleaned up on machines where some runs skip cleanup, such as runs using --setting-sources Probably added-folder-plugins-follow-setting-sources, runner-passes-empty-setting-sources-when-the-arg-is-explic
  • Fixed deleted agent team inboxes being re-created by a teammate's late message Nothing to match on
  • Fixed a re-created agent teammate being removed from its team by an earlier shutdown approval Nothing to match on
  • Fixed stored scheduled tasks being impossible to list or delete after scheduled tasks were turned off Nothing to match on
  • Fixed Claude deleting your most recently updated /team-onboarding guide when asked to delete one without naming which No entry names this
  • Fixed Claude saying a /team-onboarding guide was deleted when the server refused the delete No entry names this
  • Fixed the Claude apps gateway hiding Amazon Bedrock's "Input is too long." error, which left sessions failing every turn with "upstream rejected the request" instead of compacting Probably cloud-gateway-guidance-relay-bedrock-input-is-too-long
  • Fixed self-hosted runner sessions losing recent turns or the whole conversation when restarted while a plan waited for approval Nothing to match on
  • Fixed "Prompt is too long" after automatic compaction in sessions whose very large CLAUDE.md changed since it was last sent No entry names this
  • Fixed high memory use and slow startup in headless sessions with many plugins that register commands Nothing to match on
  • Fixed stdio MCP servers receiving an empty AWS_BEARER_TOKEN_BEDROCK when their env config sets it to empty; the variable is now unset, so the server can use the machine's own AWS credentials No entry names this
  • Fixed API requests failing with "unable to get local issuer certificate" behind some TLS-inspecting proxies after a root certificate renewal No entry names this
  • Fixed very long conversations losing their earlier summary when compaction had to shorten its own request Nothing to match on
  • Fixed a PDF's own metadata being able to make Read and @-mentions under-count its pages Nothing to match on
  • Fixed DISABLE_PROMPT_CACHING_OPUS and DISABLE_PROMPT_CACHING_SONNET having no effect on [1m], other-region and undated spellings of the default model Probably prompt-caching-disable-env-vars-now-compare-models-by-identi
  • Fixed /artifacts and the Artifact tool's shared list showing no shared artifacts when you have 200 or more of your own Probably get-artifacts-route-added-to-an-allow-list
  • Fixed Claude treating partial Grep and Glob results as complete when a search hit its time limit Nothing to match on
  • Fixed OpenTelemetry exports to an https:// endpoint through a proxy never being sent when they started while another export was still in progress Probably only-https-origins-accepted-for-url-origin-helper, fetching-the-servers-certificate-chain-to-repair-tls-verifi
  • Fixed a flood of connection attempts to a proxy that blocks (HTTP 403) OpenTelemetry exports to an http:// endpoint No entry names this
  • Fixed OpenTelemetry exports hanging indefinitely behind a proxy that never answers; they now time out after 10 seconds, or OTEL_EXPORTER_OTLP_TIMEOUT up to 30 seconds Probably otlp-proxy-tunnel-agent-and-timeouts
  • Fixed resumed sessions telling Claude again about a file change it already knew about Nothing to match on
  • Fixed Claude sometimes not using a built-in tool in a resumed session after an earlier call failed because the tool was switched off Nothing to match on
  • Fixed /remote-control answering "Unknown command" instead of saying that Remote Control is turned off by the disableRemoteControl setting Probably remote-control-status-message-drops-upgradenudge, remote-control-slash-command-can-be-blocked-by-managed-polic
  • Fixed agent team teammates in tmux or iTerm2 panes starting in auto mode when the lead session was in manual mode Nothing to match on
  • Fixed a background session sometimes losing a just-made change of permission mode when it was upgraded or retired Nothing to match on
  • Fixed Ctrl+C stopping all running background agents when pressed to clear typed text at the prompt Nothing to match on #95081Ctrl+C intended to clear the prompt input killed 6 running background agents (no confirmation) Open #98762Gate the idle Ctrl+C "stop all background agents" behind the existing two-press confirmation, or make it opt-out Open
  • Fixed /feedback showing "Enter to confirm" while a report is being sent No entry names this
  • Fixed child processes of a stopped shell command sometimes being sent SIGTERM twice, which could make some programs skip their cleanup Nothing to match on
  • Fixed claude -p run inside a cloud or self-hosted runner session sharing that session's ID: it wrote into the session's transcript, and a restart could resume the wrong conversation Probably new-session-writes-lost-system-message-and-full-disk-exit-ha
  • Fixed claude -p run inside a cloud or self-hosted runner session generating a title of its own and sending it to that session Probably new-session-writes-lost-system-message-and-full-disk-exit-ha
  • Improved the error shown on Microsoft Foundry when Azure credentials can't be loaded: it now says to check or refresh them, and reports as cloud_credential_error No entry names this
  • Improved /design-sync to say up front when your design system has moved to Claude, and stop before building instead of failing at upload Probably design-sync-messages-for-design-systems-that-moved-to-claud
  • Improved the startup error when a required Claude apps gateway can't be reached: it points to the network instead of a sign-in, and says when the gateway's TLS certificate can't be verified Nothing to match on
  • Improved the "Resume this session with" hint shown at exit to repeat the flags you launched with (for example --chrome --debug) ahead of --resume Probably resume-hint-can-include-launch-flags-file-writes-gain-creat
  • Improved how self-hosted runners recover from server errors: after a 5xx other than 501 or 529, a runner's next poll now opens a new connection instead of reusing the one that failed Nothing to match on
  • Improved how self-hosted runner sessions recover from server errors: after a 5xx other than 501 or 529, a session now opens new connections instead of reusing the one that failed Nothing to match on
  • Improved how self-hosted runner sessions recover when connections stop answering: after a heartbeat gets no answer, a session now opens new connections instead of trying each idle one in turn Nothing to match on
  • Changed SendMessage so a message to a running background agent arrives earlier: its running command moves to the background, without being stopped Nothing to match on
  • Changed subagents and teammates on a different model from the main conversation to use that model's saved effort level or its default, instead of the session's effort level Nothing to match on
  • Changed exit to skip the "Background work is running" prompt for plugin monitors No entry names this
  • Changed the built-in plugin-authoring skill to offer once, after a mod you built works, to help share the mod No entry names this
  • Removed the Read tool's "file unchanged since your last Read" stub: reading an unchanged file again returns its content No entry names this
  • Windows: Fixed every tool call being refused on some volumes where the native path lookup fails; the working-directory check now compares the folder's identity instead Nothing to match on
  • Windows: Fixed the session scratchpad and other temporary paths growing with your project's path length in sessions not started by Claude Desktop, which made repositories cloned into them hit the 260-character path limit Nothing to match on
  • Gateway: Fixed the status line and /usage showing a developer's own spend limit as 100% used after their group's pooled budget ran out No entry names this
  • Self-hosted runner: Fixed Claude not seeing the interrupted tool call when a session moves to a new runner and the turn is older than CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS No entry names this
  • Self-hosted runner: Fixed an MCP server that was switched off coming back on after the session moved to a new machine, when the session service had refused to save the switch Nothing to match on
  • Remote Control: Improved fork names when the app doesn't set one: a long name keeps its "(fork)" ending, and in sessions started with claude remote-control a fork of "Name (fork)" is "Name (fork 2)" Probably fork-name-fallback-for-session-titles-removed
  • [VSCode] Fixed forked conversations dropping messages: only one of the tool calls Claude ran in parallel was kept, and the last messages a compaction kept were lost, which could leave Claude's answer without the question it answered Nothing to match on
  • [VSCode] Fixed a message being lost when Claude did not finish starting in time: the extension now starts Claude once more before showing the error Nothing to match on
  • [VSCode] Fixed the sign-in screen opening when a request is blocked for its region or network Nothing to match on
  • [VSCode] Fixed the Account panel showing the plan name with a lower-cased second word Nothing to match on
  • [VSCode] Fixed file links in a Claude tab opening on top of the chat instead of in another editor group Nothing to match on
  • [VSCode] Fixed attachment chips, menus, banners and dialogs in the Claude panel staying small when chat.fontSize is raised No entry names this
  • [VSCode] Fixed ultrathink not raising effort for its turn or showing its rainbow when telemetry is off Nothing to match on
  • [Cloud sessions] Added a link card to cloud sessions, so you can open or decline a link an MCP server asks you to visit instead of the request going unseen Nothing to match on
  • [Cloud sessions] Changed the organization environment dialog in admin settings to the personal dialogs' short layout: each section opens from a row, and unsaved input asks before closing Nothing to match on
  • [Cloud sessions] Fixed adding a network secret for a host that already has one silently replacing it; the Add secret form now refuses and points you to the existing secret Nothing to match on
  • [Cloud sessions] Fixed new scheduled tasks ignoring your organization's default environment: the form now starts on the one an admin chose instead of the Anthropic-hosted default Nothing to match on
  • [Remote Control] Fixed the next message to an idle session going unanswered after you restart claude remote-control, when you sent it within a minute of your previous message No entry names this
  • [Claude Tag] Changed newly pasted artifact links in Slack to show a simpler card with an Open button that opens the artifact in Claude, instead of Slack's side panel Nothing to match on

A model matched these bullets to the GitHub issues they fix, so a link can be wrong.

System prompt

1 prompt changed.

Claude Code, interactive mode

6 prompt changes in this release could not be quoted from the build, so no entry on this page describes them.

Documentation

What the docs did around this release

263 documentation changes were recorded within 24 hours either side of this release, nearest first. The closest 12 are below. They're here because they happened near this release in time. That's not a claim that this release caused the edit, or that the page documents anything in it.

Switches

Every name in this release

The 69 literal strings found in the bundle, with the number of entries that name each one. Picking one searches for it. A name is here because this build's code mentions it, which is not the same as it working or being finished.

Slash commands

CLI flags

Environment variables

Settings and names in the code

Feedback