Skip to content

fix(tui): auto-sync child sessions on message events (#22)#45

Merged
randomm merged 1 commit intodevfrom
fix/22-subagent-streaming
Jan 26, 2026
Merged

fix(tui): auto-sync child sessions on message events (#22)#45
randomm merged 1 commit intodevfrom
fix/22-subagent-streaming

Conversation

@randomm
Copy link
Owner

@randomm randomm commented Jan 26, 2026

Summary

  • Auto-sync child sessions when they emit message.updated events
  • Fixes subagent activity streaming not showing in real-time

Root Cause

Child session message.updated events were received but the session wasn't in fullSyncedSessions, so UI never displayed messages.

Fix

Added check in message.updated handler to auto-sync unsynced sessions.

Closes #22

@github-actions
Copy link

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@randomm randomm force-pushed the fix/22-subagent-streaming branch from 70df4f0 to 7d6d788 Compare January 26, 2026 14:12
@randomm randomm merged commit 2dfbe11 into dev Jan 26, 2026
1 of 2 checks passed
@randomm randomm deleted the fix/22-subagent-streaming branch January 26, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant