wqty123/dsh-browser 预览 preview

wqty123/dsh-browser

Plugin插件 Native原生 ⭐ 99 MIT Search & Web Access搜索与联网

DeepSeek Harness共享真实浏览器插件

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness that adds a shared real browser capability to DSH agents. Once installed via either the npm command dsh plugin --profile web add dsh-builtin-browser or a local source directory, DSH agents automatically get access to 33 browser-specific tools to handle common web interactions. It can embed directly into the DSH desktop shell when available, or spin up a self-hosted Electron window for pure dsh web environments, requiring no extra configuration from the end user. All tools work out of the box immediately after installation.

Unlike headless browser solutions that only return screenshots or parsed content, this plugin provides a native browser view that lets users watch the agent’s every step in real time. Users can manually take over control of the browser at any point, enabling smooth human-AI collaboration for web tasks. It supports DOM-level interaction that works reliably with modern React and Vue pages, and can handle common real-world needs like human verification, bulk form filling, and authenticated file downloads. It also isolates sessions per task so multiple concurrent tasks do not interfere with each other or share conflicting login states.

This plugin is released under the open-source MIT license, so it can be used and modified freely for most use cases. It was originally verified to work on Windows, but has gone through multiple rounds of bug fixes to add and improve support for macOS and Linux. It includes automatic session recovery for self-hosted instances that crash or restart, and persistent login states via saved cookies. It also includes safety restrictions that prevent agents from accidentally navigating to unapproved sites. Regular updates add new features and fix reported issues, making it stable for regular use.

这是一款专为 DeepSeek Harness 打造的原生插件,为 DSH 提供共享真实浏览器能力。安装完成后,agent 自动获得 33 个 browser_* 工具,可实现打开页面、操作元素、提取内容、截图、下载等功能。它既可以嵌入 DSH 桌面外壳,也能在纯 dsh web 环境中自托管拉起 Electron 窗口,无需额外配置,装好即可使用,支持任务级会话隔离。

不同于无头浏览器方案,本插件提供原生浏览器视图,用户可以实时看到 agent 的每一步操作,随时可以手动接管操作,实现人机协同。它支持 DOM 级驱动,适配 React、Vue 等框架页面,能处理人机验证、批量填表、带登录态下载等真实场景的需求,适合需要人机协作完成网页浏览、数据提取和自动化操作的用户。

本插件采用 MIT 许可开源,可通过两种方式安装:从 npm 安装可执行 dsh plugin --profile web add dsh-builtin-browser,从源码安装则指定本地仓库路径即可。目前已验证支持 Windows 系统,同时对 macOS 和 Linux 也做了多轮适配修复,会持续更新修复已知问题,自托管场景会自动处理会话自愈等异常。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-builtin-browser

把 wqty123/dsh-browser 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

GitHub stars npm version MIT License DeepSeek Harness plugin Platform: Windows (verified)

中文 · English

为 DeepSeek Harness 生态打造的共享真实浏览器插件(装好即用,人机同页)

agent 驱动一个真实、可见、可随时人工接管的浏览器——人与 agent 操作的是同一个页面。

文档

目标 入口
了解插件为什么存在、与无头方案的区别 为什么做共享真实浏览器
安装、配置与日常使用 用户指南
全部 34 个工具的参数、输出与示例 工具参考
了解 seam / provider / 工具三层与自托管实现 架构说明
查看全部文档与 README 分工 文档索引

这是什么

dsh-builtin-browser 给 DeepSeek Harness 提供浏览器能力:

  • 真实页面,而非转播:页面由真实的浏览器承载 —— 桌面端就是官方侧栏里那一个,Web 端是插件拉起的窗口,也可以在设置里改用你本机的 Chrome / Edge。用户直接看到 agent 在做什么,随时可以上手接管;
  • 人机同页(桌面端):agent 操作的页面与人看到的是同一个页面 —— 不再是一个你看不见的窗口;
  • 装好即用:载体自动选择(桌面端侧重侧栏 → 否则自托管),纯 dsh web 不需要任何额外配置;
  • 一插件即一套工具:安装后 agent 自动获得 34 个 browser_* 工具(打开、查看、无障碍树、等待、语义/坐标操作、滚动、回退、批量/单控件填表、按键、结构化提取、截图、下载、登录态管理……)。

一句话:安装插件 = 获得一个与用户共享、可被 agent 驱动的真实浏览器。

快速开始

插件要装进你要用的那一端的 profile 里。两端都装也可以,一份代码两个 profile 各一份。

Web 端(纯 dsh web)

# 从 npm 安装
dsh plugin --profile web add dsh-builtin-browser
# 或从源码目录安装(独立仓库,一插件一仓库)
dsh plugin --profile web add <本仓库路径>

桌面端(DSH Desktop)

# 1. 装进桌面端 profile
dsh plugin --profile desktop add dsh-builtin-browser

# 2. 桌面端特有的一步:让插件能驱动官方侧栏的页面
node <本仓库路径>/desktop-bridge/install.mjs

第 2 步不是可选项,而且每次都要重来一次:桌面端升级会替换 resources/app/,bridge 也随之消失;插件更新后同样需要重装。bridge 不在时插件自动退回"自己开一个独立窗口",功能不中断,只是失去"人机同页"。Web 端没有这一步。

更新(两端方式不同,详见更新方式)

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-acp-interactive 下一个 Next dsh-remote →