feat(macos): add instances tab and presence beacons

This commit is contained in:
Peter Steinberger
2025-12-09 02:25:45 +01:00
parent 1969e78d54
commit bc92f6d4a4
6 changed files with 274 additions and 4 deletions

View File

@@ -95,6 +95,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSXPCListenerDelegate
try? await ControlChannel.shared.configure(mode: controlMode)
try? await AgentRPC.shared.start()
_ = await AgentRPC.shared.setHeartbeatsEnabled(AppStateStore.shared.heartbeatsEnabled)
PresenceReporter.shared.start()
}
Task { await HealthStore.shared.refresh(onDemand: true) }
self.startListener()
@@ -109,6 +110,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSXPCListenerDelegate
func applicationWillTerminate(_ notification: Notification) {
RelayProcessManager.shared.stop()
PresenceReporter.shared.stop()
}
@MainActor