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
Print mode runs Claude Code once without the interactive screen. Exits from print mode now carry a reason, not only a number. Reasons include:
no_input
invalid_flags
rewind_files_failed
last_turn_failed
writes_lost_to_full_disk
auto_mode_unchecked_refusals
When Claude Code cannot change into a worktree folder at startup, the error text is now recorded too. A worktree is a separate checkout of a repository in another folder.
Why
This is for diagnosing failures. What you see when Claude Code exits does not change.