refactor(remote-control): gate live bridge by capability

This commit is contained in:
4gray committed 2026-05-22 13:35:03 +03:00
1 parent 8cfc40f59b
commit 3e398f1d1a
7 files changed
+99 -22

No files matched your search

+7
View File
@@ -97,6 +97,13 @@ Type definitions:
## Renderer Integrations
All renderer integrations resolve the Electron remote-control bridge through
`RuntimeCapabilitiesService.supportsRemoteControl`. A partial Electron bridge
is treated as unsupported unless it exposes all remote-control methods:
`updateRemoteControlStatus`, `onChannelChange`, and
`onRemoteControlCommand`. This keeps PWA/self-hosted builds and partial test
bridges from accidentally activating desktop-only remote-control behavior.
## Shared helpers
- File: `libs/portal/shared/util/src/lib/remote-channel-navigation.ts`