返回目录
模型与 MCP 插件

dsh-browser-use

borncode-app/dsh-browser-use

Gives the agent native browser control through browser-use: the package installs itself into a managed environment, updates itself on every launch, and answers through first-class tools.

Stars
0
Forks
0
Issues
0
更新
9 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:borncode-app/dsh-browser-use

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

This repository has moved into one monorepo.

The BornCode plugins — agent customization, desktop control, auto-continue, auto-shutdown, browser use, session instructions, session sync, and the side chat — now live in borncode-app/dsh-borncode, one repository with one Plugins entry.

this repo new home
dsh-agent-customizer packages/dsh-agent-customizer
dsh-agent-desktop packages/dsh-agent-desktop
dsh-auto-continue packages/dsh-auto-continue
dsh-auto-shutdown packages/dsh-auto-shutdown
dsh-browser-use packages/dsh-browser-use
dsh-session-instructions packages/dsh-session-instructions
dsh-session-sync packages/dsh-session-sync
dsh-side-chat packages/dsh-side-chat

The code and its history are unchanged; only the repository is shared. Install dsh-borncode instead of the individual bundles. This repository stays open so the old links keep working.

dsh-browser-use

Native browser control for DeepSeek Harness, through browser-use.

release license plugin package


What it does

This plugin owns the Python browser-use package the same way dsh-agent-desktop owns its binary: it creates a managed virtual environment under ~/.dsh/browser-use/, installs the package into it, keeps it current from PyPI on every launch, and exposes the browser actions as first-class tools.

Two browsers come out of it:

  • the Harness browser tab — the tab the user watches in the sidebar, so every click is visible;
  • browser-use's own Chromium — a full DevTools-protocol page you can read and drive from code, for the heavy work.

Features

  • Managed environment — its own venv and its own Python from the Harness runtime; nothing leaks into your system.
  • Auto-update from PyPI — autoUpdate: true keeps browser-use current; pin it by turning that off.
  • First-class tools — browser_open, browser_tab_read, browser_tab_click, browser_tab_type, browser_tabs, browser_screenshot, browser_exec, browser_login, plus the sidebar-attach helper.
  • Read-then-act discipline — the tools return elements with indexes and refs, so the model re-reads after each action instead of reusing stale positions.
  • Cloud or local — drives the local Chrome by default; browser_login connects a Browser Use Cloud browser when a key is configured.
  • Bounded calls — toolTimeoutMs (120 s default) stops a page that never settles.

Requirements

DeepSeek Harness 0.2.x (Web GUI)
Runtime Python 3.12 + Node 24, both supplied by the Harness runtime
Disk ~170 MB for the venv after first install
Browser A local Chrome/Chromium; optional Browser Use Cloud key for remote browsers

Install

git clone https://github.com/borncode-app/dsh-browser-use.git dsh-browser-use

Then in DSH: Plugins → install the bundle from that directory, or:

plugin_manager install_bundle target=C:\path\to\dsh-browser-use

Restart once. The package installs itself into the managed venv on the first browser tool call.

Configuration

field default meaning
endpoint /plugins/browser-use Path the Web GUI reads and writes plugin data at
autoUpdate true Check PyPI for a newer release on every Harness launch
package browser-use Package the plugin installs and keeps current
registerTools true Register the browser_* tools the model calls
guideInPrompt true Add the operating guide to the model's system prompt
toolTimeoutMs 120000 Longest one browser command may run, in milliseconds

How it works

tool call ──▶ plugin host row ──▶ managed venv (python) ──▶ browser-use ──▶ CDP
                    │                                          │
                    └── install / update from PyPI ◀────────────┘

The venv can be thrown away at any time: the next call reinstalls it and nothing of yours is lost.

Files

file role
index.js host row: venv management, install/update, tool registration
cdp.js DevTools-protocol bridge for the owned Chrome
mcp.js JSON-RPC surface the tools speak
client.js the Settings page
cordis.patch.yml the bundle patch that inserts the row
locale/{en,th,zh}.json UI strings
icon.svg plugin icon

ภาษาไทย

Plugin นี้ให้ agent ควบคุมเบราว์เซอร์ได้จริง ผ่านแพ็กเกจ Python browser-use:

  • ติดตั้งลง virtualenv ที่ plugin จัดการเอง (~/.dsh/browser-use/venv) และอัปเดตจาก PyPI ทุกครั้งที่เปิด DSH
  • เพิ่ม tool browser_* ให้โมเดลเรียก (browser_open, browser_tab_read, browser_tab_click, browser_exec, …)
  • ขับ แท็บที่คุณเห็นใน sidebar ได้ (ทุกคลิกมองเห็น) หรือจะใช้ Chromium ของ browser-use เองก็ได้
  • ต่อ Browser Use Cloud ได้ผ่าน browser_login ถ้ามี key
  • ลบ venv ทิ้งได้ตลอด เรียกครั้งถัดไปมันจะติดตั้งใหม่เอง

License

MIT © 2026 BornCode

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。