maxiaovivi/dsh-cloak-browser ↗★ 1
dsh-cloak-browser
Native CloakBrowser tools for DeepSeek Harness with per-agent browser sessions and snapshot references.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:maxiaovivi/dsh-cloak-browser说明文档
阅读完整 README ↗dsh-cloak-browser
English | 简体中文
安装
环境要求
- Node.js 20 或更高版本
- DeepSeek Harness(DSH)
0.1.0-rc.6 - CloakBrowser 支持的 Linux、macOS 或 Windows 平台
直接从 GitHub 安装
dsh plugin --profile web add -w github:maxiaovivi/dsh-cloak-browser
# 确认 Bundle 已进入 profile 的最终配置。
dsh --profile web --dump-config | grep -A24 cloak-browser
安装后重启 DSH:
dsh --profile web
DSH profile 是 pnpm workspace root,所以需要 -w。如果其他 profile 同时提供 DSH
tools 和 attachments 服务,也可以把 web 换成对应的 profile 名称。
从本地克隆安装
开发或审计插件时使用这种方式:
git clone https://github.com/maxiaovivi/dsh-cloak-browser.git
cd dsh-cloak-browser
npm ci
# 仅 Ubuntu/Debian;这一步可能请求 sudo 权限。
npx playwright-core install-deps chromium
dsh plugin --profile web add -w "$PWD"
dsh --profile web --dump-config | grep -A24 cloak-browser
dsh --profile web
GitHub 安装会由 pnpm 安装运行依赖。本地 link 安装则需要先在克隆目录执行 npm ci,确保
Node 能找到插件依赖。
License 和代理环境变量
不要把凭据写进 cordis.patch.yml 或 Tool 参数;应在启动 DSH 的环境中导出:
export CLOAKBROWSER_LICENSE_KEY='your-license-key' # 可选
export CLOAKBROWSER_PROXY_URL='http://user:pass@host:port' # 可选
dsh --profile web
没有 License key 时,CloakBrowser 会选择可用的免费版本。首次真正使用浏览器时会下载并校验
约 200MB 的 Chromium 压缩包,解压后的 ~/.cloakbrowser 缓存会占用更多磁盘空间。不需要执行
playwright install chromium。
卸载
dsh plugin --profile web remove -w dsh-cloak-browser
卸载后重启 DSH。~/.cloakbrowser 下的浏览器缓存由 CloakBrowser CLI 单独管理。
项目来源
dsh-cloak-browser 是社区维护的独立 DeepSeek Harness 原生浏览器 Tool Bundle,连接了两个
上游产品:
- DeepSeek Harness 提供 Cordis 插件运行时、 Agent Loop、Tool 执行管线、模型路由和持久附件存储。