dsh-click 0.1.0
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/CHANGELOG.md +27 -0
- package/LICENSE +201 -0
- package/README.es.md +174 -0
- package/README.hi.md +174 -0
- package/README.md +174 -0
- package/README.pt.md +174 -0
- package/README.zh.md +174 -0
- package/SECURITY.md +38 -0
- package/THIRD_PARTY_NOTICES.md +20 -0
- package/cordis.patch.yml +53 -0
- package/lib/index.js +1810 -0
- package/lib/types/actions.d.ts +94 -0
- package/lib/types/actions.d.ts.map +1 -0
- package/lib/types/config.d.ts +119 -0
- package/lib/types/config.d.ts.map +1 -0
- package/lib/types/events.d.ts +111 -0
- package/lib/types/events.d.ts.map +1 -0
- package/lib/types/index.d.ts +39 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/observe.d.ts +76 -0
- package/lib/types/observe.d.ts.map +1 -0
- package/lib/types/platform/runner.d.ts +40 -0
- package/lib/types/platform/runner.d.ts.map +1 -0
- package/lib/types/platform/selection.d.ts +44 -0
- package/lib/types/platform/selection.d.ts.map +1 -0
- package/lib/types/platform/types.d.ts +220 -0
- package/lib/types/platform/types.d.ts.map +1 -0
- package/lib/types/sanitize.d.ts +45 -0
- package/lib/types/sanitize.d.ts.map +1 -0
- package/lib/types/tools.d.ts +113 -0
- package/lib/types/tools.d.ts.map +1 -0
- package/lib/types/version.d.ts +13 -0
- package/lib/types/version.d.ts.map +1 -0
- package/lib/types/vision.d.ts +22 -0
- package/lib/types/vision.d.ts.map +1 -0
- package/native/win32/dsh-click-helper.ps1 +870 -0
- package/package.json +143 -0
package/package.json
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-click",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Cross-platform native desktop control tools for DeepSeek Harness (Windows first): screen_shot, screen_read (accessibility tree + pixel description for text-only models), click/type/scroll/key, and app_list/app_launch — every mutating action gated by approval, never stealing foreground focus, with stale-observation rejection and process-identity checks",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/PerryLink/dsh-click.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/PerryLink/dsh-click#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/PerryLink/dsh-click/issues"
|
|
12
|
+
},
|
|
13
|
+
"author": "PerryLink",
|
|
14
|
+
"private": false,
|
|
15
|
+
"type": "module",
|
|
16
|
+
"main": "./lib/index.js",
|
|
17
|
+
"types": "./lib/types/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./lib/types/index.d.ts",
|
|
21
|
+
"default": "./lib/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./package.json": "./package.json"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"lib",
|
|
27
|
+
"native",
|
|
28
|
+
"cordis.patch.yml",
|
|
29
|
+
"CHANGELOG.md",
|
|
30
|
+
"THIRD_PARTY_NOTICES.md",
|
|
31
|
+
"SECURITY.md",
|
|
32
|
+
"README.md",
|
|
33
|
+
"README.zh.md",
|
|
34
|
+
"README.es.md",
|
|
35
|
+
"README.pt.md",
|
|
36
|
+
"README.hi.md",
|
|
37
|
+
"LICENSE"
|
|
38
|
+
],
|
|
39
|
+
"dsh": {
|
|
40
|
+
"bundle": {
|
|
41
|
+
"patch": "./cordis.patch.yml"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"dshWorkshop": {
|
|
45
|
+
"schema": "omdsh-workshop-package/v1",
|
|
46
|
+
"type": "plugin",
|
|
47
|
+
"integration": {
|
|
48
|
+
"protocol": "harness-profile",
|
|
49
|
+
"artifact": "cordis.patch.yml"
|
|
50
|
+
},
|
|
51
|
+
"install": {
|
|
52
|
+
"mode": "transactional",
|
|
53
|
+
"adapter": "profile-bundle",
|
|
54
|
+
"failurePolicy": "generation-rollback",
|
|
55
|
+
"touchesCurrentBeforeActivation": false
|
|
56
|
+
},
|
|
57
|
+
"lifecycle": {
|
|
58
|
+
"activation": "hot-reload",
|
|
59
|
+
"dispose": "supported"
|
|
60
|
+
},
|
|
61
|
+
"permissions": [
|
|
62
|
+
"fs:read",
|
|
63
|
+
"subprocess:spawn",
|
|
64
|
+
"session:append",
|
|
65
|
+
"network:none",
|
|
66
|
+
"native-code:none"
|
|
67
|
+
],
|
|
68
|
+
"compatibility": {
|
|
69
|
+
"dshVersions": [
|
|
70
|
+
"0.1.0-rc.5",
|
|
71
|
+
"0.1.0-rc.6"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"capability": {
|
|
75
|
+
"id": "desktop-control",
|
|
76
|
+
"kind": "tool",
|
|
77
|
+
"invocation": "screen_shot, screen_read, click, type, scroll, key, app_list, app_launch",
|
|
78
|
+
"expected": "observes native application windows (screenshot and structured accessibility tree with pixel hints) and performs window-scoped actions gated by approval, without stealing foreground focus"
|
|
79
|
+
},
|
|
80
|
+
"evidence": {
|
|
81
|
+
"install": null,
|
|
82
|
+
"failureIsolation": null,
|
|
83
|
+
"hotReload": null,
|
|
84
|
+
"remove": null
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"keywords": [
|
|
88
|
+
"dsh",
|
|
89
|
+
"dsh-plugin",
|
|
90
|
+
"deepseek-harness",
|
|
91
|
+
"deepseek",
|
|
92
|
+
"cordis",
|
|
93
|
+
"computer-use",
|
|
94
|
+
"windows-automation",
|
|
95
|
+
"uiautomation",
|
|
96
|
+
"desktop-control",
|
|
97
|
+
"screen-reader"
|
|
98
|
+
],
|
|
99
|
+
"engines": {
|
|
100
|
+
"node": "^22.19.0 || >=24.0.0"
|
|
101
|
+
},
|
|
102
|
+
"packageManager": "pnpm@11.7.0",
|
|
103
|
+
"peerDependencies": {
|
|
104
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
105
|
+
"@deepseek-ai/schemastery": "^3.18.0",
|
|
106
|
+
"@deepseek-ai/dsh-agent": "0.1.0-rc.6",
|
|
107
|
+
"@deepseek-ai/dsh-attachment": "0.1.0-rc.6",
|
|
108
|
+
"@deepseek-ai/dsh-llm": "0.1.0-rc.6",
|
|
109
|
+
"@deepseek-ai/dsh-session": "0.1.0-rc.6",
|
|
110
|
+
"@deepseek-ai/dsh-subprocess": "0.1.0-rc.6",
|
|
111
|
+
"@deepseek-ai/dsh-tools": "0.1.0-rc.6",
|
|
112
|
+
"@deepseek-ai/dsh-user-approval": "0.1.0-rc.6"
|
|
113
|
+
},
|
|
114
|
+
"dependencies": {
|
|
115
|
+
"tsdown": "^0.22.14",
|
|
116
|
+
"typescript": "^5.9.0"
|
|
117
|
+
},
|
|
118
|
+
"devDependencies": {
|
|
119
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
120
|
+
"@deepseek-ai/schemastery": "^3.18.0",
|
|
121
|
+
"@deepseek-ai/dsh-agent": "0.1.0-rc.6",
|
|
122
|
+
"@deepseek-ai/dsh-attachment": "0.1.0-rc.6",
|
|
123
|
+
"@deepseek-ai/dsh-llm": "0.1.0-rc.6",
|
|
124
|
+
"@deepseek-ai/dsh-session": "0.1.0-rc.6",
|
|
125
|
+
"@deepseek-ai/dsh-subprocess": "0.1.0-rc.6",
|
|
126
|
+
"@deepseek-ai/dsh-subprocess-local": "0.1.0-rc.6",
|
|
127
|
+
"@deepseek-ai/dsh-tools": "0.1.0-rc.6",
|
|
128
|
+
"@deepseek-ai/dsh-user-approval": "0.1.0-rc.6",
|
|
129
|
+
"@types/node": "^22.19.0",
|
|
130
|
+
"vitest": "^3.2.0"
|
|
131
|
+
},
|
|
132
|
+
"scripts": {
|
|
133
|
+
"build": "node scripts/prepare.mjs",
|
|
134
|
+
"prepare": "node scripts/prepare.mjs",
|
|
135
|
+
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit",
|
|
136
|
+
"typecheck:ci": "tsc -p tsconfig.ci.json --noEmit",
|
|
137
|
+
"test": "vitest run",
|
|
138
|
+
"test:watch": "vitest",
|
|
139
|
+
"verify:self-contained": "node scripts/verify-self-contained.mjs",
|
|
140
|
+
"verify:artifacts": "node scripts/verify-artifacts.mjs"
|
|
141
|
+
},
|
|
142
|
+
"license": "Apache-2.0"
|
|
143
|
+
}
|