Follow Discord

Claude Code v2.1.307

333 entries read Grouped into 276 v2.1.306 → v2.1.307 Mods API: +2 added · 1 removed · 4 changed · 4 docs only Markdown JSON Follow Unofficial

Claude Code can now use the claude.ai sign-in passed over by the desktop app that started it. That lent sign-in works like CLAUDE_CODE_OAUTH_TOKEN, but plugins cannot use it. You can turn it off by setting CLAUDE_CODE_DISABLE_LAUNCHER_SIGN_IN in the environment or in managed settings. On native Windows, the new claude sandbox uninstall command removes the sandbox account, group, stored password and network filters. Programs using the SDK can now list cloud sessions, fetch one and read its transcript. In VS Code, Team and Enterprise members who hit their spend limit can get a "Request more" button that notifies their admins.

Several features are in the build but not switched on yet. A list of subagents that ran earlier in a session appears only when CLAUDE_CODE_SUBAGENT_HISTORY is set or it is switched on remotely. Resuming an interrupted remote turn with CLAUDE_CODE_RESUME_INTERRUPTED_TURN can now queue an urgent reminder for Claude when something was left unresolved. A check for whether the macOS sandbox allows local test servers exists, but nothing uses it yet. A few new remote switches are registered with no visible purpose so far.

Among the fixes, MCP tool calls are no longer retried after a session expires unless they surely did not run or are safe to repeat. Through an HTTPS proxy, Claude Code now checks the certificate of the site it is reaching, not the proxy. Sandbox setup without a terminal now gives up 150 seconds after Claude Code started instead of waiting forever. A resumed subagent that the main conversation is waiting on now shows its permission prompts. CLAUDE_CODE_ADOPT_UNDERIVABLE_PARKED_PERMISSION is removed and no longer has any effect.

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

Five to try today

Picked from 19 you can use now
  1. Self-hosted runner gains nested-repository diffs, a way to ignore saved trust, and child updates

    Self-hosted runners get a --diff-finds-nested-repository mode, --runner-declares, CLAUDE_CODE_IGNORE_PERSISTED_TRUST and options to update the binary they launch

    Elsewhere
  2. SDK hosts can list and read cloud sessions and their transcripts

    New SDK requests list cloud sessions and fetch one session or its transcript, with clear refusals when they are not allowed

    Sessions & agents
  3. Claude Test gains a spec author agent, a draft-writing tool and a stricter explorer

    The bundled Claude Test plugin adds an author agent with a claude_test_write tool, limits its explorer and adds new helper messages

    Elsewhere
  4. Host-managed sessions can sign in with a token, including one handed over by the desktop app

    With CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST, a supplied OAuth token now wins over host management, and a new path accepts a sign-in token from the desktop app

    Permissions & safety
  5. A held variant of compact mode for auto mode, with an environment variable

    Auto mode gains a held variant of compact mode, chosen when CLAUDE_CODE_AUTO_MODE_THREAD_ASK_HELD is set or a server flag is on

    Sessions & agents

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

Read this release → Every row →
253 of 276 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

Improvementsopen

Continued from page 1

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

↑Improved
You'll notice
Useful2 Signal1
Sandbox unclear

Sandbox network exclusions now include private address ranges#

The sandbox's default list of excluded network addresses now also covers common private and carrier address ranges

Unclear Whether these addresses are now allowed to bypass the sandbox's network handling or are now blocked is not settled.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
MCP unclear

Clearer advice when an MCP server won't let Claude Code sign in#

When an MCP server rejects Claude Code's automatic sign-in registration, Claude Code now suggests concrete next steps instead of a bare error

Unclear It is not clear whether this advice is shown to every user or only under certain conditions.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Sandbox

More commands get the "Run outside of the sandbox" prompt#

When Claude asks to run a command outside the sandbox, a command that would have prompted you anyway now shows the "Run outside of the sandbox" prompt with its reason

Details 0 0 Feedback
dangerouslyDisableSandbox
12 entries here

Bug Fixesopen

✓Fixed
You'll notice
Useful1 Signal1
Agents unclear

Tool lists from SDK-provided MCP servers gain a fallback refresh#

For MCP servers supplied by the SDK, Claude Code now falls back on a tool-list refresh when its usual lookup returns nothing

Unclear What this changes for a user of SDK-provided MCP servers is not clear.

