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
26 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.

+New
You'll notice
Useful4 Signal5
Usage & Limits Notable

Notice about Fable usage credit for two periods#

Claude Code has a new notice stating your dollar amount of Fable usage for each of two periods, and that unused credit doesn't carry over

Details 0 0 Feedback
+New
Use it now
Useful3 Signal4
Group of 5 Claude Test no docs found unclear

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

Unclear It is not known which plugin provides this tool or whether it is available to anyone outside Anthropic.

Details 0 0 Feedback
claude_test_write
↑Improved
You'll notice
Useful3 Signal4
Group of 4 System Prompt unclear

Auto mode can tell Claude to finish work the task exposed#

A new finishExposedWork auto-mode option asks Claude to run checks and fix what the task exposed, and denied commands are now recorded

Unclear It is not known what turns this block of instructions on, or for whom.

Details 0 0 Feedback
↑Improved
You'll notice
Useful4 Signal4
Subagents unclear

Background agent summaries can be written by a separate model#

Short summaries of background agents can now come from a different writer model, set by the server, when the agent runs on fable or opus

Unclear Which writer model, if any, the server names is not known.

Details 0 0 Feedback
+New
Use it now
Useful4 Signal3
Agents unclear

SDK gains new control requests and session flags#

The SDK protocol gains three control request types, three new session flags and a new unsupported_runtime reason

Unclear What the new control requests and flags do is not stated.

Details 0 0 Feedback
·Internal
Under the hood
Useful2 Signal4
Device Bridge unclear

Device bridge prepares sandboxed running of its tools#

On start, the device bridge now sets up a place to run its tools and says whether the sandbox is currently required

Unclear It is not clear whether device bridge tools actually run in the sandbox yet.

Details 0 0 Feedback
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.

135 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 Signal2
Group of 4 MCP unclear

MCP connections report sleep, clock changes and a locked credential store#

MCP server connections now recognise a sleep or clock change during connecting and retry, and report when stored credentials cannot be read

Unclear It is unclear whether the message and the retry are switched on for everyone or only where a remotely controlled setting allows them.

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
Useful3 Signal3
MCP unclear

Tools served over MCP can respect a repository's permission rules#

When Claude Code serves its tools to another app over MCP, it can apply the repository's permission rules and refuse calls if they cannot be read

Unclear It is not clear which apps send the request that turns on this check.

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
Useful2 Signal3
Subagents unclear

A different check now decides who sees the 'Do not spawn agents' guidance#

The Agent tool's guidance against starting helper agents no longer depends on being on the Pro plan, and its 'when to use' text is reorganised

Unclear What the new check tests, and so which users now see the guidance, is not known.

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

A pending request in a Project thread can now survive compaction#

A standing request in a Project thread can now be carried across compaction, and the auto mode check handles more message patterns around replies

Unclear It is not clear which accounts have Project threads or what switches this behaviour on.

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

First-time setup step for the Windows sandbox#

The first time the Windows sandbox starts, Claude Code runs a setup check that may show an administrator prompt and can take a few minutes

Unclear It is unclear whether this setup runs for every Windows user who uses the sandbox or only in some setups.

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
Useful3 Signal2
Compaction unclear

Emergency compaction can now summarize the whole conversation#

When a prompt is too long, Claude Code's emergency compaction gains a mode that summarizes every turn and keeps none word for word

Unclear It is not clear when Claude Code switches to this mode.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal2
Usage & Limits unclear

Asking your admin for usage credits can unblock you straight away#

If your admin's request for more usage comes back pre-approved, Claude Code shows your new limit and lets your next message go through

Unclear Whether the server ever sends back a pre-approved grant is not known.

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

Web fetch reports the date of stored page copies#

When a fetched page came from a stored copy, Claude is told to give that copy's date and not to fetch the page again for a newer one

Unclear It is unclear when a fetched page is served from a stored copy instead of the live site.

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
Compaction unclear

Reusing the cache before compaction no longer needs a one-hour cache#

The check for reusing cached conversation before compaction no longer requires a one-hour cache lifetime and still stops when the cache has lapsed

Unclear It is not clear what the earlier-computed reason checks, so whether reuse now happens with shorter cache lifetimes is unsettled.

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
Terminal UI unclear

Message picker can show a "stop waiting" option#

In some state, the message picker now shows a row where Esc means "stop waiting" instead of the usual list of choices

Unclear What puts the picker into this waiting state is not stated.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Usage & Limits unclear

Out-of-credits errors are now recognised as a usage limit#

Some out-of-credits errors that carry no HTTP status code are now recorded as a usage limit, not treated as a generic error

Unclear It is not clear exactly which errors and which accounts this new check applies to.

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
Useful3 Signal1
Compaction unclear

Auto-compact window is remembered per model when a session is resumed#

Each model's auto-compact window is now saved with the session and restored on resume, and the default window for a model has changed

Unclear The size limits and cap behind the new default window are not known, so it is unclear when compaction now starts for a given model.

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

Shell command checks treat assignment-style arguments to dd separately#

When checking a shell command before running it, Claude Code now handles assignment-style arguments to dd under a separate rule

Unclear Which commands besides dd are covered, and whether the new path check makes prompts more or less frequent, is not settled.

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

Two server-controlled checks tighten how shell commands are judged safe#

Two new server-controlled checks change how git command names are matched and add a stricter test for sed commands

Unclear Whether these checks are active, and whether they change which commands run without asking, is not established.

Details 0 0 Feedback
↑Improved
You'll notice
Useful1 Signal2
Slash Commands unclear

/output-style gets an extra condition for being shown and available#

/output-style now has an extra condition that decides whether it is available and shown, and a setting for thin clients

Unclear It is not stated what the added condition checks, so it is unclear when the command is available or hidden.

Details 0 0 Feedback
/output-style
↑Improved
You'll notice
Useful2 Signal1
MCP unclear

Sensitive answers to MCP server questions are hidden in debug logs#

When you answer a form from an MCP server, fields treated as sensitive are now shown as "[masked]" in the debug log, but the server still gets the real answer

Unclear It is unclear which fields count as sensitive.

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

Some sign-in 403 errors now show the server's own explanation#

In some cases a 403 sign-in failure now shows a shortened explanation from the server instead of a fixed message

Unclear Which setups get the detailed message is not known, though it may be gateway sign-in.

Details 0 0 Feedback

Continues on page 2 →

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