luxus0946/dsh-uuyc ↗★ 1

@deepseek-ai/dsh-uuyc

UU remote (uuyc-cli) Windows remote-control plugin for deepseek-harness: device management and remote terminal execution for local agents. 适合 Windows 宿主用户,用于本地 Agent 的设备管理和远程终端执行。

패키지
@deepseek-ai/dsh-uuyc
호환성
미검증
Harness peer 범위
^0.1.6-alpha.2
Cordis peer 범위
^4.0.2
버전
0.1.6
최근 업데이트
2026. 9. 23.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:luxus0946/dsh-uuyc

Configuration (cordis.yml / profile patch)

- id: uuyc
  name: '@deepseek-ai/dsh-uuyc'
  disabled: !!js process.platform !== 'win32'   # enable only on Windows host
  config:
    cliPath: ''                  # empty → auto-detect via PATH (`where`), running GameViewer.exe, then known install dirs
    defaultShell: powershell      # powershell | cmd
    execTimeoutMs: 120000
    controlTimeoutMs: 15000
    sessionIdleTtlMs: 600000
    password: ''                 # optional: unlock password for locked devices, sent as first stdin line
    handshakeRetries: 1          # auto retry on handshake failure (total attempts = 1 + retries)
    handshakeBackoffMs: 1500     # backoff base (ms); nth retry waits backoffMs * n

Workflow hardening (built in)

  • CLI auto-discovery — when cliPath is empty, the plugin probes in order: explicit config → where uuyc-cli.exe on PATH → the bin\uuyc-cli.exe next to the running GameViewer.exe process → a list of well-known install directories (D:\uu, D:\Netease, C:\Program Files\NetEase, …). You usually never need to set cliPath.
  • Device-list cache + fuzzy matching — device list results are cached for 60s; target accepts a device name or ID and matches case-insensitively, with a substring fuzzy match. If the fuzzy match hits more than one device, the plugin lists the candidates instead of guessing.
  • Handshake auto-retry — on handshakeUnavailable the plugin backs off and retries up to handshakeRetries times (handshake failures are usually transient — no active terminal on the controlled end, or a just-restarted P2P link).
  • Shell auto-fallback — if the default powershell keeps failing the handshake, the plugin retries once on cmd; if cmd triggers terminal_bridge_unavailable, it falls back to the supported powershell.

配置(cordis.yml / profile patch)

- id: uuyc
  name: '@deepseek-ai/dsh-uuyc'
  disabled: !!js process.platform !== 'win32'   # 仅 Windows 主控端启用
  config:
    cliPath: ''                  # 留空→依次探测 PATH(`where`)、运行中的 GameViewer.exe 同目录、常见安装目录
    defaultShell: powershell      # powershell | cmd
    execTimeoutMs: 120000
    controlTimeoutMs: 15000
    sessionIdleTtlMs: 600000
    password: ''                 # 可选:被锁屏设备的解锁密码,作为 stdin 首行发送
    handshakeRetries: 1          # 握手失败时自动重试次数(总尝试 = 1 + 该值)
    handshakeBackoffMs: 1500     # 退避基数(毫秒),第 n 次重试等待 backoffMs * n

内置的工作流加固

  • CLI 路径自动发现:cliPath 留空时,插件按序探测:显式配置 → PATH 上的 where uuyc-cli.exe → 正在运行的 GameViewer.exe 同目录 bin\uuyc-cli.exe → 一堆常见安装目录(D:\uu、D:\Netease、C:\Program Files\NetEase 等)。多数情况下无需手动配置 cliPath。
  • 设备列表缓存 + 模糊匹配:device list 结果缓存 60s;target 接受设备名或设备 ID,大小写不敏感,并支持子串模糊匹配。若模糊匹配命中多台设备,插件会列出候选清单而非盲目猜测。
  • 握手自动重试:命中 handshakeUnavailable 时,插件按退避策略重试最多 handshakeRetries 次(握手失败多为瞬态——被控端无活跃终端,或 P2P 刚重启)。
  • Shell 自动回退:若默认 powershell 持续握手失败,插件会用 cmd 回退重试一次;若 cmd 触发 terminal_bridge_unavailable,则回退到受支持的 powershell。