DeepSeek Harness Plugin

jsshwqz/cua-hub#dsh-plugin

Stars ★ 3 Category Tools & Capabilities Added 2026-12-01

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

  1. Open Plugins → Add plugin (or search cua-hub in dsh-market).
  2. 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:

  1. Configured binaryPath (in plugin config)
  2. CUA_HUB_BIN environment variable
  3. cua-hub found on PATH
  4. Version-pinned cache (~/.cache/cua-hub/bin/v0.2.1/ or %LOCALAPPDATA%\cua-hub\bin\v0.2.1\)
  5. Automatic download from official GitHub Releases with strict SHA256SUMS.txt verification

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 local cua-hub / cua-hub.exe.
  • toolset ("all" | "core", default "all"): Passed to cua-hub serve --tools.
  • timeoutMs (number, default 60000): 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 校验后启动。

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.