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.242 Home All releases olderv2.1.241 v2.1.243newer
Claude Code v2.1.242

CLAUDE_CODE_LEGACY_BUNDLE restores the old non-split bundle shape

Use it now
Useful4 Signal3
Bundle Notable not in their notes

Set CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape.

CLAUDE_CODE_LEGACY_BUNDLECLAUDE_CODE_DIR_SYNC_ENGINECLAUDE_CODE_DIR_SYNC_FFWD
What

The re-bundle that turned deferred loads into real dynamic imports comes with an opt-out: set CLAUDE_CODE_LEGACY_BUNDLE to true to get the old shape. It must be truthy, so unset means everyone gets the chunked build.

Details
  • The variable was added to the allowlist of environment variables forwarded to and inspected in child processes, next to CLAUDE_CODE_DIR_SYNC_ENGINE and CLAUDE_CODE_DIR_SYNC_FFWD.
  • Paths moved out of the main bundle include the event-loop stall detector and Google auth; much of the surrounding diff is renaming churn from the same re-bundle.
Evidence

CLAUDE_CODE_LEGACY_BUNDLE, startEventLoopStallDetector

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