全部插件

dsh-wsl-wininput

dsh-wsl-wininput · 版本 0.1.0 · 更新于 2026年11月29日

DeepSeek Harness 插件,可从 WSL 定向操作 Windows 界面。可调用 UI Automation 元素,或向选定窗口发送按键和点击操作,不抢占焦点。

  • 逐版审核
  • 开发运行时
  • MIT
  • 0次下载

说明

以下为插件作者提供的原文。

dsh-wsl-wininput

从 WSL 定向操作 Windows:按元素名调用 UI Automation 元素,或向指定窗口发送按键与点击,不抢焦点。

DeepSeek Harness 插件:Targeted Windows input from WSL: invoke a UI Automation element, or send keys and clicks to a chosen window without stealing focus.

属于 dsh-wsl-kit 的一部分。

English → README.md

安装

sole plugin --profile web add github:173787247/dsh-wsl-wininput

用法

win_invoke action=invoke pid=1234 expectName="Save" expectType=Button
win_invoke action=type pid=1234 text="hello"
win_invoke action=click pid=1234 x=100 y=40

说明

expectName is required for invoke. Elements are found by name, and the match must be unique: no match means the element is gone, more than one means the name is too general to act on. Both are refusals, not best-effort clicks.

An earlier version took the element index from a uia_tree handle. Testing showed two consecutive walks of a live window disagree about what sits at a given index, which turned an invoke into a click on whatever had moved into that slot.

依赖

  • Windows + WSL,DeepSeek Harness 跑在 WSL 里。
  • PowerShell 位于标准路径(插件自己会找)。

测试

npm test

单元测试在任何平台都能跑;实时测试在 WSL 之外自动跳过。

兼容性

字段值
插件dsh-wsl-wininput 0.1.0
最低 dsh≥ 0.1.2(Web UI 一次性 ?token=,Windows 中继 :3081)
最新验证以 dsh-wsl-kit 兼容性 为准(当前 0.2.0-rc.2)— 套件唯一真源
套件档位full 或单独安装

许可

MIT

版本历史

  • 0.1.02026年11月29日 · 10 KB
dsh-wsl-wininput · SoleAPI Agent 插件 | SoleAPI