Fix broadcast message delivery to include users#119
Merged
agent-relay-rachel[bot] merged 2 commits intomainfrom Jan 9, 2026
Merged
Fix broadcast message delivery to include users#119agent-relay-rachel[bot] merged 2 commits intomainfrom
agent-relay-rachel[bot] merged 2 commits intomainfrom
Conversation
The broadcast() function in router.ts was only sending messages to agents, not users. This caused broadcast messages (to='*') to never reach human users connected to the relay. Changes: - router.ts: Include both agents and users in broadcast recipient list - router.ts: Check both maps when looking up targets - router.ts: Handle user entity type for processing state - router.test.ts: Add test case for broadcasting to users - parser.ts: Add diagnostic logging for filtered messages - tmux-wrapper.ts: Add diagnostic logging for deduplication - base-wrapper.ts: Add diagnostic logging for placeholder targets 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Added console.error logging for filtered messages in pty-wrapper's own parsing logic (which is separate from OutputParser): - Fenced message placeholder target filtering - Single-line message placeholder target filtering This completes the diagnostic logging coverage across all wrappers. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Contributor
Author
|
Test comment from gh CLI validation - verifying workspace container functionality. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
broadcast()function in router.ts to include users in recipient listTest plan
npm run build🤖 Generated with Claude Code