Skip to content

Conversation

@jpelaez-23blocks
Copy link
Contributor

Summary

Fix cross-host message sending by saving RESOLVED_HOST_URL before it gets overwritten.

Bug

When sending a message to a remote host, the resolve_agent call for the sender's alias was overwriting RESOLVED_HOST_URL, causing the script to use the wrong (or empty) URL.

Fix

Save TO_HOST_URL immediately after resolving the destination agent.

🤖 Generated with Claude Code

The second resolve_agent call (for sender's alias) was overwriting
RESOLVED_HOST_URL, causing cross-host messages to fail. Now we save
TO_HOST_URL immediately after resolving the destination.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@jpelaez-23blocks jpelaez-23blocks merged commit b0e0158 into main Jan 20, 2026
1 check passed
@jpelaez-23blocks jpelaez-23blocks deleted the fix/messaging-cross-host branch January 20, 2026 01:29
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.

2 participants