DeepSeek Harness 原生无头及可视化 Chromium 浏览器自动化插件:支持 DOM 树提取、网页截图捕获及内置 SSRF 安全防护。
安装
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:menotbobbybrown/dsh-plugin-browser
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
Native Headless & Visible Web Browser Automation Agent Plugin for DeepSeek Harness (
dsh)
dsh-plugin-browser empowers DeepSeek Harness agents with native web browsing, live page content extraction, DOM parsing, form interaction, and visual screenshot verification.
Features
- 🌐 Web Navigation & Exploration: Navigate to any public or internal website URL.
- 📄 Semantic Markdown & Link Extraction: Convert complex HTML pages into clean, token-efficient Markdown.
- 📸 Visual Screenshots: Capture high-resolution visual snapshots for multi-modal verification.
- 💻 CLI Utility (
dsh-browser): Direct terminal commands (open,extract,screenshot). - 🧩 Cordis Native: Automatically exposes
browser_navigate,browser_extract, andbrowser_screenshottools.
Installation
# Add from GitHub
dsh plugin --profile web add "github:menotbobbybrown/dsh-plugin-browser"
CLI Usage
# Navigate to a URL and inspect HTTP status
npx dsh-browser open https://news.ycombinator.com
# Extract clean Markdown and hyperlinks
npx dsh-browser extract https://github.com/deepseek-ai/deepseek-harness
# Capture a screenshot
npx dsh-browser screenshot https://github.com my_screenshot.png
Programmatic Usage (Cordis API)
import { Context } from 'cordis';
import * as BrowserPlugin from 'dsh-plugin-browser';
const ctx = new Context();
ctx.plugin(BrowserPlugin);
// Navigate to a URL
await ctx.browser.navigate('https://deepseek.com');
// Extract clean markdown
const { markdown, links } = await ctx.browser.extract();
// Capture screenshot
const screenshot = await ctx.browser.screenshot();
License
MIT © DeepSeek Harness Community
🤝 Contributing
Contributions are warmly welcome! Whether you are reporting an issue, proposing an adapter, optimizing performance, or fixing a bug, please check out our Contributing Guide.
- Fork the Project
- Create your Feature Branch (
git checkout -b feat/AmazingFeature) - Commit your Changes (
git commit -m 'feat: add some AmazingFeature') - Push to the Branch (
git push origin feat/AmazingFeature) - Open a Pull Request
📄 License & Community
Distributed under the MIT License. See LICENSE for more information.
Built with 💙 for the DeepSeek Harness community.
链接
同类插件
Tencent/BrowserSkill#dsh-plugin-browserskill★ 9929
BrowserSkill 的 DeepSeek Harness 浏览器自动化桥接插件,通过原生浏览器工具控制可见的 Chrome 和 Edge Agent Window,支持可访问性与 VOM 页面观察、截图、隔离的多会话控制和 Web UI 实时观察浮层。
omdsh-dev/dsh-browser#packages/browser/bridge-browser★ 966
Chrome 侧边栏扩展,让 DSH 直接操控你的浏览器,无需视觉能力。
liustack/modsearch★ 911
纯文本 agent 的联网搜索桥:搜索网页与 X,返回结构化 JSON 证据(search/fetch/引用)。
DDDMUC/dsh-free-search★ 817
DSH 免费搜索插件:7 个引擎(DuckDuckGo/Bing/SearXNG 免费 + Exa/Perplexity/DeepSeek 付费)、自动回退、设置页 UI(API key 输入 + 官网链接)、web_fetch、引擎测试工具。
Fisfzy/dsh-ego-browser★ 395
用 35 个结构化工具从 DeepSeek Harness 驱动真实 Chrome/Chromium:导航、语义快照、点击、表单、JavaScript/CDP、截图、下载与标签页管理;右侧边栏实时镜像页面,并支持鼠标键盘直接接管。插件自带受管 CDP 运行时,跨调用保留登录状态,并可通过配套 Chrome 扩展从日常浏览器导入 cookie。
wqty123/dsh-browser★ 162
共享真实浏览器:用户可观看并随时接管的原生 Electron 窗口,agent 通过 CDP 驱动,内置 20 个 browser_* 工具(打开/快照/执行/填表/截图/下载/登录态);任务级会话隔离、登录态持久化、人机验证识别,纯 `dsh web` 无需桌面外壳即可自托管。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。