From 1b65041ac3e2238ff1d1b488bbb776d936b6f1cc Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Feb 2026 05:28:23 +0000 Subject: [PATCH] Document root-path websocket connection requirement Co-authored-by: Theo Browne --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c43fda84c0..2395d0b41e 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,7 @@ Runtime command semantics: - Launch URLs include an ephemeral WebSocket token so only the opened browser session can attach. - Connections missing the token (or using a wrong token) are rejected by the runtime. - Connections with duplicate token query parameters are also rejected to avoid ambiguous auth parsing. +- WebSocket control connections are accepted only on the root runtime path (`/`) to keep the API surface narrow. - Browser renderer talks through a typed `NativeApi` adapter over that WebSocket. - Runtime currently enforces a single active browser client (new client replaces old one). - Runtime validates request payloads with shared Zod contracts.