Document root-path websocket connection requirement

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 05:28:23 +00:00
1 parent 76be201215
commit 1b65041ac3
1 file changed
+1
+1
View File
@@ -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.