DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Uia Agent — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-uia-agent

Uia Agent

Windows UI Automation agent for dsh: list/snapshot/find/click/set_text/get_text/scroll/drag/swipe/screenshot + window state (topmost/minimize/maximize/restore/close). Permission-tiered (read-only / workspace-write / danger-full-access) with approval-based escalation. exe auto-releases from embedded

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-uia-agent@1.2.2
READMECompatibilityVersions

Description

Windows UI Automation agent for dsh: list/snapshot/find/click/set_text/get_text/scroll/drag/swipe/screenshot + window state (topmost/minimize/maximize/restore/close). Permission-tiered (read-only / workspace-write / danger-full-access) with approval-based escalation. exe auto-releases from embedded assets.

Compatibility and provenance

Uia Agent is published as dsh-uia-agent and currently resolves to version 1.2.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
9/29/2026

Versions

1.2.2stable
9/29/2026
1.2.0stable
9/29/2026
1.1.0stable
9/28/2026
Show 1 more versionCollapse versions
0.2.0stable
9/27/2026

Related plugins

Loading related plugins…

Latest
1.2.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
754.2 kB
Files
9
Surface
any
License
GPL-3.0
Source
npm
GitHub
★ 0
Weekly downloads
0
Last push
9/29/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in productivity-workflow.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseExperimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundleOptional bundle that adds Schedule, its task page, and time context to the Web compositionAb Ocrdsh-ab-ocr--- description: "The out-of-tree ocr tool: recognizes a scanned PDF or image page by page, merges the pages in order only after the last one, and saves one Markdown document with the heading levels the model decided." kind: "package-reference" ---Client Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.

README

dsh-uia-agent - Windows UI Automation agent for DeepSeek Harness

中文 | 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).

  • Tool exe lives in its own repo: uia-agent (C++17 / MSVC single exe; the release ships uia_agent.exe).
  • This plugin embeds the exe as a base64 asset (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.

One-click install (beginners)

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):

  • install.cmd — double-click it on Windows
  • install.ps1 — powershell -ExecutionPolicy Bypass -File install.ps1

The 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.

Install from npm

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).

Changelog

1.2.1

  • desktop gains --limit (max icons returned; 0 = all) and --name (substring filter) — see every icon without truncation

1.2.0

  • desktop command: auto-find the desktop icon host (Progman + WorkerW layouts) and list all icons with screen coords
  • global timeout param: every command accepts timeout (ms) forwarded to the exe
  • fixed: FindDesktopIconHost only checked WorkerW (missed Progman layout)

1.1.0 (latest)

  • geometry / props commands (window geometry read/write; control properties)
  • drag steps / hold_ms for precise drag control
  • send_keys / clipboard / wait_for / foreach commands
  • snapshot inlines the control tree into model text
  • screenshot returns the saved file path (model chooses how to view)
  • permission model: commands at or below the session permission run directly
  • fixed: raw output always an object, get_text missing-field fallback

1.0.0

  • Initial standalone release: list / snapshot / snapshot_all / find / click / set_text / get_text / scroll / drag / swipe / screenshot / window state (topmost / minimize / maximize / restore / close)
  • permission tiers + approval escalation, embedded exe self-release (sha256-verified)

One-command install (manual)

dsh 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.

Permission tiers & escalation

Aligned with the dsh sandbox model (same sandbox_permissions + justification

  • ctx.approval surface as the pwsh tool):
Tiersandbox_permissionscommands
read-onlynone (runs directly)list / snapshot / snapshot_all / find / get_text / screenshot
workspace-writeworkspace-writeminimize / maximize / restore / topmost / close
danger-full-accessdanger-full-accessclick / 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 parameters

command (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.

Tested environment

  • @deepseek-ai/dsh-tools 0.1.5-rc.3 (host deps resolve via the $DSH_HOME/profiles/node_modules fallback)
  • Node.js 24 (dsh requires 22+)
  • Windows 10 x64 + MSVC 2022 (exe build)

Development / self-check

node smoke.mjs                     # no-LLM smoke: module load + tool def + apply
powershell -ExecutionPolicy Bypass -File scripts/install.ps1   # manual exe release

Known limits

  • Self-drawn UI / games / DirectX / stock Qt expose no UIA tree (snapshot returns unsupported; fall back to screenshot + image recognition).
  • Elevated windows require the exe to run as administrator, else UIPI blocks.
  • Chromium/Electron disable accessibility by default; the first access may be empty.
  • UIA calls may hang: the exe has a built-in 5s timeout; tool spawn timeout is 15s.
  • PrintWindow may return black for some DRM / self-drawn windows (capture_failed).