fix: show connected nodes only

This commit is contained in:
Peter Steinberger
2025-12-29 18:35:52 +01:00
parent 09ef991e1a
commit 653932e50d
2 changed files with 2 additions and 1 deletions

View File

@@ -6,6 +6,7 @@
- macOS: Voice Wake now fully tears down the Speech pipeline when disabled (cancel pending restarts, drop stale callbacks) to avoid high CPU in the background. - macOS: Voice Wake now fully tears down the Speech pipeline when disabled (cancel pending restarts, drop stale callbacks) to avoid high CPU in the background.
- iOS/Android nodes: enable scrolling for loaded web pages in the Canvas WebView (default scaffold stays touch-first). - iOS/Android nodes: enable scrolling for loaded web pages in the Canvas WebView (default scaffold stays touch-first).
- macOS menu: device list now uses `node.list` (devices only; no agent/tool presence entries). - macOS menu: device list now uses `node.list` (devices only; no agent/tool presence entries).
- macOS menu: device list now shows connected nodes only.
## 2.0.0-beta4 — 2025-12-27 ## 2.0.0-beta4 — 2025-12-27

View File

@@ -683,7 +683,7 @@ final class MenuSessionsInjector: NSObject, NSMenuDelegate {
} }
private func sortedNodeEntries() -> [NodeInfo] { private func sortedNodeEntries() -> [NodeInfo] {
let entries = self.nodesStore.nodes let entries = self.nodesStore.nodes.filter { $0.isConnected }
return entries.sorted { lhs, rhs in return entries.sorted { lhs, rhs in
if lhs.isConnected != rhs.isConnected { return lhs.isConnected } if lhs.isConnected != rhs.isConnected { return lhs.isConnected }
if lhs.isPaired != rhs.isPaired { return lhs.isPaired } if lhs.isPaired != rhs.isPaired { return lhs.isPaired }