dsh-plugin-computer-use 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +115 -0
- package/cordis.patch.yml +20 -0
- package/index.js +1595 -0
- package/package.json +39 -0
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-plugin-computer-use",
|
|
3
|
+
"version": "2.4.1",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"keywords": ["dsh-plugin", "deepseek-harness", "dsh", "computer-use", "desktop", "automation", "screenshot", "input"],
|
|
6
|
+
"publishConfig": { "registry": "https://registry.npmjs.org" },
|
|
7
|
+
"repository": { "type": "git", "url": "git+https://github.com/tofu-zyc/dsh-plugin-tofu-box.git", "directory": "dsh-plugin-computer-use" },
|
|
8
|
+
"bugs": { "url": "https://github.com/tofu-zyc/dsh-plugin-tofu-box/issues" },
|
|
9
|
+
"homepage": "https://github.com/tofu-zyc/dsh-plugin-tofu-box/tree/main/dsh-plugin-computer-use",
|
|
10
|
+
"description": "computer-use v2.4:基于 Cua Driver 进程内 SDK 的跨平台桌面操作。13 个工具(截图/窗口列表/缩放/光标/移动/点击/拖拽/滚动/输入/按键/打开应用/连续动作/等待)。v2.4.1 适配 dsh 0.2.0:审批探测改走公有 overrideOf/session 覆盖 + 部署默认策略,任何探测形状失效时保守放行,杜绝 danger-full-access 会话因私有 API 变动而自锁全部工具。v2.4 修「宿主闲置后窗口/应用枚举静默变空」:全部驱动调用统一挂命名 session(查询也不例外),session 卡死按 end→start→重试→重建运行时分级自愈,list_windows 报错不再吞成『无窗口』;computer_type 桌面输入遇非 ASCII 自动改走剪贴板粘贴(绕开 IME 对 CJK/emoji 的损坏,事后恢复用户剪贴板);桌面坐标给成物理分辨率时自动映射进截图坐标系;computer_screenshot 新增 save= 同时存盘+进剪贴板。v2.3 系列能力保留:open 先查进程表绝不启动第二实例、识别启动即退出的假成功、托盘态应用默认只报告不代启。Windows 宿主进程自动切 Per-Monitor-V2 DPI 感知,默认后台注入不抢焦点,元素树+element_token 精确操作。无需守护进程/MCP/PowerShell。写操作走原生 tools/pre-execute 审批。",
|
|
11
|
+
"type": "module",
|
|
12
|
+
"main": "index.js",
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@trycua/cua-driver": "^0.28.1",
|
|
15
|
+
"koffi": "^3.2.1"
|
|
16
|
+
},
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"@deepseek-ai/dsh-tools": ">=0.1.5-rc.1",
|
|
19
|
+
"@deepseek-ai/schemastery": "^3.18.2"
|
|
20
|
+
},
|
|
21
|
+
"peerDependenciesMeta": {
|
|
22
|
+
"@deepseek-ai/dsh-tools": { "optional": true },
|
|
23
|
+
"@deepseek-ai/schemastery": { "optional": true }
|
|
24
|
+
},
|
|
25
|
+
"exports": {
|
|
26
|
+
".": "./index.js",
|
|
27
|
+
"./package.json": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
"dsh": {
|
|
30
|
+
"bundle": {
|
|
31
|
+
"patch": "./cordis.patch.yml"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"index.js",
|
|
36
|
+
"cordis.patch.yml",
|
|
37
|
+
"README.md"
|
|
38
|
+
]
|
|
39
|
+
}
|