The pending-message queue is now passed around explicitly, and an empty Enter can be absorbed in leader sessions.
What's wrong with this entry?
The queue of pending messages is now handed to the agent-context builder, the tool-result handler, the fork copy and the SDK entry point rather than read from a shared global. The input surface also gained a hook that can absorb an empty Enter press, used for leader sessions, which suppresses the empty-submit counter.
- Mid-turn command folding now asks the queue directly, via
isMidTurnFoldSuspended,registerFoldInFlightandcountRemainingWakePollEventsAfter. - The query loop calls
hasCommandsInQueue()on the passed object instead of a module-level checker.
hasCommandsInQueue, isMidTurnFoldSuspended
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.232
Command queue is a single adoptable instance
Both mention queue