#!/usr/bin/env bun /** * Mock event server for dashboard UI development. * * Starts a DashboardServer on :9090 with simulation routes for generating * fake run events. Run the Vite dev server separately for the UI: * * Terminal 1: bun run dev:ui (this server) * Terminal 2: bun run --cwd src/dashboard/ui vite (Vite HMR on :5173) * * The Vite proxy config in ui/vite.config.ts forwards /ws and /api to :9090. * Open http://localhost:5173 in a browser. * * Simulations are triggered on demand: * POST /api/simulate — trigger a single simulated run * POST /api/simulate/auto — start auto-simulation every 15s * POST /api/simulate/stop — stop auto-simulation * * Pass `--auto` to start with auto-simulation enabled. */ export {}; //# sourceMappingURL=dev-server.d.ts.map