Details 0 0 Feedback
✓Fixed
You'll notice
Useful1 Signal0
File Reading unclear

Empty documents are no longer read as documents#

When Claude reads a file of the document kind, Claude Code now handles it as a document only if its content is not empty

Unclear It is not stated what Claude receives when it reads an empty document.

Details 0 0 Feedback
5 entries here

In Developmentopen

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

◌In dev
Nothing to try yet
Useful1 Signal2
Internals unclear

A switch for an unreleased feature is registered#

Claude Code registers a new remote switch whose purpose is not yet visible

Unclear What this switch controls is not known.

Details 0 0 Feedback
◌In dev
Nothing to try yet
Useful1 Signal2
Internals unclear

A new hidden switch for an unnamed feature#

Claude Code now checks a new remotely controlled switch that is off by default, and it is not yet clear what it controls

Unclear Nothing shows what this switch turns on or off.

Details 0 0 Feedback
70 entries here

Internal Changesopen

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

·Internal
Under the hood
Useful2 Signal3
Chrome & Browser unclear

A handler for reading Chrome uploads is registered#

Claude Code now registers a ReadChromeUpload handler next to the one for uploading task files

Unclear Nothing says how this handler is reached or whether it is available to anyone.

Details 0 0 Feedback
·Internal
Under the hood
Useful2 Signal2
Group of 2 Auto Mode unclear

Auto mode filters MCP allow rules and caps the allow-rule list#

Auto mode now trims MCP tool allow rules, removes duplicates and caps the list before sending it to the permission classifier

Unclear How many allow rules are kept before the cap applies is not known.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal2
Background Tasks unclear

Background tasks not started by you now go through the same handling#

Background tasks Claude Code starts on its own now take the same path as ones you started, with their source and output file passed along

Unclear It is not clear what this handling does for you, such as whether it shows a notice.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal1
Slash Commands unclear

/update is now listed as an action command#

Claude Code's grouping of slash commands now files /update under the "action" category

Unclear It is not clear whether a working /update command exists or is available to use in this release.

Details 0 0 Feedback
/update
5 entries hereAgents · none marked notable
·Internal
Under the hood
Useful3 Signal3
Agents unclear

Groundwork for reading cloud sessions from a controlling program#

Claude Code's control channel gains a way to ask for cloud session data, though nothing appears to use it yet

Unclear Nothing has been seen calling this request, so it may not be usable yet.

Details 0 0 Feedback
·Internal
Under the hood
Useful2 Signal3
Agents unclear

A new file-reading capability is offered only when policy allows it#

Claude Code can now offer a read_file as_written capability, but never to HIPAA organizations or before usage policy is known, and only when switched on

Unclear It is not clear what the read_file as_written capability lets a connected client do.

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

Input piped in stream-json format is now marked internally#

Claude Code now attaches a hidden marker to input it reads in stream-json format from standard input

Unclear What the marker changes in how Claude Code handles piped input is not known.

Details 0 0 Feedback
5 entries hereInternals · none marked notable
·Internal
Under the hood
Useful1 Signal2
Internals unclear

New remotely controlled switch that counts as on by default#

Claude Code gains a switch that counts as on unless the server turns it off while Claude Code points at a non-default host

Unclear What this switch turns on or off is not stated.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal2
Internals unclear

A new remotely controlled switch appears in Claude Code#

Claude Code now reads a new remotely controlled switch, and what it controls is not yet known

Unclear Which feature this switch controls is not known.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal2
Internals unclear

A server-controlled switch has a different built-in fallback value#

The value Claude Code uses for one server-controlled switch when the server sends nothing changed from a text label to the number 8

Unclear Nothing shows what this switch controls, so what the new fallback changes is unknown.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal0
Internals unclear

An experiment name was removed from a list#

The name lucky_cerf no longer appears in a list of names inside Claude Code

Unclear It is not clear what the list is used for, so the effect on users is unknown.

Details 0 0 Feedback

Continues on page 3 →

Verbatim
Official · Anthropic

Anthropic’s official release notes

Published verbatim by Anthropic for v2.1.307. 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 43 bullets, 7 name something an entry on this page also names, 17 name something no entry here does, and 19 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.

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

System prompt

1 of 29 tool descriptions changed.

Claude Code, interactive mode

Documentation

What the docs did around this release

1999 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 52 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