diff --git a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift index df9c481..b4d4f09 100644 --- a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift +++ b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift @@ -38,11 +38,11 @@ final class RemoteStore: ObservableObject { } @Published private(set) var connectivity: Connectivity = .unpaired + /// A representative host name for the aggregate — the open session's Mac when a transcript is + /// open, otherwise a live host. Sessions/projects from *every* connected Mac are merged into the + /// flat state above (mesh P3), so no single "active host" is chosen; per-row provenance comes + /// from `hostName(forSession:)` instead. @Published private(set) var hostName: String = "" - /// The paired Mac this connection currently reflects (mesh P3), by its `HostID` (fingerprint). - /// `hostName`/`sessions`/etc. above are that host's projection; switching hosts re-points them - /// (live: reconnect to a different paired Mac; demo: swap the mock host). `nil` until connected. - @Published private(set) var activeHostID: String? @Published private(set) var sessions: [WireSessionSummary] = [] @Published private(set) var capabilities = WireCapabilities(canModifyToolInput: false, allowAlwaysScopes: []) @Published private(set) var grantedScope: DeviceScope = .approve