agent-orchestrator/packages/web/server
Gaurav Bhola faa1bfa8d6 fix(web): isolate subscriber callbacks in pty.onData with try-catch
A throwing callback (e.g. ws.send on a closed socket) would abort the
for-of loop, causing remaining subscribers to miss the data chunk and
skipping the ring buffer update — corrupting replay history for future
reconnections. Wrapping each call in try-catch keeps all subscribers
independent and ensures the buffer update always runs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 22:46:29 -07:00
..
__tests__ feat(web): single-socket — multiplex terminals + sessions over one WebSocket 2026-04-06 22:46:29 -07:00
direct-terminal-ws.ts fix(web): address bugbot review — heartbeat, shutdown, runtime config, cleanup 2026-04-06 22:46:29 -07:00
mux-websocket.ts fix(web): isolate subscriber callbacks in pty.onData with try-catch 2026-04-06 22:46:29 -07:00
start-all.ts feat(web): single-socket — multiplex terminals + sessions over one WebSocket 2026-04-06 22:46:29 -07:00
terminal-observability.ts Publish ao-web on npm, harden error handling, deduplicate code 2026-03-14 19:01:49 +05:30
tmux-utils.ts fix: terminal servers compatible with hash-based architecture (#87) 2026-02-18 03:28:55 +05:30