// 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);