Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.281,
Internal ChangesSection of the release
What
In print mode (running with -p) and when Claude Code is driven by another program (the SDK), it reads its input line by line. It now keeps a hasUnconsumedInput flag. The flag is set when a non-blank line is waiting to be processed and is cleared once that line has been read.
When Claude Code decides whether it is still busy, it now counts that waiting input, together with a turn that is still running and questions that are waiting for an answer.
Why
A session is less likely to finish while input sent to it has not been handled yet.