/* * devHarness.ts * Zyquo Cloud Web * * Author: Simon-Pierre Boucher * Mail: contact@spboucher.ai * * Dev-only test harness: exposes the storage layer on window so the * Playwright gate scripts (Phases 3 & 7) can drive real browser round-trips. * Excluded from production builds via the import.meta.env.DEV guard. */ import * as conversations from '../storage/conversations' import * as keys from '../storage/keys' import * as settings from '../storage/settings' import * as vault from '../storage/vault' import * as backup from '../storage/backup' import { testKey } from '../providers/testKey' import { clientFor } from '../providers/registry' import { cheapestModel, findModel, CATALOG } from '../providers/catalog' export function installDevHarness(): void { if (!import.meta.env.DEV) return ;(window as unknown as Record).__zyquo = { conversations, keys, settings, vault, backup, testKey, clientFor, cheapestModel, findModel, CATALOG, } }