Repository navigation
feat(browser): add browser_open_window to open and follow a new window - #125
Open
zzalancelot wants to merge 1 commit into
Open
zzalancelot wants to merge 1 commit into
zzalancelot wants to merge 1 commit into
Conversation
Mirror browser_open_tab via chrome.windows.create so agents can open a URL in a new browser window and bind its tab as the controlled target.
4 tasks done
graydovee
added a commit
to graydovee/dsh-browser
that referenced
this pull request
Oct 19, 2026
Upstream-PR: omdsh-dev#125 Source: origin/pr/125 @ 2c12f81 Author: zhaozian <1161954287@qq.com> Adaptation: 工具描述字符预算随工具数扩容到 1650,并补每工具平均 <105 字符断言
4 tasks done
graydovee
added a commit
to graydovee/dsh-browser
that referenced
this pull request
Oct 19, 2026
登记 omdsh-dev#92/omdsh-dev#125/omdsh-dev#99/omdsh-dev#110 的 fork PR、merge SHA 与适配记录。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirror browser_open_tab via chrome.windows.create so agents can open a URL in a new browser window and bind its tab as the controlled target.
Summary
Add
browser_open_windowso the agent can open an HTTP(S) URL in a new browser window and make that window’s tab the controlled target.Motivation
browser_open_tabonly opens a tab in the current window. Some workflows need a separate window (isolation, multi-monitor, or keeping the current window undisturbed). This mirrors the open-tab path withchrome.windows.create.Changes
browser_open_windowon the bridge tool surface (url, optionalfocused)dispatchOpenWindowin the extension: blank window → arm readiness → navigate → rebind affinity → optional snapshotTesting
pnpm run typecheckpnpm run test(extension + bridge-browser)focused: falseopens without stealing focusImpact
browser_open_tabbehavior; prefer that tool when a same-window tab is enoughChecklist
pnpm run typecheck/pnpm run test)