Sessions Integration Feature
Nucleic-Session: FC94353F-9F0D-4BCC-AD7C-0FB14E38C2E5 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user