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.248 Home All releases olderv2.1.247 v2.1.250newer
Claude Code v2.1.248

Module initialisation moved from first use to startup

You'll notice
Useful3 Signal2
Bundling

Nearly all modules now load their code at startup instead of on first use, shifting timing.

What

Almost every internal module used to have its top-level code wrapped in a deferred initialiser that ran the first time something imported it. Those wrappers drop from 5815 to 105 in this build, and the bodies are now plain top-level code. Work that used to happen on first call now happens during process load.

Details
  • Affects constant tables, regexes, embedded asset reads, schema definitions and lazily built singletons.
  • Many diff hunks that look like "a function became a constant" are just an empty placeholder stub being replaced by the real value.
Evidence

var It = ["managedSourcesBehavior", "wslInheritsWindowsSettings"];

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