From ad47077040753562b9dc11a566c6bfd002a4ea70 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Mon, 6 Apr 2026 16:23:05 -0700 Subject: [PATCH] fix: remove stray `domains` reference crashing connect command The connect command's status fetch had an undefined `domains` variable in the JSON body, causing "Connect failed: domains is not defined" and preventing headed mode from initializing properly. Co-Authored-By: Claude Opus 4.6 (1M context) --- browse/src/cli.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/browse/src/cli.ts b/browse/src/cli.ts index c4b24b4c..d69b8309 100644 --- a/browse/src/cli.ts +++ b/browse/src/cli.ts @@ -848,9 +848,7 @@ Refs: After 'snapshot', use @e1, @e2... as selectors: 'Content-Type': 'application/json', 'Authorization': `Bearer ${newState.token}`, }, - body: JSON.stringify({ - domains, - command: 'status', args: [] }), + body: JSON.stringify({ command: 'status', args: [] }), signal: AbortSignal.timeout(5000), }); const status = await resp.text();