@@ -21,10 +21,10 @@ public sealed partial class CapabilitiesPage : Page
2121 private bool _treatBundledAllOnAsPlaceholder ;
2222 private int _step = 1 ;
2323
24- // Capability profiles just preset the granular toggles below. Keys map 1:1 to
25- // CapabilitiesConfig — Full = every key on .
26- private static readonly string [ ] ProfileReadOnly = [ "Canvas" , "Screen" , "Device" ] ;
27- private static readonly string [ ] ProfileStandard = [ "System" , "Canvas" , "Screen" , "Device" , " Tts", "Stt" ] ;
24+ // Capability profiles preset only runtime-gated settings. Device info/status
25+ // stays available whenever Node Mode is enabled, so it is disclosed but not selectable .
26+ private static readonly string [ ] ProfileReadOnly = [ "Canvas" , "Screen" ] ;
27+ private static readonly string [ ] ProfileStandard = [ "System" , "Canvas" , "Screen" , "Tts" , "Stt" ] ;
2828
2929 // (config property, display name, description, fluent icon glyph)
3030 private static readonly ( string Key , string Name , string Desc , string Glyph ) [ ] Capabilities =
@@ -35,7 +35,6 @@ private static readonly (string Key, string Name, string Desc, string Glyph)[] C
3535 ( "Camera" , "Camera" , "Webcam photos and video" , "\uE722 " ) ,
3636 ( "Location" , "Location" , "Share device location" , "\uE81D " ) ,
3737 ( "Browser" , "Browser" , "Web navigation and automation" , "\uE774 " ) ,
38- ( "Device" , "Device" , "Volume, brightness, system info" , "\uE772 " ) ,
3938 ( "Tts" , "Text-to-speech" , "Speak text aloud" , "\uE767 " ) ,
4039 ( "Stt" , "Speech-to-text" , "Transcribe spoken audio" , "\uE720 " ) ,
4140 ] ;
@@ -57,6 +56,9 @@ public CapabilitiesPage()
5756 protected override void OnNavigatedTo ( NavigationEventArgs e )
5857 {
5958 _config = e . Parameter as SetupConfig ?? new SetupConfig ( ) ;
59+ // The tray always registers device.info/status with Node Mode. Keep the
60+ // setup declaration and gateway allowlist aligned with that runtime contract.
61+ _config . Capabilities . Device = true ;
6062 _skipPermissions = _config . SkipPermissions ;
6163 _treatBundledAllOnAsPlaceholder = _config . UsesBundledDefaultConfig ;
6264 BuildToggles ( ) ;
0 commit comments