docs(ext): experimentalIncludeAllTabs

This commit is contained in:
Simon
2026-03-30 22:08:09 +08:00
parent cba54967b8
commit 0b4eb6b49a
2 changed files with 9 additions and 0 deletions

View File

@@ -121,6 +121,11 @@ export interface ExecuteConfig {
// Include the initial tab where page JS starts. Default: true.
includeInitialTab?: boolean
// Control all unpinned tabs in the window instead of only the tab group.
// When enabled, agent sees and can switch to every non-pinned tab.
// Default: false. Experimental.
experimentalIncludeAllTabs?: boolean
onStatusChange?: (status: AgentStatus) => void
onActivity?: (activity: AgentActivity) => void
onHistoryUpdate?: (history: HistoricalEvent[]) => void
@@ -208,6 +213,7 @@ interface ExecuteConfig {
model: string
apiKey?: string
includeInitialTab?: boolean
experimentalIncludeAllTabs?: boolean
onStatusChange?: (status: AgentStatus) => void
onActivity?: (activity: AgentActivity) => void
onHistoryUpdate?: (history: HistoricalEvent[]) => void