You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HeadlessArea: what it touches
Bug FixesKind: in v2.1.330,
Bug FixesSection of the release
What
A headless session is one that runs without the interactive screen, for example from a script. When such a session shuts down, Claude Code now first writes out any results it is still holding. It waits up to 5 seconds for this before exiting.
Why
Results that were still being written when the session ended could previously be lost. Waiting briefly at shutdown keeps them.