From a4069fb20390622332b9e5e3fca9b3693cbef7b1 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Feb 2026 09:03:15 +0000 Subject: [PATCH] Document string websocket error payload diagnostics Co-authored-by: Theo Browne --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 085ae75d14..8b9ff6c985 100644 --- a/README.md +++ b/README.md @@ -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.