Repository navigation
Releases: AshenJyy/browser-bridge
Release list
Browser Bridge 2.0.2
DSH 版本范围改为 >=0.2.1-rc.3 <=0.2.1,允许当前及后续 0.2.1-rc.* 和 0.2.1 正式版,无需逐个登记版本。
engines.dsh与@deepseek-ai/dsh-mcp-clientpeer 依赖使用相同范围。- 开发依赖继续固定在 rc.3;浏览器控制逻辑与协议保持不变。
- 下载 DSH
.tgz安装包升级插件。Antigravity.zip同步提供 2.0.2 打包版本。
已完成构建与打包。按要求未运行测试、逐版本验证或宿主端到端验收。
v2.0.1 — Browser Bridge for DSH, Antigravity and Edge
DSH Desktop 和 Antigravity App 现在分别通过原生工具与 MCP 插件连接同一 Edge 扩展,直接操作日常浏览器的标签页和登录状态。
- App 安装器按官方格式安装到全局插件目录,只需 Node.js,不再依赖外部 CLI 或子代理。
- DSH 保持官方原生插件格式,增加共享端口与状态目录配置。
- Windows 默认状态目录改为
%USERPROFILE%\.browser-bridge,避免不同桌面宿主的 AppData 重定向造成配对冲突;首次创建时保留并迁移有效的旧默认令牌。 - 更新内置技能与 MCP 指引,使当前宿主直接使用
browser_*工具控制已有 Edge。
升级:在 DSH 中安装新版 TGZ,重跑 App 安装器,运行一次 scripts/Repair-Pairing.ps1,然后重启两端。若以前产生过不同令牌,在 Edge 扩展中更新为统一目录的令牌一次即可。
本次完成构建和打包,按要求未运行测试或双宿主端到端验收。
v2.0.0 — Browser Bridge for DSH, Antigravity and Edge
Browser Bridge 2.0 unifies the existing Edge bridge for DeepSeek Harness Desktop 0.2.1-rc.3, Antigravity App, and the agy CLI used by DSH subagents.
Changes
- Native DSH npm bundle plus a shared stdio MCP adapter for Antigravity App / agy.
- 27 browser tools: page content, snapshots, exact-tab screenshots, navigation, clicking, typing, keyboard, scrolling, selection, waiting, uploads, downloads, and dialogs.
- Persistent browser instance IDs and explicit tab ownership for concurrent clients; DSH scopes ownership to agent sessions, Antigravity to MCP processes.
- Authenticated local pairing, task tab groups, reconnect handling, and explicit stale-reference errors.
- Node.js runtime replaces the Python daemon. Release ZIP includes bundled JavaScript; Windows launchers can use DSH's Node runtime.
- Pairing repair command preserves the token and restarts only recognized Browser Bridge processes. Installer supports App / agy sharing the same plugin directory.
Downloads
dsh-browser-bridge-2.0.0.tgz: add as a local plugin in DSH Desktop.browser-bridge-antigravity-2.0.0.zip: Antigravity App / agy plugin, Edge extension, setup and pairing scripts. Download this ZIP for the unpacked Edge extension even when using only DSH.
Migration
Stop the v1 service and reload/update the Edge extension. v2 uses authenticated HTTP and WebSocket on 127.0.0.1:9224; old HTTP routes, port 9223 and numeric-only tab IDs are retired. Pair each Edge profile once. If pairing reports a port or token mismatch, run scripts/Repair-Pairing.ps1. Restart Antigravity App and open a new agy subagent session after installation.
Validation status
This release was packaged without running automated tests, browser tests, or end-to-end host acceptance. Compatibility and operation have not been established by those tests. See the README and installation guide for iframe, model-image, download-tracking, and session-isolation limits. Antigravity IDE is outside this release's integration scope.
本版将原项目改造为通用 Browser Bridge,支持 DSH Desktop v0.2.1-rc.3、Antigravity App 和 DSH 子代理调用的 agy。安装包包含 27 个浏览器工具、原生 DSH 插件、MCP 接入、Edge 扩展及配对修复脚本。正常只需配对一次。
本版未运行自动化测试、浏览器测试或双宿主端到端验收。 升级前停用旧服务并更新扩展,详细安装步骤见仓库文档。
v1.4.1: Smart Tab Group Lifecycle & Auto-Disband
English
Antigravity Browser Bridge v1.4.1 refines the tab grouping lifecycle to ensure strict boundary separation between agent operations and everyday user browsing.
What's Changed
- Isolated Grouping for Agent Tabs Only:
- The native purple
[Gemini]tab group is now only created when the agent explicitly opens a new tab viacreate_tab(opencommand /POST /new_tab). - Attaching to or inspecting existing user tabs will no longer add them into the group.
- The native purple
- Automatic Group Disband & Teardown:
- The
[Gemini]group automatically ungroups and disbands as soon as all agent-opened tabs are closed (either viaclose_tabor by clickingXin the browser tab bar). - Group cleanup runs automatically on extension startup to remove any orphaned groups from previous sessions.
- The
- Ungroup Command:
- Added CLI
ungroupcommand (py server/cli.py ungroup [--tab <tabId>]) and HTTPPOST /ungroupendpoint to manually disband the group or ungroup tabs at any time.
- Added CLI
Installation & Upgrade
- Download
antigravity-browser-bridge-v1.4.1.zipfrom Assets below and extract it. - In Edge (
edge://extensions/) or Chrome (chrome://extensions/), enable Developer mode. - Click Load unpacked (or click the reload icon on the existing extension card).
- Run the local server:
python server/server.py.
简体中文
Antigravity Browser Bridge v1.4.1 重点重构了原生标签页组的生命周期管理,确保 AI 自动化操作与用户日常网页严格物理隔离。
更新内容
- 仅对 AI 新开网页启用标签组:
- 仅当由 AI 主动新建标签页(
create_tab/open指令 /POST /new_tab)时,新标签页才会归入紫色的[Gemini]标签组。 - 读取、点击或审查用户原本打开的既有标签页时,不再将其强行移入标签组,完全保持原样。
- 仅当由 AI 主动新建标签页(
- 不开/关闭时自动解散标签组:
- 监听到所有由 AI 开启的标签页被关闭时(无论是通过
close_tab指令还是用户手动点击X关闭),系统会自动调用chrome.tabs.ungroup彻底解散并销毁[Gemini]分组。 - 插件启动或服务重连时自动执行孤立分组清理,杜绝历史残留。
- 监听到所有由 AI 开启的标签页被关闭时(无论是通过
- 新增一键解散指令:
- CLI 命令行新增
py server/cli.py ungroup [--tab <tabId>],HTTP 新增POST /ungroup接口,支持随时解散标签组。
- CLI 命令行新增
安装与更新
- 在下方 Assets 中下载
antigravity-browser-bridge-v1.4.1.zip并解压。 - 打开 Edge(
edge://extensions/)或 Chrome(chrome://extensions/)扩展管理页面。 - 开启开发者模式,点击加载已解压的扩展程序(若已安装则点击扩展卡片上的刷新图标)。
- 运行后台服务:
python server/server.py。
v1.4.0: Bilingual UI & Concurrent Multi-Browser Routing
English
Antigravity Browser Bridge v1.4.0 introduces an adaptive bilingual UI, concurrent multi-browser routing, and direct Chrome DevTools Protocol (CDP) execution.
What's New
- Bilingual Adaptive UI (i18n):
- Automatically matches browser system language (Simplified Chinese in Chinese locales, English elsewhere).
- One-click
[English / 中文]toggle in popup header, persisted locally inchrome.storage.local. - Full localization across connection status, buttons, tab details, and instructions.
- Concurrent Multi-Browser Routing:
- Refactored WebSocket server to maintain concurrent, non-interfering connections with both Microsoft Edge and Google Chrome.
- Tab-to-browser reverse mapping (
tab_to_browser) accurately dispatches CDP commands to the appropriate browser process.
- Direct CDP Execution:
- Added
cdpCLI command (py server/cli.py cdp <tabId> <method> [params_json]) andPOST /cdpHTTP endpoint to dispatch raw Chrome DevTools Protocol commands.
- Added
- Dynamic Versioning:
- Popup UI dynamically queries
chrome.runtime.getManifest().versionto prevent version desynchronization.
- Popup UI dynamically queries
Installation & Upgrade
- Download
antigravity-browser-bridge-v1.4.0.zipfrom Assets below and extract it. - In Edge (
edge://extensions/) or Chrome (chrome://extensions/), enable Developer mode. - Click Load unpacked (or click Reload if updating an existing installation).
- Run the local server:
python server/server.py.
简体中文
Antigravity Browser Bridge v1.4.0 带来弹窗中英双语自适应 UI、多浏览器并发路由以及底层 Chrome DevTools Protocol (CDP) 指令直发能力。
更新内容
- 智能中英双语自适应 UI (i18n):
- 自动匹配浏览器语言偏好(中文环境原生展示简体中文,其他语言默认展示英文)。
- 弹窗顶栏新增
[English / 中文]快速切换按钮,语言设置通过chrome.storage.local本地持久化保存。 - 界面全量元素国际化,涵盖连接状态、操作按钮、标签页信息与帮助说明。
- 多浏览器并发支持与智能路由:
- 重构底层 Python WebSocket 服务,支持 Microsoft Edge 与 Google Chrome 同时保持长连接,互不干扰、互不顶替。
- 建立全局标签页反向映射表(
tab_to_browser),向任意 Tab 发送操作时自动精准分流至所属浏览器。
- 原生 CDP 调试指令支持:
- CLI 命令行新增
cdp指令(py server/cli.py cdp <tabId> <method> [params_json]),HTTP 新增POST /cdp接口,支持向页面直接发送底层 CDP 协议指令。
- CLI 命令行新增
- 版本号动态同步:
- 弹窗改为动态读取
chrome.runtime.getManifest().version,彻底杜绝版本滞后。
- 弹窗改为动态读取
安装与更新
- 在下方 Assets 中下载
antigravity-browser-bridge-v1.4.0.zip并解压。 - 打开 Edge(
edge://extensions/)或 Chrome(chrome://extensions/)扩展管理页面。 - 开启开发者模式,点击加载已解压的扩展程序(若已安装则点击重新加载图标)。
- 运行后台服务:
python server/server.py。
v1.3.0: Initial Release
English
Initial release of Antigravity Browser Bridge, providing direct browser automation for Microsoft Edge and Google Chrome via Chrome DevTools Protocol (CDP).
Key Features
- Real Browser Automation: Directly automates existing Microsoft Edge or Google Chrome sessions, retaining stored logins, cookies, and local state.
- Native Tab Grouping: AI-controlled tabs automatically group into a distinct, labeled purple
[Gemini]tab group. - CDP Protocol Access: Full support for DOM snapshots, selector-based clicking, typing, text extraction, page screenshots, and JavaScript evaluation.
- Self-Healing Background Daemon: Background service listens on local loopback (
ws://127.0.0.1:9223,http://127.0.0.1:9224) and can be auto-launched on demand. - Local Loopback Security: 100% offline and private; zero cloud relays or telemetry.
Installation
- Download
antigravity-browser-bridge-v1.3.0.zipfrom Assets below and extract it. - In Edge or Chrome, open
edge://extensions/orchrome://extensions/. - Enable Developer mode and click Load unpacked.
- Select the extracted
extension/folder. - Start the local server:
python server/server.pyor double-clickstart_silent.vbs.
简体中文
Antigravity Browser Bridge 首个正式版本,通过 Chrome DevTools Protocol (CDP) 为 Microsoft Edge 与 Google Chrome 提供直接的本地浏览器自动化控制。
核心特性
- 真实浏览器控制:直接复用本地 Edge / Chrome 的日常会话与 Cookie,无需重新登录即可操作已有网站。
- 原生标签页组收纳:所有自动化标签页自动归集到带有紫色标记的
[Gemini]原生标签页组中,便于辨识与管理。 - 底层 CDP 协议支持:支持交互元素快照提取、编号/选择器点击、模拟输入、纯文本提取、截图与 JavaScript 脚本执行。
- 后台服务自愈:通过本地回环提供服务(
ws://127.0.0.1:9223与http://127.0.0.1:9224),支持按需自动拉起后台守护进程。 - 纯本地安全通信:所有通信严格限制在
127.0.0.1,无任何云端中继或遥测数据外泄。
安装与启动
- 在下方 Assets 中下载
antigravity-browser-bridge-v1.3.0.zip并解压。 - 在浏览器中打开
edge://extensions/(Edge)或chrome://extensions/(Chrome)。 - 开启开发者模式,点击加载已解压的扩展程序。
- 选择解压出的
extension/文件夹。 - 启动后台服务:运行
python server/server.py或双击start_silent.vbs。