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.235 Home All releases olderv2.1.234 v2.1.236newer
Claude Code v2.1.235

Bad messages from a worker or remote session no longer take the client down

You'll notice
Useful3 Signal2
Sessions

A malformed message from a worker or remote session is dropped instead of crashing your client.

What

Three guards land together so a malformed or handler-crashing message is dropped rather than crashing or producing an empty error.

Details
  • A worker control response with a non-string or unrecognized error now yields a described Error instead of Error(undefined)
  • Every incoming message in the SDK and sessions client goes through a wrapper that catches handler exceptions, logs the dropped message's type and subtype, continues, and reports remote_connect_frame_handler_threw
  • Thin-client control replies are validated against their schema; a mismatch returns null and logs the first schema problem instead of the payload being trusted
  • History prefetch converts each message in its own try/catch and skips the ones that fail
Evidence

Malformed control_response from worker

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