Fix/relay message delivery#120
Merged
khaliqgant merged 5 commits intomainfrom Jan 9, 2026
Merged
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>
When projects exist, localAgentsForSidebar was returning an empty array, which caused human users to be excluded from the Sidebar's agents prop. This meant the Direct Messages section showed no team members. Changed localAgentsForSidebar to always include human users (via projectAgents.filter(a => a.isHuman)) even when projects exist, while still hiding AI agents that are merged into project folders. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
GitHub App OAuth connections in Nango store the user's personal OAuth token in connection_config.userCredentials.access_token, not in access_token directly. This fix updates getGithubUserOAuthToken() to check the correct path. This enables gh CLI commands like `gh api user` to work in workspace containers by returning a gho_*/ghu_* token instead of the installation token (ghs_*). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
No description provided.