maxiaovivi/dsh-cloak-browser 预览 preview

maxiaovivi/dsh-cloak-browser

用于DeepSeek Harness的Native CloakBrowser工具:隔离浏览器会话、快照、交互、截图以及安全的Agent路由。

Project Overview项目介绍

dsh-cloak-browser is a community-maintained native plugin built exclusively for DeepSeek Harness (DSH). It integrates the stealth automation browser CloakBrowser, enabling DSH AI agents to automate web interactions that often require bypassing anti-automation bot detection. The plugin can be installed directly from GitHub using the DSH CLI command dsh plugin --profile <profile-name> add -w github:maxiaovivi/dsh-cloak-browser, or users can clone the repository locally, build a tarball, and install it from the local path. It requires Node.js 20 or newer, DSH version 0.1.0-rc.6, and works on Linux, macOS, and Windows. All installation steps are clearly documented for both new and experienced users.

After installation, users must restart DSH for the plugin to take effect. Users can set their optional CloakBrowser license key and proxy URL via environment variables before starting DSH, and do not need to manually install any Playwright browser binaries. When called by a DSH agent, the plugin automatically manages browser sessions, serializes concurrent requests for free license seats to avoid launch conflicts, and handles GeoIP matching and license validation automatically. It also handles automatic cleanup of stale sessions and correctly reports license seat occupancy to avoid unexpected errors. It is built for developers who want to run stealth web automation tasks via DSH agents.

The code in this repository is released under the MIT license, but the Chromium binary downloaded by CloakBrowser is covered by a separate upstream binary license. Users must review and agree to this license before using or redistributing the plugin. On first use, the plugin automatically downloads a ~200MB Chromium archive and stores it in the ~/.cloakbrowser cache directory. If a proxy is configured, it will also download an additional ~70MB GeoLite database. Free license users cannot revoke sessions held by other machines or abnormal processes, and must wait for the upstream server lease to expire.

dsh-cloak-browser 是专为 DeepSeek Harness (DSH) 打造的原生插件,集成了 CloakBrowser 隐身自动化浏览器,为 DSH 代理提供网页自动化能力。插件支持浏览器启停、网页导航、元素交互、截图捕获和结构化页面快照输出,主打绕过反自动化检测能力。用户可通过 DSH CLI 直接从 GitHub 安装,也可克隆源码后本地打包安装,要求 Node.js 20 或以上版本,兼容 Linux、macOS 和 Windows 系统。

插件安装后需要重启 DSH 生效,使用时可通过环境变量配置 CloakBrowser 许可证密钥和代理地址,无需手动安装 playwright 浏览器二进制。DSH 代理调用插件时,会自动管理浏览器会话,对免费版并发请求做序列化处理避免启动冲突,还能自动处理 GeoIP 匹配和许可证校验。适合需要让 DSH 代理完成需绕过反爬的网页数据采集、自动化网页交互任务的社区开发者使用。

本项目代码采用 MIT 许可证发布,CloakBrowser 的 Chromium 二进制采用单独的许可证,使用前需要阅读并同意上游二进制许可条款。首次使用会自动下载约 200MB 的 Chromium 压缩包,缓存存放在 ~/.cloakbrowser 目录,若配置代理还会额外下载约 70MB 的 GeoLite 数据库。免费版无法回收其他机器或异常进程占用的会话,需要等待上游服务端租约过期。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add -w github:maxiaovivi/dsh-cloak-browser

把 maxiaovivi/dsh-cloak-browser 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-cloak-browser

English | 简体中文

Install

Requirements

  • Node.js 20 or newer
  • DeepSeek Harness (DSH) 0.1.0-rc.6
  • Linux, macOS, or Windows on a platform supported by CloakBrowser

Install directly from GitHub

dsh plugin --profile web add -w github:maxiaovivi/dsh-cloak-browser

# Confirm that the bundle was composed into the profile.
dsh --profile web --dump-config | grep -A24 cloak-browser

Restart DSH after installation:

dsh --profile web

-w is required because a DSH profile is a pnpm workspace root. Replace web with another profile name if that profile provides the DSH tools and attachments services.

Version 0.1.1 and newer reuse the profile's existing dsh-tools and dsh-llm runtime instances. This prevents the duplicate-runtime error reported as Cannot read properties of undefined (reading 'prepare').

If version 0.1.0 was previously installed, remove it once before reinstalling:

dsh plugin --profile web remove -w dsh-cloak-browser
dsh plugin --profile web add -w github:maxiaovivi/dsh-cloak-browser

Install from a local clone

Use this path when developing or auditing the plugin:

git clone https://github.com/maxiaovivi/dsh-cloak-browser.git
cd dsh-cloak-browser
npm ci
plugin_tarball=$(npm pack --silent)

# Ubuntu/Debian only; this may request sudo permission.
npx playwright-core install-deps chromium

dsh plugin --profile web add -w "$PWD/$plugin_tarball"
dsh --profile web --dump-config | grep -A24 cloak-browser
dsh --profile web

The GitHub installation installs package dependencies through pnpm. The local workflow installs a packed artifact rather than linking the development tree, so development-only copies of DSH host packages cannot enter the profile.

License and proxy environment

Do not put credentials in cordis.patch.yml or tool arguments. Export them in the environment that starts DSH:

export CLOAKBROWSER_LICENSE_KEY='your-license-key'       # optional
export CLOAKBROWSER_PROXY_URL='http://user:pass@host:port' # optional
dsh --profile web

Without a license key, CloakBrowser selects its available free build. On first browser use it downloads and verifies a roughly 200 MB Chromium archive. The extracted cache can use substantially more disk space under ~/.cloakbrowser. You do not need playwright install chromium.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-plugin-knowledge-graph 下一个 Next dsh-plugin-tavern →