You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cockpit): stop the status flicker while you type (input-aware)
The session status flickered working(green)<->turn(amber) on every
keystroke: the PTY echoes typed characters, which computeActivity read
as recent agent output ("working"); a typing pause fell to "turn",
which was an amber dot bucketed under "Needs you" and counted in the
rail badge — so the indicator and badge flickered as you typed.
Now the status is input-aware: a recent keystroke (<= INPUT_ACTIVE_MS,
kept > WORKING_MS) yields a stable "your turn", never "working", so
echoes can't look like agent work. "turn" also gets its own calm
"Your turn" group (blue dot, separate from "Needs you"), and the rail
badge counts only genuine agent questions (attention), so typing no
longer inflates it.
v1.6.1. 260 tests. QA 0 console/page errors.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments