{"version":3,"file":"remoteChannel.cjs","names":[],"sources":["../../src/types/remoteChannel.ts"],"sourcesContent":["/**\n * The tunnel transport the cockpit itself speaks: the sealed channel, the sealed HTTP gateway and live Web Push.\n * Remote access settings, pairing and devices belong to po-remote. Mirrors po-core's constants.\n */\n\nconst REMOTE_API_ROUTE = '/api/remote';\n/** Direct endpoint that establishes one scoped end-to-end channel. */\nexport const REMOTE_CHANNEL_ROUTE = `${REMOTE_API_ROUTE}/channel`;\n/** The only authenticated HTTP gateway exposed on the tunnel listener. */\nexport const REMOTE_HTTP_ROUTE = `${REMOTE_API_ROUTE}/request`;\n/** Device-bound, sealed routes for ephemeral live Web Push registration. */\nexport const REMOTE_PUSH_ROUTE = `${REMOTE_API_ROUTE}/push`;\nexport const REMOTE_PUSH_KEY_ROUTE = `${REMOTE_PUSH_ROUTE}/key`;\n\nexport type RemoteChannelScope = 'session' | 'protocol' | 'http';\n"],"mappings":";;;;;AAKA,MAAM,mBAAmB;;AAEzB,MAAa,uBAAuB,GAAG,iBAAiB;;AAExD,MAAa,oBAAoB,GAAG,iBAAiB;;AAErD,MAAa,oBAAoB,GAAG,iBAAiB;AACrD,MAAa,wBAAwB,GAAG,kBAAkB"}