Commit Graph

5 Commits

Author SHA1 Message Date
AskaEth e79590a6d8 feat(daemon): add WebSocket relay with console/network monitoring
- Add ws-relay.ts: WebSocket server at /ws with broadcast function
- Add network event types (request/response/failed) to core ws.ts types
- Add ConsoleEntry and NetworkEntry types
- Add consoleLog and networkLog buffers to PageRegistry (100/200 max)
- Add console listener in createPage: broadcasts page:console events
- Add network listeners (request/response/requestfailed) in createPage
- Add page crash handler broadcasting page:crashed events
- Add history endpoints: GET /pages/:id/console and GET /pages/:id/network
- Integrate createWsRelay in server.ts startup
- Bump ws from devDependency to full dependency
2026-08-12 21:28:02 +08:00
AskaEth 3810661098 feat: add VisionLClient HTTP client for daemon communication 2026-08-12 20:43:53 +08:00
AskaEth 8b83fb5c53 feat: add JSON escape utility with comprehensive edge case tests 2026-08-12 20:41:12 +08:00
AskaEth e3fe330745 feat: add core type definitions (PageInfo, ApiResponse, WsEvent, FingerprintProfile) 2026-08-12 20:38:34 +08:00
AskaEth 1392357dc1 chore: initialize monorepo scaffold with npm workspaces 2026-08-12 20:36:12 +08:00