Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.321 ·

Print mode and startup failures now record why Claude Code exited

When Claude Code exits early in print mode or at startup, it now records a reason, not only an exit code

Under the hood Internal Changes
JSON All of v2.1.321
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.

See this entry in the whole of v2.1.321 →

Feedback