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.238 Home All releases olderv2.1.237 v2.1.239newer
Claude Code v2.1.238

Malformed SDK input frames are repaired or dropped instead of erroring, on remote transports

You'll notice
Useful2 Signal2
Elsewhere not in their notes

Odd or damaged input frames on remote connections are now fixed up or quietly dropped instead of erroring out.

CLAUDE_CODE_DISABLE_NESTED_USER_REPAIR
What

On a remote transport, a streaming input frame whose message role is not user no longer produces a parse error: a user message wrapped one level deep is unwrapped and used, and anything else is dropped and retired. A control_request missing its request object or with a non-string subtype is dropped too. Local transports keep the old error behaviour.

Details
  • New telemetry tengu_sdk_malformed_input carries message_type, reason, transport and outcome, where outcome is one of dropped, unwrap_refused, repair_disabled or repaired.
  • CLAUDE_CODE_DISABLE_NESTED_USER_REPAIR turns the unwrap off; it is a boolean env var and is unset by default, so repair is on wherever the remote path runs, and disabling it reports repair_disabled.
Evidence

Repaired a nested user message (one level), Dropping control_request: missing request object or non-string subtype

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