dsh-browser-plus
Manifest valid★ 4Enhanced shared browser for DeepSeek Harness: visible + AI-driven WebContentsView, ego-style page chrome, operation trail, JS dialog auto-accept, per-task windows & spaces, Electron 42.x pinned
dsh-browser-plus
专为 DeepSeek Harness(DSH)打造的 EGO 风格可视化 Agent 浏览器。基于 dsh-browser 构建,支持人机协同操作:用户可以在真实页面中操作,Agent 也能同步执行、接管和恢复任务。浏览器支持多任务流并行管理与切换,并完整记录 Agent 的操作轨迹;任务流和操作轨迹均配备独立的可视化菜单面板,让任务状态、页面缩略图与操作过程一目了然。
基于 MIT 许可的 dsh-browser 代码基础持续开发,并由 ParticleLight 独立维护。
为何使用它
浏览器自动化不应躲在用户看不见的进程里。dsh-browser-plus 把浏览器窗口留在用户眼前,同时让 agent 获得可靠的 CDP 操作能力。
- 真实可见:Electron
WebContentsView,不是 headless relay。 - 任务隔离:所有 DSH session 共享一个可见窗口,但各自保留隔离的任务视图、标签与历史;页面任务管理器切换可见视图,
browser_space命名浏览器任务。 - 人机协作:工具栏默认隐入页面上方,顶部中间悬停后可展开;书签、任务工作区与操作轨迹都在真实页面上运行,用户可在工具栏最右侧接管或显式交还给 Agent。
- 玻璃工作区:任务与操作轨迹是彼此独立的半透明玻璃面板,可同时打开;每项任务显示执行中、等待用户、用户接管、失败或空闲状态。缩略图仅在任务面板打开时为当前可见任务按需刷新,后台任务保留最后图像。

- 真实输入:键盘、鼠标、hover、双击和文件选择都走 CDP,而不是
element.click()伪事件。 - 恢复能力:child 回收后会重新物化相同会话的视图;恢复后的首张截图等待 compositor 稳定。
- 稳定基线:固定 Electron 42.9.3;43.4.1 的 compositor 故障会被 resolver 拒绝。
安装
dsh plugin --profile web add github:ParticleLight/dsh-browser-plus
已有浏览器 bundle 时,先阅读迁移指南,然后重启 DSH Web。
主要能力
| 场景 | 工具 |
| --- | --- |
| 打开与读取 | browser_open、browser_snapshot、browser_content、browser_screenshot |
| 语义导航 | browser_back、browser_forward、browser_reload、browser_stop、browser_scroll |
| 快照引用 | browser_click_ref、browser_scroll_into_view |
| 页面交互 | browser_click、browser_press_key、browser_double_click、browser_hover、browser_type |
| 表单与文件 | browser_fill、browser_upload_file、browser_wait_for |
| 任务与交接 | browser_tasks、browser_handoff、browser_list_tabs、browser_switch_tab、browser_close_tab、browser_space |
| 登录与恢复 | browser_auth、browser_reset_session、browser_history |
快照返回短生命周期的 snapshotId 与元素引用;优先用 browser_click_ref 或 browser_scroll_into_view 操作,页面变化后重新快照。页面级脚本会自动过滤浏览器自身 chrome。
工作方式
browser_* tools
-> BrowserRuntime (ctx.browser seam)
-> ElectronBrowserProvider (CDP)
-> RemoteElectronViewHost (loopback JSON-RPC)
-> host-main.js (BrowserWindow + WebContentsView)
页面 chrome 和任务管理器通过 closed Shadow DOM 注入,而不是第二个 Electron view;任务状态与轨迹以版本化增量消息同步,后台任务更新自己的隔离视图,不会抢走用户当前可见页面。
alert、confirm、prompt 会自动接受,避免页面卡死;下一次页面操作会把详情记到 browser_history 的 dialog 条目。
可靠性规则
- 不 reparent 可见
WebContentsView。 - CDP capture 回退只临时处理同一窗口的 sibling,并保证恢复。
- child 恢复后,native 和 full-page capture 都只等待一次 compositor settle。
- 对话框、截图、动态等待和 child recovery 均有回归测试与真实 SOAK 覆盖。
完整运行时检查见 SOAK-CHECKLIST。
开发
npm install
npm run build
npm test
npm run smoke:electron-host # 需要本地 DSH Web 已启动;验证真实 Electron Host 导航与页面交接
贡献方式见 CONTRIBUTING.md。更完整的使用说明在 docs。
License
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.4.1 | — | — |
Similar plugins
by stuarthu
DeepSeek Harness (dsh) browser companion: Chrome side panel embedding the full dsh web UI + host plugins for page reading, HTTP capture, and browser control.
★ 9
↓ 382/wk
MIT
JavaScript
Aug 22, 2026
dsh plugin --profile web add dsh-chromeby Nono-neko
An AI-native browser workspace for DeepSeek Harness (DSH), combining multi-tab browsing, live page annotations, lightweight code editing, workspace previews, and Agent-assisted iteration across Web an
★ 10
Apache-2.0
TypeScript
Sep 10, 2026
dsh plugin --profile web add @nono-neko/dsh-browserby c-ling
DeepSeek Harness 网页端的 AI 与科技快讯看板:内置 RSS/JSON 源驱动的可拖拽浮窗,支持双语翻译、关键词过滤和设置页。
★ 3
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-plugin-newsboardDeepSeek Harness automatically opens browser plugins and includes a built-in WebView2 program to achieve a lightweight desktop experience.
★ 0
↓ 212/wk
dsh plugin --profile web add dsh-auto-open-webby AI-Galaxy-GPU
DeepSeek Harness 插件:在 Web GUI 中为会话选择模型的推理程度(reasoning effort),星光推理选择器一键切换 Off / 默认 / High / Max。
★ 0
JavaScript
Aug 15, 2026
dsh plugin --profile web add dsh-effortby iimaguest
Browser tools, Chrome DevTools Protocol, and right-click annotation for the DeepSeek Harness agent — plus the desktop shell that owns the real Chromium beside your session
★ 0
MIT
JavaScript
Sep 13, 2026
dsh plugin --profile web add dsh-browser-annotate