omarchy-send/internal
28allday ff67bd6a71 Probe known and Tailscale peers in headless send
runHeadlessSend only ran multicast discovery, so `--to <alias> --message`
could not reach a peer that is only routable over the tailnet (or another
subnet), even though the TUI and quick-send paths could via watchRemotes.
Start the same watcher in the headless path: known peers from config plus
online Tailscale peers are unicast-probed, the probe handshake records the
peer, and FindPeer picks it up like any multicast discovery.

Verified live against a tailnet-only peer (different subnet, DERP-relayed):
discovered and message delivered. TestFindPeerViaProbe covers the
composition Probe -> NotePeer -> PeerFound -> FindPeer.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 12:18:04 +01:00
..
app Headless one-shot message send + desktop notifications on incoming 2026-05-29 14:13:43 +01:00
client Headless one-shot message send + desktop notifications on incoming 2026-05-29 14:13:43 +01:00
clipboard Clipboard send/copy, PIN for messages, and quiet stdlib logging 2026-05-27 22:06:24 +01:00
config Add remote-peer support over Tailscale and unicast probing 2026-06-02 21:47:52 +01:00
dbg Clipboard send/copy, PIN for messages, and quiet stdlib logging 2026-05-27 22:06:24 +01:00
discovery Probe known and Tailscale peers in headless send 2026-06-06 12:18:04 +01:00
notify Headless one-shot message send + desktop notifications on incoming 2026-05-29 14:13:43 +01:00
protocol Initial commit: Omarchy-Send v0.1.0 2026-05-27 19:26:08 +01:00
security Initial commit: Omarchy-Send v0.1.0 2026-05-27 19:26:08 +01:00
server Send and read plain-text messages 2026-05-27 21:40:40 +01:00
tailscale Add remote-peer support over Tailscale and unicast probing 2026-06-02 21:47:52 +01:00
theme Initial commit: Omarchy-Send v0.1.0 2026-05-27 19:26:08 +01:00
transfer Initial commit: Omarchy-Send v0.1.0 2026-05-27 19:26:08 +01:00
tui Add remote-peer support over Tailscale and unicast probing 2026-06-02 21:47:52 +01:00