DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-browser

K

dsh-browser

Manifest valid

Controlled browser automation for DeepSeek Harness: the agent_browser tool and BrowserAutomationService drive a real Chromium or Chrome page (or an explicit CDP endpoint) through the agent-browser CLI

hasBundlePatch

@kasenri/dsh-browser

This repository is an installable release mirror for @kasenri/dsh-browser 0.1.0. Canonical source: https://github.com/KasenRi/dsh-orbit-browser-plugins/tree/main/packages/browser Do not develop features here; publish changes from the canonical source monorepo. Community plugin for DeepSeek Harness (DSH). Not affiliated with or endorsed by DeepSeek.

让 AI 真正操作浏览器完成任务。 支持打开网页、点击、输入、翻页、读取内容和下载文件等操作,可用于网页测试、信息采集和自动化流程,并提供域名限制等安全控制。

Technical integration:

  • a BrowserAutomationService on ctx.browserAutomation
  • a model-facing agent_browser tool that drives the agent-browser CLI
Harness native infrastructure (agents, tools, sessions)
        │
        ▼
@kasenri/dsh-browser
        │  BrowserAutomationService + agent_browser tool
        ▼
agent-browser CLI  →  Chromium / Chrome  (or an explicit CDP endpoint)

Requirements

ComponentTested with
@deepseek-ai/dsh0.1.5-rc.2
@deepseek-ai/cordis4.0.2
agent-browser0.33.2 (must be on PATH)
Node.js>= 22.19.0
BrowserChromium / Google Chrome (or an Electron/CDP debug endpoint)

DSH is in developer preview and evolves quickly; this package is tested with the versions above, not with every future DSH release.

Install

The package is published to the npm Registry; the dedicated Git distribution mirror remains available when a Git source is preferred:

dsh plugin --profile web add @kasenri/dsh-browser
# Git source alternative, tracks the mirror repository HEAD:
# dsh plugin --profile web add github:KasenRi/dsh-browser

The package declares a dsh.bundle patch, so dsh plugin add registers it as a profile layer automatically. Restart the profile (or start a new session) after installing.

The canonical source is maintained in the source monorepo. The source monorepo's versioned Release tarballs remain available for manual or offline fallback, but the Market uses this dedicated Git repository so updates can compare the locked commit with HEAD.

If agent-browser is not on PATH, point the plugin at an executable with the command config key, the executablePath config key, or the DSH_BROWSER_EXECUTABLE_PATH environment variable.

Tool input modes

agent_browser accepts exactly one of:

ModePurpose
argsRaw agent-browser argv (e.g. ["open", "https://…"], ["snapshot", "-i"]).
semanticActionStable target: action + locator/role/name/selector.
jobShort deterministic multi-step batch (steps, failFast).
qaPage QA preset (url or attached, expected text/selector, diagnostics).
electronExplicit CDP attach: `{ action: "connect", port
sourceLookupCandidate source locations from DOM/React evidence + bounded workspace scan.
networkSourceLookupFailed-request evidence + candidate source/workspace hints.

Standard workflow: open → snapshot -i → use the current @refs → click/fill/select → snapshot -i again after the page changes.

Other options: stdin (only for batch, eval --stdin, auth save --password-stdin), outputPath (atomic 0600 write of the structured result), timeoutMs, sessionMode (auto | fresh).

What it protects

  • Stale refs — refs are page-scoped; mutations against refs that are not in the latest snapshot of the same target are blocked before any browser call.
  • Tab drift — an unexpected active-target change (including about:blank) invalidates refs and triggers exactly one deterministic recovery via tab list + tab <id>; ambiguity fails as tab-drift instead of guessing.
  • Artifacts — screenshots, downloads, PDFs, HAR/trace/record files are verified on disk (existence, size, type) before success is reported.
  • Secrets and protected state — .agent-browser state, password stores and cookie databases are blocked; credential-shaped values are redacted from all tool output.
  • Domain containment — when allowedDomains is configured, known URLs are preflighted, the managed context launches with upstream --allowed-domains, and the final URL is verified. CDP attach (electron/connect) is refused while containment is enabled, because it cannot be enforced on an existing browser context.
  • Human verification — CAPTCHA, OTP, passkey, WebAuthn and 2FA are never bypassed; the tool reports what it saw and stops.

Large outputs are compacted into a bounded preview plus a spill file instead of being pushed into the model context.

Configuration

KeyDefaultMeaning
commandagent-browserExecutable to invoke.
namespace—Optional agent-browser namespace.
executablePathDSH_BROWSER_EXECUTABLE_PATHChromium/Chrome executable for the managed context.
timeoutMs35000Default per-call subprocess timeout.
maxOutputChars8000Inline output budget before spilling.
maxOutputLines120Inline line budget before spilling.
spillDir~/.dsh/browser-artifactsWhere compacted outputs are written.
allowedDomains[]Domain allowlist for strict containment.
registerTooltrueRegister the agent_browser tool.

License

MIT

Comments

Loading…

Similar plugins

dsh-browser-ops

Browser automation for DeepSeek Harness: agent-driven real-browser control (managed Chrome with an isolated persistent profile, or attach to your daily Chrome over CDP) with snapshot, click, fill and

Tools & CapabilitiesManifest valid

★ 0

dsh plugin --profile web add dsh-browser-ops

by ZSeven-W

DeepSeek Harness plugin for browser automation, headless first. Every agent gets its own throwaway Chrome/Edge/Chromium profile, short-lived semantic references instead of CSS selectors, scoped subtre

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 24, 2026

dsh plugin --profile web add @zseven-w/dsh-browser

by chaserchan

DSH plugin: drive a real Chrome from your dsh agent via the browser-use Browser Harness (local, no API key).

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 25, 2026

dsh plugin --profile web add dsh-browser-harness

by caob23

Chrome 浏览器扩展 + DeepSeek Harness 插件,让 AI Agent 直接操控你的真实浏览器。

Tools & CapabilitiesManifest valid

★ 21

↓ 355/wk

AGPL-3.0

JavaScript

Sep 4, 2026

dsh plugin --profile web add @caob23/dsh-browser-control

Native DeepSeek Harness browser-agent plugin providing session-isolated Chromium automation with CDP and DOM tools.

Tools & CapabilitiesManifest valid

★ 0

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

by guo6x

Give your DSH agent hands: drive a real browser (Edge/Chrome over CDP) from the chat — ref-driven clicking, per-session browsers, and a live cockpit panel. Zero runtime deps, no API key.

Tools & CapabilitiesTerminal & ClientsDevelopment & InfrastructureUI & ExperienceManifest valid

★ 22

↓ 180/wk

MIT

JavaScript

Sep 13, 2026

dsh plugin --profile web add dsh-pilot