data/commands/builtin/bridge_command library

Classes

BridgeCommand
The /remote-control command — manages the bidirectional bridge connection.
BridgeConfig
Bridge configuration and state management.
BridgeController
Controller for the bridge command UI state.
BridgeDisconnectCommand
The /remote-control disconnect sub-command.
BridgePrerequisiteResult
Result of checking bridge prerequisites.

Enums

BridgeConnectionState
Bridge connection state.
BridgeDisabledReason
Reason the bridge is disabled.
DisconnectMenuOption
Menu option for the disconnect dialog.

Constants

bridgeLoginInstruction → const String
Login instruction for bridge access.
remoteControlDisconnectedMsg → const String
Message shown when bridge is disconnected.

Functions

checkBridgePrerequisites() Future<BridgePrerequisiteResult>
Check all bridge prerequisites before connecting.
getBridgeAccessToken() String?
Get the bridge access token from the environment or config.
isEnvLessBridgeEnabled() bool
Check if env-less bridge mode is enabled.