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.239 Home All releases olderv2.1.238 v2.1.240newer
Claude Code v2.1.239

OAuth refresh now takes the credential store as an argument

Under the hood
Useful1 Signal2
Auth

Token refresh now receives the credential store instead of looking it up, and de-duplicates by store type.

What

The token refresh entry point accepts the credential store and storage handle rather than looking them up, and de-duplicates concurrent refreshes separately for bare credentials versus store-backed ones. The store module existed before but was mostly reached ambiently.

Details
  • The same value now rides through request options objects, tool-use contexts, agent and query options, MCP login and logout handlers, UI contexts, and bridge/cowork session creation and background-exit paths.
  • This is why so many function signatures grew a trailing argument in this build.
Evidence

tryCreateCredentialsStore

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.239 →