Settings Feature Enhancement

Nucleic-Session: 89BFAB13-D559-43FC-BE28-0B2639BECF0F
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 22:15:45 -07:00
co-authored by Nucleic
parent 274c55b67a
commit 6d6abc5c29
@@ -95,6 +95,11 @@ final class HostConnection {
/// A join code this host minted at our request ("add a device to this mesh") — the /// 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. /// `nucleic://pair?d=…` string to show as a QR / copyable code, or nil if it couldn't.
var pairingCodeReceived: (String?) -> Void = { _ in } 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 private let callbacks: Callbacks