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(cli): improve message queue atomicity and add --wait-idle to tmux harness
Defensive improvements to message queue handling:
- chat.tsx: Use useLayoutEffect for synchronous store updates
- use-message-queue.ts: Make queue operations atomic with functional setState
Test harness fix for rapid message testing:
- tmux-send.sh: Add --wait-idle SECS option that polls until terminal output
stabilizes before returning. This allows rapid message tests to wait for
streaming to complete between sends.
Note: The 'rapid message scrolling' issue was primarily a test harness limitation
where tmux sends input faster than the CLI can process during heavy rendering.
The --wait-idle flag is the proper fix for this test scenario.
Co-authored-by: Codex CLI <codex@openai.com>
Co-authored-by: Claude Code CLI <claude@anthropic.com>
Co-authored-by: Gemini CLI <gemini@google.com>
0 commit comments