Desktop half of the dsh browser extension: mounts a token-authenticated WebSocket bridge on the dsh webserver and exposes the browser_* tools that let the model read the tab you are on as text and act on it, with image recognition off until the user enables it.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-browser-crossplatform
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:youbaiyun/dsh-browser-crossplatform#path:/packages/bridge
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
The desktop half of the dsh browser extension 「dsh 浏览器扩展(全平台)」. It mounts a
token-authenticated WebSocket bridge on the desktop app's own webserver, exposes the
browser_* tools to the model, and relays image recognition to the model the user
configured.
Published as dsh-browser-crossplatform@0.38.7; this tree builds 0.38.8
(unreleased), whose lib/ is self-contained. Part of
dsh-browser-crossplatform.
Install it into a dsh profile rather than by hand:
# from the registry
dsh plugin --profile desktop add dsh-browser-crossplatform
# or from a clone, with no registry involved
cd <clone> && pnpm install # build tooling only (TypeScript + tsdown)
pnpm --dir packages/bridge run build # writes the self-contained lib/index.js
dsh plugin --profile desktop add link:<clone>/packages/bridge
A link: install only points the profile at the directory; it does not run this
package's install, and this build no longer needs it to: lib/ bundles its
runtime dependencies (schemastery, ws, and the small @deepseek-ai/* helpers
it calls), so a directory with lib/index.js loads with no node_modules of its
own. Build it once with the two commands above (a clone carries no lib/). An
older, non-bundled lib/ fails at load with ERR_MODULE_NOT_FOUND: Cannot find package '@deepseek-ai/cosmokit' (reached via schemastery). npm pack ships the
same self-contained lib + src + declarations, so once 0.38.8 is published the
registry path needs no dependency resolution either (the registry still serves
0.38.7, whose lib is not bundled).
(the profile your desktop app runs is desktop; the CLI dsh web uses web)
Its settings page carries every knob, each with a one-line description; the full
list is the Config schema in packages/bridge/src/index.ts, transcribed in
skills/dsh-browser-crossplatform-troubleshooting/SKILL.md.
适配范围:Windows / macOS / Linux 上的 dsh 桌面端(Node ≥ 20)+ 桌面 Chrome / Chromium / Edge 116+ 或 Firefox 140+;手机与平板不支持(没有侧边栏这种界面)。
Three things worth knowing before you enable anything:
- The bearer token is generated on first boot and persisted at
~/.dsh/ext-bridge-tokenwith mode 0600.DSH_EXT_TOKENpins a fixed one. - Image recognition is off until the user enables a tier in the extension's panel. When it is on, the extension fetches the image the user asked about and this plugin sends it to the model configured above; if that fetch fails, the extension sends the image's address instead and this side fetches it without the browser session.
- The token-free path and the privileged gateway methods are loopback-only. A
non-loopback remote that presents a valid token can still use the ordinary session
methods, which is what
dsh web --hostexists to serve.
MIT. The upstream notice is preserved in LICENSE.
Links
More in this category
Tencent/BrowserSkill#dsh-plugin-browserskill★ 10786
BrowserSkill bridge for controlling visible Chrome and Edge Agent Windows from DeepSeek Harness, with native browser tools, accessibility and VOM observations, screenshots, owned multi-session control, and a live Web UI overlay.
DDDMUC/dsh-free-search★ 1781
Free web search for DSH with 42 engines: 6 keyless (DuckDuckGo, Bing, SearXNG, Degoog, AnySearch), 6 key-or-keyless tiers (Exa, Tavily, Keenable, Firecrawl, Parallel, You.com), 5 HTML search pages, and keyed providers from Brave and Baidu to Zhihu, OpenAI and Claude. Failure-classified failover with cooldown and key rotation, allowlist switching, an editable fallback chain, zh/en language pools, Multi concurrent merge, 12 MCP tools and a standalone stdio server, with per-engine keys in settings.
omdsh-dev/dsh-browser#packages/browser/bridge-browser★ 1151
Chrome sidebar extension that lets DSH operate your browser directly, no vision capabilities required.
liustack/modsearch★ 1056
Web search bridge for text-only agents: ask the web or X, get structured JSON evidence (search, fetch, citations).
Fisfzy/dsh-ego-browser★ 591
Drive a real Chrome/Chromium browser from DeepSeek Harness with 35 structured tools for navigation, snapshots, clicks, forms, JavaScript/CDP, screenshots, downloads and tabs; a live sidebar mirrors the page and accepts mouse and keyboard input. It ships a managed CDP runtime, keeps login state across calls, and can import cookies from your everyday Chrome through a companion extension.
regrevia/Envoy#dsh-envoy★ 298
Distill any link into Markdown, a wiki or a knowledge base. Installs per host: DSH -> envoy-dsh; Claude Code/Codex -> envoy@envoy. Douyin/Bilibili video, image posts, WeChat, Xiaohongshu, PDFs, podcasts. Video is read on its own timeline with keyframes and ASR transcripts locatable to \[mm:ss], so the context carries what was said and shown instead of the title and the recommendation rail. On 60 turns with vs without: ends normally with the gaps named 22% -> 92%, times out 68% -> 0% (the A/B is exploratory: different time caps, no human correctness review). On 123 live links 80% came back usable (93% of the pages that answered).
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.