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.