/** * Platform playback capabilities, read from Rust. * * TRACES: UR-003, UR-005 | DR-004, DR-152 * * "Which backend does this platform have" is a *backend* fact, so Rust owns it * (`player_get_capabilities`, gated on the same `cfg!` the backends are built * under). This module is a thin cache over that command. * * It exists because the frontend used to re-derive the answer by sniffing * `navigator.userAgent` for "android"/"linux" — a second, silently drifting copy * of a decision Rust already makes. Consume the value; never re-derive it. */ import { commands } from "$lib/api/bindings"; export interface PlaybackCapabilities { /** Audio renders through a webview `