From 434664f37137528b2e01e78d21b05c3a9d378aca Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sat, 4 Jul 2026 23:50:30 -0700 Subject: [PATCH] Feature Enhancement Planning Nucleic-Session: 3CD3A375-8BC1-407E-951F-8EF136B08390 Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Models/HostConnection.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Models/HostConnection.swift b/NucleicRemote/NucleicRemote/Models/HostConnection.swift index 8c482e3..cfe8b0b 100644 --- a/NucleicRemote/NucleicRemote/Models/HostConnection.swift +++ b/NucleicRemote/NucleicRemote/Models/HostConnection.swift @@ -60,6 +60,9 @@ final class HostConnection { var wireError: (WireError) -> Void = { _ in } /// A pairing handshake succeeded — persist the pinned host record. var didPair: (PairedHost) -> Void = { _ in } + /// The mesh roster changed (mesh "join"): a Mac was learned or revoked via gossip — the + /// registry was updated, so (re)connect to every paired Mac and drop any that left. + var meshRosterChanged: () -> Void = {} /// The embedded Tailscale node's status changed (for Settings). var tailnetStatus: (String?, URL?) -> Void = { _, _ in } }