WebSocket Layer
ConnectionManager
Tracks all active WebSocket connections. Each connection has:auth: null). After auth/connect succeeds, the connection is associated with an agent.
Broadcaster
Fan-out events to all participants in a conversation:Heartbeat
The server sends WebSocket ping frames on an interval (configured inpolicy.heartbeatIntervalMs). Connections that miss 3 consecutive pongs are closed.