dsh 浏览器扩展的桌面端一半:在 dsh 自带的 webserver 上挂一个带令牌校验的 WebSocket 桥,向模型暴露 browser_* 工具,让它读取并操作用户当前标签页,图片识别默认关闭、需用户自行开启。
安装
# npm 包(预构建)
dsh plugin --profile web add dsh-browser-crossplatform
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:youbaiyun/dsh-browser-crossplatform#path:/packages/bridge
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 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.
链接
同类插件
Tencent/BrowserSkill#dsh-plugin-browserskill★ 10786
BrowserSkill 的 DeepSeek Harness 浏览器自动化桥接插件,通过原生浏览器工具控制可见的 Chrome 和 Edge Agent Window,支持可访问性与 VOM 页面观察、截图、隔离的多会话控制和 Web UI 实时观察浮层。
DDDMUC/dsh-free-search★ 1781
DSH 免费搜索插件,共 42 个引擎:6 个免 key 引擎(DuckDuckGo、Bing、SearXNG、Degoog、AnySearch)、6 个 key 与免 key 双档引擎(Exa、Tavily、Keenable、Firecrawl、Parallel、You.com)、5 个 HTML 搜索页,以及从 Brave、百度到知乎、OpenAI、Claude 的各类需 key 供应商。支持失败分类回退与冷却、多 key 轮换、引擎白名单、可增删的回退链、中英语言池、Multi 并发合并、12 个 MCP 工具与独立 stdio server,设置页可按引擎填写 key。
omdsh-dev/dsh-browser#packages/browser/bridge-browser★ 1151
Chrome 侧边栏扩展,让 DSH 直接操控你的浏览器,无需视觉能力。
liustack/modsearch★ 1056
纯文本 agent 的联网搜索桥:搜索网页与 X,返回结构化 JSON 证据(search/fetch/引用)。
Fisfzy/dsh-ego-browser★ 591
用 35 个结构化工具从 DeepSeek Harness 驱动真实 Chrome/Chromium:导航、语义快照、点击、表单、JavaScript/CDP、截图、下载与标签页管理;右侧边栏实时镜像页面,并支持鼠标键盘直接接管。插件自带受管 CDP 运行时,跨调用保留登录状态,并可通过配套 Chrome 扩展从日常浏览器导入 cookie。
regrevia/Envoy#dsh-envoy★ 298
蒸馏一切链接,出摘要、Markdown、Wiki 或知识库。装法按宿主:DSH → envoy-dsh;Claude Code、Codex → envoy@envoy。抖音与 B 站视频、图文笔记、公众号、小红书、PDF、播客都在内。视频按时序读:关键帧配 ASR 转写,内容定到 \[mm:ss],上下文里是实际说过、看得见的东西,不是标题和推荐流。同一批题 60 轮对照:正常读完并把缺口说清 22% → 92%,跑到超时 68% → 0%(这组 A/B 是探索性的:两臂时限不同、未做人工正确性复核)。123 条真实链接里 80% 能直接当素材(能连上的页面里 93%)。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。