# bug tv v5 — API & module contract This is the single source of truth every workstream codes against. If you need to deviate, keep the deviation backwards compatible and note it at the bottom of this file. ## Runtime - Node 22+, CommonJS in `src/` (providers are CommonJS). No TypeScript, no bundler. - npm deps allowed: `cheerio-without-node-native`, `crypto-js` (providers), `undici` (keep-alive agent), `webtorrent` (torrents). `ffmpeg`/`ffprobe` come from PATH (`cfg.remux.ffmpeg` / `cfg.remux.ffprobe`). - Static site in `web/` is vanilla ES modules (`