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

Build reshaped: lazy module wrappers flattened, cross-module calls go through chunk requires

Under the hood
Useful1 Signal2
Elsewhere

The bundle was flattened and more code now sits behind opaque chunk boundaries.

What

Hundreds of lazily initialised module bodies are now plain top-level values, and several call sites reach other modules by requiring a numbered chunk file at runtime instead of an in-bundle handshake. Nothing changes for users, but more of the CLI's own code now sits behind chunk boundaries that are opaque to inspection.

Details
  • Flattened contents include schemas, sets, regexes, AWS and Bedrock service metadata, and slash-command descriptors.
  • Call sites now using a chunk require include the MCP resource prefetcher, safe git executable resolution, the brief-mode check and session id compatibility conversion.
Evidence

import.meta.require("/$bunfs/root/chunk-XXXXXXXX.js")

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 →