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

Claude Code v0.2.45

2 entries read diff v0.2.44 → v0.2.45 Markdown
Find
Pick an entry · j / k steps through
3 entries

Changesopen

#

# Claude Code v0.2.45 Changelog

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

Environment Variable Support for API Customization#

Claude Code now supports a new environment variable CLAUDE_CODE_EXTRA_BODY that allows users to inject additional parameters into API requests.

Usage:

# Set custom API parameters as a JSON object
export CLAUDE_CODE_EXTRA_BODY='{"temperature": 0.8, "max_tokens": 4000}'
claude "Your prompt here"

This feature enables:

  • Customization of API request parameters without modifying code
  • Fine-tuning of Claude's response behavior (temperature, max tokens, etc.)
  • Advanced users to experiment with API options

Error Handling:

  • The value must be a valid JSON object (not an array or primitive)
  • Invalid JSON will be logged to stderr and ignored
  • Parsing errors are gracefully handled with descriptive error messages

Import Optimizations#

  • Switched from default imports to named imports for better tree-shaking:
  • stream module now uses import { Readable as o$4 }
  • node:process module now uses import { cwd as zw0 }
  • These changes may result in slightly smaller bundle sizes and improved load times

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

1 entry

Technical Detailsopen

#

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.

Verbatim
No official entry

Not individually listed upstream

v0.2.45 does not have its own entry in Anthropic’s official changelog, because prerelease builds are often folded into a neighbouring release. Browse the full changelog for the closest official notes. Everything else on this page came out of the bundle instead, which is why the two lists don't match.

System prompt

The system prompt was not captured for this release, so this page cannot say whether it moved.