Skip to content

fix: echo first user message to all attached windows#73

Merged
jbj338033 merged 1 commit into
mainfrom
fix/echo-first-user-message
Jun 18, 2026
Merged

fix: echo first user message to all attached windows#73
jbj338033 merged 1 commit into
mainfrom
fix/echo-first-user-message

Conversation

@jbj338033

Copy link
Copy Markdown
Collaborator

Summary

When multiple windows (local TUI + remote clients) attach to the same session, a user message typed in one window never appeared in the others, while assistant responses did. The engine only emitted Event::UserMessage for mid-turn steering messages, so the first message of a turn was never fanned out — the sending window masked the gap with optimistic local rendering. The engine now echoes the first user message too, and the TUI renders every user message from that single echo path.

Verification

  • cargo test -p goat-agent -p goat-tui — passed (90 + 192)
  • cargo clippy --workspace --all-targets -- -D warnings — passed
  • cargo fmt --all --check — passed

@jbj338033 jbj338033 merged commit 3aa82ec into main Jun 18, 2026
5 checks passed
@jbj338033 jbj338033 deleted the fix/echo-first-user-message branch June 18, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant