Commit Graph
5 Commits
Author SHA1 Message Date
Theo Browne 67636da106 Promise catching fixes 2026-02-09 21:12:51 -08:00
Theo Browne 6947b4d47d bring back electron 2026-02-09 20:55:12 -08:00
Theo Browne 8cc7135e3d turborepo and better logging 2026-02-09 20:16:10 -08:00
Cursor AgentandTheo Browne bb4f4d57e8 fix: address lint warnings in new files
- wsTransport.ts: Use addEventListener instead of on-function assignments
- wsServer.ts: Replace filter(Boolean).pop() with direct array access
- wsServer.test.ts: Use addEventListener for WebSocket events

Co-authored-by: Theo Browne <[email protected]>
2026-02-09 21:58:21 +00:00
Cursor AgentandTheo Browne 275863c67a feat: implement WebSocket + HTTP server and CLI entry point
- wsServer.ts: WebSocket server routes NativeApi methods, serves static files
  - Provider events pushed to all connected clients
  - SPA fallback for client-side routing
  - Server welcome message with cwd/projectName on connect
- index.ts: CLI entry point
  - Auto-detects available port (default 3773)
  - Resolves renderer dist for static serving
  - Opens browser on startup via 'open' package
  - Graceful shutdown on SIGINT/SIGTERM

Co-authored-by: Theo Browne <[email protected]>
2026-02-09 21:44:30 +00:00