Native Rust computer use and 4-mode CDP browser bridge for DSH: exposes 11 tools over cua-hub stdio MCP (Windows UIA / Linux AT-SPI2 semantic controls, diff window_state, ref_id browser automation, and generic cua_hub_call) with automatic SHA-256 verified binary download.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:jsshwqz/cua-hub#path:/integrations/dsh-plugin
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
Native Rust computer use and 4-mode CDP browser bridge for DeepSeek Harness (
dsh) — powered by cua-hub.
Install
Inside DSH Desktop / dsh web
- Open Plugins → Add plugin (or search
cua-hubin dsh-market). - Or install from GitHub:
dsh plugin --profile web add https://github.com/jsshwqz/cua-hub/tree/main/integrations/dsh-plugin
How Binary Resolution Works
When a tool is invoked for the first time, the plugin starts cua-hub serve --tools <core|all> over stdio using the first available binary:
- Configured
binaryPath(in plugin config) CUA_HUB_BINenvironment variablecua-hubfound onPATH- Version-pinned cache (
~/.cache/cua-hub/bin/v0.2.1/or%LOCALAPPDATA%\cua-hub\bin\v0.2.1\) - Automatic download from official GitHub Releases with strict
SHA256SUMS.txtverification
Registered Tools (11)
| Tool | Purpose |
|---|---|
cua_hub_list_windows |
List visible windows (id, title, app, bounds, focused) |
cua_hub_window_state |
Observe window accessibility tree (diffed) + optional screenshot |
cua_hub_invoke_element |
Invoke UI control by observation_id + element_index |
cua_hub_set_element_value |
Set text/value on UI control by element_index |
cua_hub_browser_open |
Open/attach 4-mode CDP browser (ephemeral / persistent / cdp_attach / steel_api) |
cua_hub_browser_navigate |
Navigate active browser tab to validated URL |
cua_hub_browser_state |
Read compact browser AX tree (f0-N refs) + optional screenshot |
cua_hub_browser_click |
Click browser element by ref_id or selector |
cua_hub_browser_type |
Type into browser element (supports secret_env) |
cua_hub_browser_close |
Close or detach browser session safely |
cua_hub_call |
Call any cua-hub MCP tool by name + arguments_json (browser_fill_form, browser_extract, browser_batch_extract, capture_window, run_task, resume_task, orchestrate, key, click, scroll, etc.) |
Config Options
binaryPath(string, default""): Custom path to localcua-hub/cua-hub.exe.toolset("all" | "core", default"all"): Passed tocua-hub serve --tools.timeoutMs(number, default60000): Per-tool MCP call timeout in ms.cacheDir(string, default""): Override binary download cache directory.
中文说明
dsh-plugin-cua-hub 是 DeepSeek Harness (dsh) 的原生 DSH 插件包,通过 stdio MCP 桥接原生 Rust 引擎 cua-hub,共注册 11 个高可用工具(覆盖 Windows UIA / Linux AT-SPI2 桌面控件、4 模式原生 CDP 浏览器,以及可直调全部底层能力的 cua_hub_call 入口)。首次调用时会自动复用本机 cua-hub,或从 GitHub Releases 自动下载并通过 SHA256SUMS.txt 校验后启动。
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 38608
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
DayuanJiang/next-ai-draw-io#dsh-plugin★ 37289
Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
yikart/AiToEarn#dsh-plugin-aitoearn★ 28947
Generate copy, images and short videos, and publish with one click to Douyin, Kuaishou, Xiaohongshu, WeChat Official, Bilibili, Facebook, TikTok and more, covering the full content lifecycle from creation to publishing and monetization.
superdesigndev/treg★ 10049
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 6112
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
Hithink-Tech-Org/Financial-API#hithink-finance★ 4761
Query Hithink Finance data in DeepSeek Harness, view charts in chat, and save refreshable dashboards.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.