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
| #!/usr/bin/env node | |
| // paseo-cross — MCP server for cross-daemon (relay) agent conversation. | |
| // | |
| // Bridges the paseo CLI's `--host <pairing-offer>` to a named-remote registry | |
| // so agents can talk to agents on other hosts without handling offers inline. | |
| // | |
| // Remotes: ~/.paseo/cross-remotes.json { name: "<pairing offer b64 or URL>" } | |
| // Register: cross_add_remote(name, offer) (offer from `paseo daemon pair` on the target) | |
| // | |
| // Zero dependencies: implements the MCP stdio subset (NDJSON JSON-RPC 2.0): |