spb/zyquo-cloud-web Public MIT
Zyquo Cloud Web — every cloud model, one beautiful chat, entirely in your browser.
TypeScript 81.9%
CSS 8.9%
JavaScript 7.5%
Shell 1.1%
HTML 0.6%
1/*2 * devHarness.ts3 * Zyquo Cloud Web4 *5 * Author: Simon-Pierre Boucher6 * Mail: contact@spboucher.ai7 *8 * Dev-only test harness: exposes the storage layer on window so the9 * Playwright gate scripts (Phases 3 & 7) can drive real browser round-trips.10 * Excluded from production builds via the import.meta.env.DEV guard.11 */1213import * as conversations from '../storage/conversations'14import * as keys from '../storage/keys'15import * as settings from '../storage/settings'16import * as vault from '../storage/vault'17import * as backup from '../storage/backup'18import { testKey } from '../providers/testKey'19import { clientFor } from '../providers/registry'20import { cheapestModel, findModel, CATALOG } from '../providers/catalog'2122export function installDevHarness(): void {23 if (!import.meta.env.DEV) return24 ;(window as unknown as Record<string, unknown>).__zyquo = {25 conversations,26 keys,27 settings,28 vault,29 backup,30 testKey,31 clientFor,32 cheapestModel,33 findModel,34 CATALOG,35 }36}37