import type { RobotGestures } from "./robot/gestures"; import { App } from "./ui/app"; import "./ui/styles.css"; /** Dev-only UI harness (`npm run dev` + `?uidev=1`): boots the app with a * no-op gesture stub so the UI can be exercised without a robot session. * Never reachable in production — dispatch.ts gates it on import.meta.env.DEV. */ const gestureStub = new Proxy( {}, { get: (_target, prop) => (...args: unknown[]) => { console.log(`[uidev] gesture: ${String(prop)}`, ...args); return Promise.resolve(); }, }, ) as RobotGestures; const root = document.getElementById("root"); if (root) { new App(root, gestureStub).start(); }