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.236 Home All releases olderv2.1.235 v2.1.237newer
Claude Code v2.1.236

An origin-normalising helper with nothing calling it

Under the hood
Useful1 Signal3
Internals

A strict URL-to-origin helper exists next to the claude.ai origin code, with nothing calling it.

An origin normaliser that upgrades websocket schemes and allows plain http only for loopback has no callers.

What

A new function beside the claude.ai origin resolver turns a URL into a bare scheme-and-host origin. It upgrades wss: to https:, allows ws: and http: only for loopback hosts (localhost, 127.0.0.1, ::1 or any 127.x.x.x address), and returns nothing if the URL carries credentials, a path, a query or a fragment.

Details
  • Its symbol appears only at its own definition in the bundle; nothing calls it.
  • The neighbouring origin-override hook that the resolver consults has a body of a bare return;, so it always yields nothing and the resolver always falls back to the configured CLAUDE_AI_ORIGIN.
  • Together these look like groundwork for a configurable or localhost artifact origin that nothing selects yet.
Evidence

"wss:"

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.236 →