dsh-browser
DiscoveredAgentic browser plumbing for DeepSeek Harness: ctx.browser service (stealth launch, CDP-attach, local relay + companion extension driving your own tabs) backing the model-facing browser tool.
[!NOTE] 📦 This plugin lives in the dsh-plugins monorepo — file issues & pull requests there. npm:
@hy-sde-org/dsh-browser·@hy-sde-org/dsh-tool-browser
dsh-browser — agentic browser (stealth + relay/CDP-attach) for DeepSeek Harness
Two standalone packages, installable as one plugin for the DeepSeek Harness CLI:
| package | role | installed by users? |
|---|---|---|
@hy-sde-org/dsh-browser | the plugin: host-plane ctx.browser service (bundle row + preset example) | yes |
@hy-sde-org/dsh-tool-browser | the model-facing browser tool + browser:tools prompt section | yes |
This is the oh-my-pi (omp) browser tool surface — stealth plus
relay/CDP-attach — ported onto the harness ctx.browser service contract as
a standalone plugin with zero upstream harness changes: the service row
ships as a cordis.patch.yml bundle, the tool row ships as a ready-to-copy
agent preset, and every @deepseek-ai dependency resolves from the npm
registry at the 0.1.2-rc.1 baseline — so it installs on official DeepSeek
Harness releases (dsh-v0.1.2-rc.1 and later) exactly as it runs in the
hy-sde fork.
The surface
- Four backends —
app.pathspawns a stealth-patched browser binary (14 omp-puppeteer init scripts + stripped launch flags + spoofed UA/client-hints),app.patchspawns the CloakBrowser Chromium (71 source-level C++ fingerprint patches, optionalcloakbrowserpeer),app.cdp_urlattaches to any real Chrome-family CDP endpoint, andapp.relay/DSH_BROWSER_RELAY=1drives the user's own Chrome tabs through the in-process relay + companion MV3 extension. browsertool —open(navigate, optional post-load code),run(JS eval in a tab),state(current observation),close(one tab,all, andkillspawned browsers). Screenshots write PNG paths the model can re-read.- ARIA observations — every open/run/state returns a Playwright ARIA
snapshot with actionable
[ref=eN]ids, rendered by the vendored ARIA bundle in the page (same technique as omp).click/typeaddress elements by ARIA ref or CSS selector.
Tabs are namespaced per session id, so concurrent sessions never steer each other's tabs on the shared host browser.
Install
pnpm install --global @deepseek-ai/dsh
Direct from npm (published)
dsh plugin --profile web add @hy-sde-org/dsh-browser @hy-sde-org/dsh-tool-browser
From this repository (pre-publish)
pnpm install # workspace setup
pnpm -r build
pnpm --filter packages/browser/browser pack
pnpm --filter packages/browser/tool-browser pack
dsh plugin --profile web add <tarball-or-catalog-url>.tgz
prepack rebuilds dist/, so the tarball is always current. Then bring the
host row plus the tool row together in your composition as described under
"Mounting" below — or copy the ready-made preset from
packages/browser/browser/examples/agent-preset/ into
~/.dsh/.agent-presets/<id>/ and select it in the Web UI.
Mounting
- Service row (host plane): shipped as
cordis.patch.ymlin@hy-sde-org/dsh-browser;dsh plugin addinserts it into the profile's base composition. Theinsertform never touches existing rows, so it is safe on stock harness installs. - Tool row (agent plane):
- id: tool-browser / name: '@hy-sde-org/dsh-tool-browser'in the agent preset — no realm/isolate, it resolves the host instance across the plane boundary.
License
MIT — see LICENSE. Derived from oh-my-pi (MIT) and the bundled Playwright
ARIA snapshot sources (Apache-2.0, Microsoft) — see THIRD-PARTY-NOTICES.md.
Comments
Loading…
Similar plugins
by KasenRi
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
★ 0
MIT
JavaScript
Sep 19, 2026
dsh plugin --profile web add @kasenri/dsh-browserby rogerdigital
DeepSeek Harness (dsh) plugin that adds a SearXNG-backed web_search provider to the ctx.web seam — free, self-hosted, key-less search instead of paid Exa/Perplexity APIs.
★ 7
↓ 550/wk
MIT
TypeScript
Sep 21, 2026
dsh plugin --profile web add dsh-searxngby dengpeihua
Native DeepSeek Harness browser-agent plugin providing session-isolated Chromium automation with CDP and DOM tools.
★ 3
MIT
TypeScript
Sep 29, 2026
dsh plugin --profile web add dsh-browser-pluginby maxiaovivi
Native CloakBrowser tools for DeepSeek Harness: isolated browser sessions, snapshots, interaction, screenshots, and safe Agent routing.
★ 4
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-cloak-browserby 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
★ 1
MIT
JavaScript
Sep 24, 2026
dsh plugin --profile web add @zseven-w/dsh-browserby sdegongzuo
DeepSeek Harness 客户端网页操作与调试插件:多会话、新窗口、多标签页调试和操作网页
★ 0
MIT
TypeScript
Oct 10, 2026
dsh plugin --profile web add dsh-webops-plugin