From 871db0025e82fdd5c11d251772dbf755b97951bf Mon Sep 17 00:00:00 2001 From: Luke Parker <10430890+Hona@users.noreply.github.com> Date: Sat, 19 Sep 2026 11:55:49 +1000 Subject: [PATCH] fix(browser): describe tabs.open focus as an explicit opt-out (#49877) --- packages/plugin-browser/src/rpc.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/plugin-browser/src/rpc.ts b/packages/plugin-browser/src/rpc.ts index 1e44a86350c..ce3bde040ba 100644 --- a/packages/plugin-browser/src/rpc.ts +++ b/packages/plugin-browser/src/rpc.ts @@ -159,8 +159,14 @@ export const Operations = [ ), operation( "tabs.open", - "Open a browser tab. Defaults to about:blank and focused. Website traffic uses the connected server's network; localhost reaches that server.", - { url: optional(short), focus: optional(Schema.Boolean) }, + "Open a browser tab, show it in the Review pane, and select it. Defaults to about:blank. Website traffic uses the connected server's network; localhost reaches that server.", + { + url: optional(short), + focus: optional(Schema.Boolean).annotate({ + description: + "Default true: open the Review pane and select the new tab so the user sees it. Pass false only when the user asked for the tab to stay in the background.", + }), + }, Tab, ), operation(