mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-09-27 02:27:59 +00:00
Adds IsBridge to PacketPathPoint/PacketPathObserver and PublicKey to PacketPathObserver (needed to look bridges up, and useful on its own for future features). Set by a new markBridgeRepeaters handler-level step in routes.go, not GetPacketPath itself, since the underlying data (TransportedScopes per repeater) lives in the in-memory store, not SQL -- same "relays for 2+ distinct regions" definition and data source as the Foreign Traffic tab's existing Bridge badge (ScopeStatsResponse.bridgeRepeaters), just applied to whichever handful of pubkeys one packet's path touches. The map gives a bridge repeater a bold purple outline (on top of whatever primary/approx styling already applies) plus a tooltip note, so the mesh's backbone nodes stand out regardless of which branch they're in. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>