Repository navigation
fix: unify capability count across all UI surfaces - #488
Merged
shanselman merged 1 commit intoMay 21, 2026
Merged
Conversation
Connection page and Permissions page hardcoded 7 settings-gated capabilities (browser, camera, canvas, screen, location, tts, stt) while the tray menu and instances page read from GatewayNodeInfo which reports all 10 registered capabilities (including always-on: app, device, system). Changes: - Add NodeCapabilityGating.GetLocalNodeCapabilities() shared helper that reads from AppState.Nodes (same GatewayNodeInfo source as tray/instances) - ConnectionPage: BuildCapabilityListString, BuildCapabilityChips, status text, and fingerprint now use gateway data instead of hardcoded toggles - PermissionsPage: UpdateNodeStatus uses the shared helper - Return .ToArray() snapshot for thread-safety (List<string> is mutable) - Guard against empty capability strings in chip rendering Co-authored-by: Copilot <[email protected]>
shanselman
added a commit
that referenced
this pull request
May 21, 2026
Gate system.run and system.run.prepare behind the Permissions page toggle while keeping the rest of the system capability registered. Rebuild node capabilities from current settings on reconnect so permission changes take effect without restarting the tray. Resolved against #483/#488 after local validation. Co-authored-by: Copilot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The Connection page and Permissions page showed 7 capabilities while the tray menu and instances page showed 10 capabilities. The missing 3 were always-on capabilities (app, device, system) that aren't gated by settings toggles.
Root Cause
Connection page and Permissions page hardcoded 7 settings-gated capabilities (browser, camera, canvas, screen, location, tts, stt) instead of reading from the same \GatewayNodeInfo\ source of truth used by the tray menu and instances page.
Fix
Validation
Files Changed