From c7e7775bf585918a0a976d335f2548bb3a4f8b40 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Feb 2026 07:56:34 +0000 Subject: [PATCH] Document lowercase token query key requirement Co-authored-by: Theo Browne --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index fe0292a2d4..ebaa57df70 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 (even when duplicate values match) to avoid ambiguous auth parsing. +- Runtime auth token lookup is strict on the lowercase `token` query key; alternate key casing is rejected. - Connections with unexpected query parameters are rejected (auth mode requires only `token`; no-auth mode allows no query params). - WebSocket control connections are accepted only on the root runtime path (`/`) to keep the API surface narrow. - Unauthorized websocket attempts close with code `4001` and reason `unauthorized`.