kezi000/dsh-plugin-win-control ↗★ 0
dsh-plugin-win-control
DSH/cordis plugin: 20 low-conflict Windows desktop + Chromium tools — enumerate windows, read UI Automation trees, invoke controls, click/type without stealing focus, capture windows and pages offscreen, and drive an isolated Chromium over CDP. 适合需要让Agent执行Windows自动化操作和网页驱动的任务。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗显式侵入(会抢焦点,按需使用)
| 工具 | 作用 | 说明 |
|---|---|---|
cdp_launch / cdp_close | 起/停一个隔离 Chromium(独立临时 profile + 调试端口) | 不影响用户自己的浏览器 |
win_activate | ShowWindow(SW_RESTORE) + SetForegroundWindow | 抢焦点 |
win_send_keys | mode: post 安全投递;mode: input 用 SendInput 真注入 | input 模式抢焦点 |
配置
captureDir: 截图目录,默认 %TEMP%\dsh-win-control
captureKeep: 保留最近 N 张,默认 200
uiaMaxNodes: win_uia_tree 默认节点预算,默认 400
uiaTimeoutMs: UIA 单次超时,默认 20000
powershellPath: 自定义 PowerShell
cdpPort: cdp_* 默认调试端口,默认 9222
cdpTimeoutMs: CDP 超时,默认 10000
browserPath: cdp_launch 用的浏览器,默认自动探测 Chrome/Edge
provideSkill: 是否注册随包 skill,默认 true