Agent Desktop Harness

ADH Project·ADHProject.ADH

Trusted Python computer-use harness for Windows desktop agents.

winget install --id ADHProject.ADH --exact --source winget

Latest 0.1.8·December 4, 2026

Release Notes

ADH v0.1.8 improves Windows desktop input reliability, foreground window recovery, popup capture visibility, and Python runtime stability. Highlights

  • Windows extended key & scan code fix (SendInput): Adds KEYEVENTF_EXTENDEDKEY and hardware scan codes (MapVirtualKeyW) for extended navigation, editing, and modifier keys (Home, End, PageUp, PageDown, arrow keys, Insert, Delete, Win, RControl, RAlt), fixing Shift+Arrow / Shift+Home / Ctrl+Shift+Up selection reliability when NumLock is enabled.
  • Foreground activation fast-path & occlusion recovery: Skips fixed wait when the target window is already foreground; unifies focus_with_recovery across focus and foreground action dispatch; adds guarded non-activating Z-order raise (SWP_NOACTIVATE) when the target caption is occluded by another normal window under a foreground lock, plus structured focus_failure diagnostics.
  • Control overlay hook responsiveness: Replaces 50ms polling in the control overlay thread with MsgWaitForMultipleObjectsEx + PostThreadMessageW wakeups so the low-level Esc keyboard hook no longer stalls injected keystrokes.
  • Owned popup compositing: Enables include_owned_popups window capture compositing so owned menus/popups are preserved in window captures.
  • Python runtime improvements: Strips leading UTF-8 BOM (\ufeff) in cell_compiler.py and classifies unhandled user cell exceptions as non-retryable cell_execution_failed instead of worker_crashed.
  • Versioning: Native Windows x64 binaries and npm package @xuyuanwu/adh both report 0.1.8 (Node.js 22 and 24).

Validation

  • Contract & protocol test suite: 185 passed (3 Windows-only PE checks skipped on macOS), 43 Windows native Rust unit tests passed on VM.
  • End-to-end WAA 138-task Windows evaluation (with extkey-fg-v2-skill-v2): 102 full-score passes, 75.23% full-set lower bound, and -19.2% mean Agent execution time on 90 paired full-score tasks vs v0.1.7 baseline. This is an unsigned Windows x64 release.

Installer type: exe

x64—18C0E8248645F09613AC04E5A230E98BD1010E45C48F4BA53B199117EFED1C24

Details

Homepage
https://github.com/xuyw1997/agent-desktop-harness
License
Apache-2.0
Publisher
ADH Project
Support
https://github.com/xuyw1997/agent-desktop-harness/issues

Tags

agentautomationcomputer-usedesktopmcprpa

Older versions (2)

0.1.7
x64—2A99148FE917A9C7B230889B31A25E3D748769AE9F9D6A42EC8E7F609ED8F71A
0.1.5
x64—120514B69D0AB8E04A23F8D880AFB564FFAB0F7FB9AE8837FAAE52A5F83554EC