mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-07-31 22:05:34 +08:00
Verification aid, not a product feature. Guarded by import.meta.dev (stripped from prod builds) and opt-in via `?mock=1` (`?mock=0` disables). It wraps globalThis.$fetch and stubs only the Nuxt-side endpoints that would otherwise need a login, VATSIM, or OpenAI — auth (/api/auth/me, refresh), airport frequencies, METAR, TTS (silent), STT — and passes everything else through, including the authoritative Python radio backend on :8000, which is expected to run for real. Used to run the full real /live-atc page end-to-end against the real decision engine: setup → scenario picker → cockpit → text transmit → real controller reply in the log → readback → session_complete → completion screen. Confirms the redesign extraction holds on the real page, not just in component harnesses. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>