Files
moeka-project/apps/stage-pocket
584e4960e9 feat(stage-pocket): improve permission management (#2184)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: LemonNeko <17664845+LemonNekoGH@users.noreply.github.com>
2026-08-08 20:16:10 +08:00
..
2026-07-19 04:03:59 +08:00

アイリ 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 (https or 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-sdk owns reconnect, heartbeat, authentication, and connection state
  • the bridge only forwards connect, send, close, open, message, error, and close