Source Intelligence
Reading a new release v2.1.251 Analysing changes · 2/5 Sorting the findings · 1/4 steps 470 findings $18.91 so far

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.179 Home All releases olderv2.1.178 v2.1.181newer
Claude Code v2.1.179

CLAUDE_CODE_OTEL_DIAG_STDERR Environment Variable

What

When set, OpenTelemetry diagnostic errors are written directly to stderr in addition to the internal debug log. Useful when debugging custom telemetry or OTEL integrations.

Usage
CLAUDE_CODE_OTEL_DIAG_STDERR=1 claude
# OTEL errors now appear on stderr prefixed with "[3P telemetry] OTEL diag error:"
Details
  • Without this flag, OTEL errors only appear in the internal log (visible via /debug)
  • With the flag, errors are also streamed to process.stderr immediately
  • The flag is stripped before spawning subprocesses so it doesn't leak
Evidence

New stderr path (search for "CLAUDE_CODE_OTEL_DIAG_STDERR")

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