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
70 entries here

Internal Changesopen

Continued from page 2

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

5 entries hereSessions · none marked notable
·Internal
Under the hood
Useful2 Signal2
Sessions unclear

Server settings can now include a maximum message size#

A settings object sent by the server can now include a maximum message size, which is ignored when the value is not valid

Unclear It is not clear what this limit applies to or whether anything uses it yet.

Details 0 0 Feedback
2 entries hereUsage & Limits · none marked notable
4 entries hereGit · none marked notable
·Internal
Under the hood
Useful1 Signal2
Git unclear

Change summaries can be worked out without running git#

Under some conditions, Claude Code now works out file changes itself instead of running git, and ignores checkouts that are not local absolute paths

Unclear It is not known what conditions turn on the git-free path or the checkout filtering, so it is unclear who is affected.

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

Git commands now start from the top of the filesystem#

When Claude Code runs git with its cleaned-up settings, it now sets one more variable and starts git from the filesystem's root folder

Unclear What the added variable does is not clear.

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

Content read through git is checked before being returned as text#

When Claude Code reads output from git, it now checks the raw bytes and returns nothing if they fail, instead of the output as it came

Unclear What the check looks for, and so which files now come back empty, is not known.

Details 0 0 Feedback
3 entries hereTelemetry · none marked notable
3 entries hereElsewhere · none marked notable
·Internal
Under the hood
Useful1 Signal2
Elsewhere unclear

Windows process lookup through an internal Bun feature#

On Windows, Claude Code can list running processes through a feature only found in internal builds of the Bun runtime

Unclear Whether the public build of Claude Code provides this Bun feature is not clear.

Details 0 0 Feedback
3 entries hereMessage Queue · none marked notable
·Internal
Under the hood
Useful2 Signal2
Message Queue unclear

Stopping a turn now passes the cancel-queued choice along#

When a turn is stopped locally or cancelled remotely, Claude Code now runs an extra step that uses the cancelQueued option and the message queue

Unclear It is unclear what this step does to the waiting messages.

Details 0 0 Feedback
3 entries herePermissions · none marked notable
·Internal
Under the hood
Useful2 Signal3
Permissions unclear

Approval decisions now name who is meant to approve#

The step that decides whether an approval request becomes a refusal now names the approver: the host, a person, or nobody

Unclear Whether this changes which requests are refused in runs where no one can answer a prompt is not settled.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal1
Permissions

Permission decision records drop the decider field#

Records of permission decisions no longer include a decider field, and a decision made by a person now sets a plugin field instead

Details 0 0 Feedback
3 entries hereRemote Control · none marked notable
·Internal
Under the hood
Useful1 Signal3
Remote Control unclear

Laptop polling now stops when an emergency off is in force#

When an emergency off is in force, Claude Code stops polling from the laptop unless the call overrides it

Unclear What the laptop is polling for is not stated.

Details 0 0 Feedback
3 entries hereSession Transcripts · none marked notable
·Internal
Under the hood
Useful1 Signal2
Session Transcripts unclear

Change to how progress entries are recorded when running without an interface#

When Claude Code streams JSON output, progress and attachment entries are now kept as provisional copies and finalised at set points

Unclear It is not shown whether this changes anything a user sees in the output or the transcript.

Details 0 0 Feedback
3 entries hereTerminal UI · none marked notable
2 entries hereAuth · none marked notable
·Internal
Under the hood
Useful2 Signal3
Auth unclear

Startup can run a sign-in step for launcher-started sessions#

Claude Code's startup can now run and wait on a sign-in step for sessions started by a launcher

Unclear What triggers this sign-in step and what it does for the person signing in is not known.

Details 0 0 Feedback
2 entries hereAuto Mode · none marked notable
2 entries hereNetwork · none marked notable
·Internal
Under the hood
Useful1 Signal0
Network unclear

TLS setting handling and a sandbox uninstall message reworked#

NODE_TLS_REJECT_UNAUTHORIZED is no longer named directly in two variable lists, and a message now says to run claude sandbox uninstall again

Unclear Whether NODE_TLS_REJECT_UNAUTHORIZED is still covered by the replacement list is not stated.

Details 0 0 Feedback
2 entries herePlugins · none marked notable
·Internal
Under the hood
Useful2 Signal3
Plugins unclear

Plugin sync recognizes plugins that hold only a single skill#

Plugin sync now spots plugins whose only content is one skill named after the plugin, and keeps a separate list of followed plugins

Unclear What sync does differently with single-skill plugins, and what a following plugin is, is not stated.

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

Plugin sync has one more reason to leave out an MCP server#

When syncing plugins, Claude Code now has an extra condition under which it leaves a plugin's MCP server out

Unclear The two extra checks that cause a server to be left out are not identified.

Details 0 0 Feedback
2 entries hereRemote Tools · none marked notable
·Internal
Under the hood
Useful2 Signal3
Remote Tools unclear

A remote-tools switch now falls back to on#

A server-controlled switch beside the remote-tools switches now defaults to on when the server sends no value, instead of off

Unclear Nothing shows what this switch controls, so what changes when it is on is unknown.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal2
Remote Tools unclear

Tool-server connections now identify themselves to the server#

When Claude Code connects as a tool server, its connection now sends the header x-tunnel-peer: tool-server

Unclear It is not stated how the tool-server option is switched on.

Details 0 0 Feedback
2 entries hereSandbox · none marked notable
·Internal
Under the hood
Useful1 Signal1
Sandbox unclear

Bash sandbox retry guidance gains extra wording after the domain list#

The Bash tool's guidance for retrying a command blocked by the sandbox now adds a further phrase after the allowed_domains instruction

Unclear The wording of the added text is not known, so it is unclear how Claude's retry advice changes.

Details 0 0 Feedback
2 entries hereSkills · none marked notable
·Internal
Under the hood
Useful1 Signal1
Skills unclear

Shell commands inside plugin skills now carry the plugin's name#

When a skill runs a shell command written into it, Claude Code now passes along which plugin the skill came from

Unclear Whether the plugin's identity changes which of these shell commands need your permission is not clear.

Details 0 0 Feedback
2 entries hereSubagents · none marked notable
5 entries here

Removedopen

−Removed
Under the hood
Useful1 Signal1
Sessions unclear

Remote-session permission handoff drops a stored answer and a usage report#

Claude Code no longer keeps a stored permission answer when a remote session hands a turn over, and stops sending a related usage report

Unclear It is unclear whether removing the stored permission answer changes anything you can see in a remote session.

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