Skip to content

Fix/relay message delivery#120

Merged
khaliqgant merged 5 commits intomainfrom
fix/relay-message-delivery
Jan 9, 2026
Merged

Fix/relay message delivery#120
khaliqgant merged 5 commits intomainfrom
fix/relay-message-delivery

Conversation

@khaliqgant
Copy link
Copy Markdown
Member

No description provided.

Agent Relay and others added 5 commits January 9, 2026 09:27
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>
@khaliqgant khaliqgant merged commit 32d5626 into main Jan 9, 2026
6 checks passed
@khaliqgant khaliqgant deleted the fix/relay-message-delivery branch January 9, 2026 18: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