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 →
21 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
2 entries here

What probably matters to you

Anything you can use today, anything that visibly changes, and anything worth poking at. One line each, open for detail.

Were these the right ones to put at the top? 0 answered
Below the fold

Everything else

Smaller changes and internals, grouped as the pipeline found them. Nothing is dropped, it is only further down.

18 entries here

Improvementsopen

10 more of these are in What probably matters to you, above.

↑Improved
You'll notice
Useful3 Signal3
Group of 4 Chrome & Browser unclear

Claude in Chrome file uploads gain a hosted path and a size limit#

Claude in Chrome's file_upload can now work through a hosted session with a byte limit, and MCP retries skip calls that may already have run

Unclear Which setups count as hosted is not stated, so it is unclear in which remote sessions file uploads are now allowed.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal3
Context Window unclear

Context window size is worked out differently, and [1m] handling was removed#

A model's context window is now the smaller of its stated window and a per-model value, and model names ending in [1m] are no longer handled

Unclear Whether a model name ending in [1m] still gives a larger window is not settled.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal3
Environment Variables unclear

Some environment values can only come from Claude Code's starting environment#

Claude Code now refuses some changes to environment values, keeping them unless they came from its starting environment or from itself

Unclear Which environment variables this applies to, and what triggers the message, is not clear.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal2
Permissions unclear

Denying a tool no longer ends the turn#

Claude Code removed the rule that ended the turn when a tool was denied, so only an interrupt or a rewind now ends a cut-off turn

Unclear It is unclear what Claude does after a tool is denied now that the turn does not end.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Plugins unclear

Plugin permission prompts are refused when nobody can answer them#

If a plugin asks for a permission and nobody is available to approve it, Claude Code now refuses the request

Unclear It is unclear exactly when Claude Code treats nobody as available to approve.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Elsewhere unclear

Unknown models no longer fall back to a one-million-token context window#

Looking up a model's context window no longer falls back to one million tokens when the model is not recognised

Unclear Whether an unrecognised model still gets a default context window from somewhere else is not established.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Hooks unclear

Hooks can no longer set some environment variables#

A hook's $.env.set is now refused for variables that only the starting environment or Claude Code itself may set

Unclear It is not stated which variables count as ones only the starting environment or Claude Code may set.

Details 0 0 Feedback
↑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
Self-Hosted Runner unclear

Self-hosted runner checkout hooks now have a time limit#

On a self-hosted runner, the checkout hook now runs with a time limit, using a built-in default when none is set

Unclear It is unclear whether you can set the checkout hook timeout yourself through a flag, setting or environment variable.

Details 0 0 Feedback
1 entry here

Removedopen

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

1267 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