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 v0.2.45 Home All releases olderv0.2.44 v0.2.46newer
Claude Code v0.2.45

The new O41() function handles the environment variable parsing:

function O41() {
  let I = process.env.CLAUDE_CODE_EXTRA_BODY;
  if (!I) return {};
  try {
    let G = wO(I); // JSON parse wrapper
    if (G && typeof G === "object" && !Array.isArray(G)) return G;
    return (console.error("CLAUDE_CODE_EXTRA_BODY must be a JSON object"), {});
  } catch (G) {
    return (
      console.error(
        `Error parsing CLAUDE_CODE_EXTRA_BODY: ${G instanceof Error ? G.message : String(G)}`,
      ),
      {}
    );
  }
}

This function is likely called during API request construction to merge custom parameters with default request bodies.

See this entry in the whole of v0.2.45 →