agent-orchestrator/packages/web/src
Gaurav Bhola f2986bf863 fix(web): address bugbot review — heartbeat, shutdown, runtime config, cleanup
- Use native WS ping frames for heartbeat so idle browser clients are not
  incorrectly disconnected (browser auto-responds to native ping with pong)
- Pass runtime config to buildMuxWsUrl() so dynamic port/proxy path set via
  TERMINAL_WS_PATH env var is actually used (was fetched but never consumed)
- Delay initial WS connect until runtime config fetch resolves, preventing
  race condition on first load
- shutdown() now terminates all mux clients and closes the WSS, preventing
  orphaned PTY processes on restart
- ws 'error' handler now unsubscribes terminal callbacks alongside session
  subscription to prevent leaks in edge cases where 'close' does not follow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 22:46:29 -07:00
..
__tests__ fix: return 400 for invalid verify API payloads 2026-04-06 22:46:29 -07:00
app feat(web): single-socket — multiplex terminals + sessions over one WebSocket 2026-04-06 22:46:29 -07:00
components feat(web): single-socket — multiplex terminals + sessions over one WebSocket 2026-04-06 22:46:29 -07:00
hooks fix(web): address bugbot review — heartbeat, shutdown, runtime config, cleanup 2026-04-06 22:46:29 -07:00
lib feat(web): add multiplexed WebSocket protocol and mux server 2026-04-06 22:46:29 -07:00
providers fix(web): address bugbot review — heartbeat, shutdown, runtime config, cleanup 2026-04-06 22:46:29 -07:00
vitest.d.ts fix: upgrade @testing-library/jest-dom for vitest 2.x type compatibility (#21) 2026-02-14 14:40:44 +05:30