fix(browser): describe tabs.open focus as an explicit opt-out (#49877)

This commit is contained in:
Luke Parker
2026-09-19 11:55:49 +10:00
committed by GitHub
Unverified
parent 7b7a67080e
commit 871db0025e
+8 -2
View File
@@ -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(