hfyydd/dsh-cua ↗★ 0

dsh-cua

Computer Use for DeepSeek Harness backed by the cua-driver daemon (trycua): accessibility element-level targeting, background-first input delivery, window/desktop screenshots, deterministic verification. 适合需自动化操作桌面应用的用户,需先安装并运行驱动守护进程。

Package
dsh-cua
Compatibility
Unverified
Harness peer range
^0.1.0-rc.5
Cordis peer range
^4.0.1
Version
0.1.0
License
MIT
Last updated
Aug 28, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hfyydd/dsh-cua

配置

可选,在 profile 的 cordis.patch.yml 按 id 覆盖:

- id: cua
  config:
    requireApproval: true   # 每个动作前弹审批面板(false 可关闭插件层审批)
    disabled: false         # true = 不注册任何工具
    timeoutMs: 15000        # 工具协作式超时(2000–120000)
    maxElements: 200        # 单次快照转发的元素上限(20–5000)
    maxRows: 120            # list_windows/list_apps 单次转发行数上限(10–1000)
    binDir: ""              # 自定义驱动二进制目录;留空按优先级解析

驱动二进制解析优先级:binDir 配置 → 环境变量 CUA_DRIVER_BIN → 插件自带副本(Windows x64)→ PATH 上的全局 cua-driver。macOS / Linux 没有自带副本(TCC 授权绑定安装位置,见上),请用上游安装器全局安装或用前两种方式显式指定。