Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.251 Home All releases olderv2.1.250
Claude Code v2.1.251

Reattaching a remote session with a host-supplied credential

Under the hood
Useful2 Signal4
Sessions

A remote host can hand Claude Code a pre-minted secret to reattach without an OAuth round trip.

What

When Claude Code starts under a remote host and is given a pre-minted "work secret", it now attaches to an existing session directly using that secret instead of minting credentials through the usual OAuth flow. This only happens when the host supplies one and there is a session to reattach to.

Details
  • Active only when a work secret is passed to the remote-bridge REPL init; otherwise the normal credential mint runs unchanged.
  • No target session to reattach to, or a secret the server rejects, is a hard failure reported as "work secret rejected" rather than a silent fallback.
Evidence

Attaching ${R} with the host's work secret (worker-credential path)

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.251 →