mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-19 17:01:37 +03:00
fix(browser): describe tabs.open focus as an explicit opt-out (#49877)
This commit is contained in:
committed by
GitHub
Unverified
parent
7b7a67080e
commit
871db0025e
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user