dsh-plugin-browser
开发工具 活跃维护

dsh-plugin-browser

menotbobbybrown/dsh-plugin-browser

原生浏览器自动化代理插件,可模拟真实用户操作完成网页信息采集、表单提交、交互测试等任务,开箱即用,无需额外配置复杂环境即可实现浏览器流程自动化。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
TypeScript
主要语言
None
开源协议
27 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:menotbobbybrown/dsh-plugin-browser
git clone https://github.com/menotbobbybrown/dsh-plugin-browser.git
git clone git@github.com:menotbobbybrown/dsh-plugin-browser.git
README.md main

dsh-plugin-browser

Native Headless & Visible Web Browser Automation Agent Plugin for DeepSeek Harness (dsh)

License: MIT
DeepSeek Harness

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, and browser_screenshot tools.

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