Skip to content

dsh-browser

⭐ 7 · ✅ active · plugin · ⬆️ +1 recently

Type plugin Category Browser control
Stars ⭐ 7 Status ✅ active
Author anweat Updated 2026-08-14

One-liner

Self-contained browser runtime plugin for DeepSeek Harness — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies, exposes a browser service and interactive browser tools.

About

自包含的浏览器运行时插件 for DeepSeek Harness(DSH)。 把 Playwright / Patchright(可选 Chromium 驱动) 与 OpenCLI 作为插件自身的 npm 依赖打包(优先插件本地,缺省回退全局复用),对外提供一个 browser 服务 + 一组交互式浏览器工具。dsh-web-search-pro 通过 inject: ['browser'] 注入该服务,驱动它的浏览器 / OpenCLI 后端——不再依赖全局 CLI。

📦 Install

dsh plugin --profile web add @anweat/dsh-browser
# 或本地目录 / tarball:
dsh plugin --profile web add ./dsh-browser
# 重启(web profile 关闭了 HMR):
dsh --profile web

🚀 Quick Start

dsh plugin --profile web add @anweat/dsh-browser@^0.1.10 dsh-web-search-pro@^0.1.11

📚 Learn more

快速使用与适用情形

安装并重启后,可先让模型调用 browser_status,再按任务选择工具。默认 automationMode: standard:读取直接执行,点击、输入、滚动及页面写操作走 DSH 原生一次性审批。 DSH 会话示例: 先调用 browser_status;然后用 browser_open 打开目标页。 若页面需要登录,使用 authProfile=forum;不要把 Cookie 放进工具参数。

配置(cordis.yml / patch config)

  • id: browser name: '@anweat/dsh-browser' config: automationMode: standard # read-only | standard | autonomous | unrestricted browserRuntime: playwright # playwright | patchright channel: chromium # 'chromium'(打包内核)| 'msedge'(系统 Edge) headless: true opencliEnabled: true usagePolicy: # 所有模式都生效;无审批模式也不会绕过 minDelayMs: 750 maxConcurrency: 2 burst: 3 maxPagesPerRun: 20 maxDepth: 2 retryLimit: 2 backoff