Document string websocket error payload diagnostics

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 09:03:15 +00:00
1 parent 8b92651bdf
commit a4069fb203
1 file changed
+1 -1
+1 -1
View File
@@ -81,7 +81,7 @@ Runtime command semantics:
- In-flight renderer requests now surface unauthorized/replacement disconnect causes explicitly.
- Renderer also fails in-flight requests immediately on websocket `error` events (without waiting for close) for faster feedback.
- After reconnect, renderer ignores stale events from prior sockets (including provider and agent streams) to avoid cross-connection state corruption.
- Initial websocket connect failures now include detailed diagnostics from socket/open and constructor failures (including nested error payload messages when present).
- Initial websocket connect failures now include detailed diagnostics from socket/open and constructor failures (including nested or string error payload messages when present).
- Subsequent requests automatically reconnect after close/error disconnects, including idle (no pending request) error scenarios.
- Renderer now proactively resets the websocket after request send failures, rejects any in-flight requests, and reconnects cleanly on later requests.
- Runtime validates request payloads with shared Zod contracts.