Something went wrong. Try again.
Something went wrong. Try again.
1234567891011// The desktop's hub singleton: the protocol class wired to the HTTP// backend. (The class itself lives in protocol-hub.ts, host-agnostic — the// web app builds its own hub over an in-page bridge.)
import { backend } from '../state/backend.ts';import { DataProtocolHub } from './protocol-hub.ts';
export { DataProtocolHub, type HostBridge } from './protocol-hub.ts';
export const dataHub = new DataProtocolHub(backend);