Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
TelemetryArea: what it touches
Internal ChangesKind: in v2.1.321,
Internal ChangesSection of the release
What
When Claude Code is driven by another program and fed input as a stream, malformed input makes it exit. It now records that exit before shutting down. Before, it only printed an error.
Why
This gives more diagnostic information when Claude Code fails in headless or SDK use, meaning runs with no interactive screen.