dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Windows UI Automation agent for DeepSeek Harness: enumerate/snapshot/find/click/set_text/scroll/drag/swipe/screenshot + window state as a dsh plugin (single C++ exe)
中文 | English
A dsh plugin that registers one uia tool, letting the model enumerate windows,
snapshot UI trees, find controls, click, type text, scroll/drag/swipe, screenshot,
and control window state (topmost / minimize / maximize / restore / close).
uia_agent.exe).assets/uia_agent.exe.b64) and
self-releases it to the fixed location %DSH_HOME%\bin\uia_agent.exe on startup.
If release fails, it console.errors and the tool call reports how to add the exe.Either of these two self-contained files installs everything. Download ONE of them from the repo root or from the v1.0 release page (they do not depend on each other):
powershell -ExecutionPolicy Bypass -File install.ps1The script checks dsh, runs dsh plugin --profile web add github:cnyc6n/dsh-uia-agent,
and tells you to restart. No compile, no exe download: the plugin embeds the exe
as base64 and self-releases it (hash-verified) on first start.
npm i -g dsh-uia-agent
# then point dsh's profile at it (or follow the one-command install below for github:)
Published versions: 1.1.0 (latest), 1.0.0 (legacy tag).
--limit (max icons returned; 0 = all) and --name (substring filter) — see every icon without truncationtimeout (ms) forwarded to the exesteps / hold_ms for precise drag controldsh plugin --profile web add github:cnyc6n/dsh-uia-agent
Restart dsh afterwards; the uia tool then enters the model tool set. The exe is
self-released by the plugin on startup - no manual build needed.
Aligned with the dsh sandbox model (same sandbox_permissions + justification
ctx.approval surface as the pwsh tool):| Tier | sandbox_permissions | commands |
|---|---|---|
| read-only | none (runs directly) | list / snapshot / snapshot_all / find / get_text / screenshot |
| workspace-write | workspace-write | minimize / maximize / restore / topmost / close |
| danger-full-access | danger-full-access | click / set_text / scroll / drag / swipe / send_keys / foreach |
Higher-tier commands must pass sandbox_permissions + justification; they go
through user approval (approveEscalation) before execution. Missing or mismatched
permission returns an error guiding the model to retry with the correct tier.
uia tool parameterscommand (enum of 20 actions), hwnd, depth, query (find JSON), text, keys, set, timeout_ms, interval_ms, cmd, args,
mode, x/y/x1/y1/x2/y2, duration, amount, direction, distance, out,
base64, off, plus escalation params sandbox_permissions / justification.
The model gets a short summary text; the structured raw result is persisted via
presentationMeta.
@deepseek-ai/dsh-tools 0.1.5-rc.3 (host deps resolve via the
$DSH_HOME/profiles/node_modules fallback)node smoke.mjs # no-LLM smoke: module load + tool def + apply
powershell -ExecutionPolicy Bypass -File scripts/install.ps1 # manual exe release
snapshot returns
unsupported; fall back to screenshot + image recognition).capture_failed).