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
{{ message }}
Repository navigation
[CLI] Empty ask twins render as "Roo said: ..." ghost bubbles in YOLO mode #2819
In YOLO mode every completion emits an empty ask|completion_result twin. The chat mapper (useMessageHandlers.ts, nonInteractive branch) renders non-tool asks as assistant bubbles with content || "", and ChatHistoryItem.tsx falls back to a literal ... placeholder (message.content || "..."). Result: a bare Roo said: ... bubble directly under the real answer.
Fix
Hide empty assistant bubbles in ChatHistoryItem (the guard must run BEFORE the || "..." default — placing it after is bypassed), and/or skip empty ask twins in the mapper.
Environment: macOS arm64, CLI v0.1.17.
Solution (applied locally 2026-12-03)
Update — solved locally. Two-part fix:
ChatHistoryItem.tsx: remove the placeholder default (message.content || "..." → message.content ?? "") and return null for empty assistant content. Important: the emptiness guard must run before any placeholder default — the default converts empties into a literal "..." string that bypasses a downstream guard.
Optionally skip empty ask twins in the chat mapper.
After both, the ghost Roo said: ... bubble is gone while the real say|completion_result text renders. Happy to send a PR.
Activity