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 →
40 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
9 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.

↑Improved
You'll notice
Useful3 Signal4
Google Cloud

Workspace setups get a default server address#

A workspace configuration with no base_url now uses a default claude.googleapis.com address built from its project, location and workspace

Details 0 0 Feedback
base_url
+New
Use it now
Useful4 Signal3
Self-Hosted Runner Notable unclear

A new hidden --runner-declares command-line flag#

Claude Code now recognises a hidden --runner-declares flag, listed beside flags used for launching sessions elsewhere

Unclear What --runner-declares does and whether it is meant for people to type is not known.

Details 0 0 Feedback
+New
Use it now
Useful4 Signal2
Self-Hosted Runner Notable unclear

Self-hosted runner checkout hooks can time out and are stopped cleanly#

The self-hosted runner's checkout hook can now be given a time limit with --checkout-hook-timeout-min, and is stopped when it runs over

Unclear Whether there is a default time limit when --checkout-hook-timeout-min is not set is not settled.

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.

21 entries here

Improvementsopen

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

↑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
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 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
↑Improved
You'll notice
Useful1 Signal1
Self-Hosted Runner

Runner certificate errors now mention a deny-list check#

When the runner cannot write its certificate bundle or find system certificates, the error now mentions a deny-list check and suggests --log-level debug

Details 0 0 Feedback
↑Improved
You'll notice
Useful1 Signal1
Managed Settings unclear

Managed settings sign-in failure points you to claude auth login#

When managed settings fail to load because of a sign-in problem, the message tells you to run claude auth login to sign in again

Unclear It is not known what condition decides whether this hint is shown, so some users may see a different hint.

Details 0 0 Feedback
claude auth login
1 entry here

Bug Fixesopen

9 entries here

Internal Changesopen

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

·Internal
Under the hood
Useful2 Signal3
Organizations unclear

"organization" is accepted as a scope value#

Claude Code now accepts "organization" as a scope value, alongside service, channel and group_pool

Unclear It is not clear what an "organization" scope applies to.

Details 0 0 Feedback
3 entries hereUsage & Limits · none marked notable
2 entries hereTelemetry · none marked notable
·Internal
Under the hood
Useful1 Signal1
Telemetry unclear

OpenTelemetry metrics export is set up a little differently#

When metrics are sent over OpenTelemetry by gRPC or HTTP protobuf, Claude Code now prepares an extra resource before creating the exporter

Unclear It is not known what the extra step does or whether exported metrics look any different.

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