From 6d6abc5c296ec3efc65f8b8fbc639a348d0538fa Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 5 Jul 2026 22:15:45 -0700 Subject: [PATCH] Settings Feature Enhancement Nucleic-Session: 89BFAB13-D559-43FC-BE28-0B2639BECF0F Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Models/HostConnection.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Models/HostConnection.swift b/NucleicRemote/NucleicRemote/Models/HostConnection.swift index cb6433c..37b1921 100644 --- a/NucleicRemote/NucleicRemote/Models/HostConnection.swift +++ b/NucleicRemote/NucleicRemote/Models/HostConnection.swift @@ -95,6 +95,11 @@ final class HostConnection { /// A join code this host minted at our request ("add a device to this mesh") — the /// `nucleic://pair?d=…` string to show as a QR / copyable code, or nil if it couldn't. var pairingCodeReceived: (String?) -> Void = { _ in } + /// This host forwarded a Mac-pair confirm — a Mac is joining via a code we shared and + /// wants the user's allow/deny. The phone can approve it (`respondMacPair`). + var macPairRequested: (WireMacPairRequest) -> Void = { _ in } + /// The forwarded Mac-pair (by deviceID) was answered/withdrawn — dismiss the prompt. + var macPairResolved: (String) -> Void = { _ in } } private let callbacks: Callbacks