--------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by-agent: Codex
アイリ VTuber
[Try it]
Heavily inspired by Neuro-sama
WebSocket Bridge
Stage Pocket adds a host-backed WebSocket bridge for @proj-airi/server-sdk.
Design constraints:
- keep page loading on secure origins (
httpsor app-hosted local origins) to preserve secure-context web APIs - only implement the WebSocket bridge needed by
@proj-airi/server-sdk - native owns socket I/O;
server-sdkowns reconnect, heartbeat, authentication, and connection state - the bridge only forwards
connect,send,close,open,message,error, andclose