dsh-click 0.3.24 → 0.3.26
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 +12 -0
- package/LICENSE +0 -0
- package/README-es.md +152 -105
- package/README-hi.md +152 -105
- package/README-pt.md +152 -105
- package/README-zh.md +152 -105
- package/README.md +153 -110
- package/SECURITY.md +0 -0
- package/THIRD_PARTY_NOTICES.md +0 -0
- package/cordis.patch.yml +4 -0
- package/lib/index.js +72 -50
- package/lib/types/actions.d.ts +1 -1
- package/lib/types/actions.d.ts.map +1 -1
- package/lib/types/config.d.ts +10 -0
- package/lib/types/config.d.ts.map +1 -1
- package/lib/types/events.d.ts +0 -0
- package/lib/types/events.d.ts.map +0 -0
- package/lib/types/index.d.ts +0 -0
- package/lib/types/index.d.ts.map +0 -0
- package/lib/types/observe.d.ts +13 -5
- package/lib/types/observe.d.ts.map +1 -1
- package/lib/types/platform/runner.d.ts +0 -0
- package/lib/types/platform/runner.d.ts.map +0 -0
- package/lib/types/platform/selection.d.ts +0 -0
- package/lib/types/platform/selection.d.ts.map +0 -0
- package/lib/types/platform/types.d.ts +0 -0
- package/lib/types/platform/types.d.ts.map +0 -0
- package/lib/types/sanitize.d.ts +0 -0
- package/lib/types/sanitize.d.ts.map +0 -0
- package/lib/types/tools.d.ts +0 -0
- package/lib/types/tools.d.ts.map +0 -0
- package/lib/types/version.d.ts +1 -1
- package/lib/types/version.d.ts.map +0 -0
- package/lib/types/vision/grounding.d.ts +0 -0
- package/lib/types/vision/grounding.d.ts.map +0 -0
- package/lib/types/vision/index.d.ts +0 -0
- package/lib/types/vision/index.d.ts.map +0 -0
- package/lib/types/vision/ocr.d.ts +0 -0
- package/lib/types/vision/ocr.d.ts.map +0 -0
- package/lib/types/vision.d.ts +0 -0
- package/lib/types/vision.d.ts.map +0 -0
- package/native/win32/dsh-click-helper.ps1 +0 -0
- package/package.json +6 -6
package/README-zh.md
CHANGED
|
@@ -46,9 +46,10 @@ DeepSeek Harness 的跨平台原生桌面控制 —— Windows 优先。
|
|
|
46
46
|
|
|
47
47
|
先看清屏幕,再动手 —— 每次点击都过审批,每次操作都留审计。
|
|
48
48
|
|
|
49
|
-

|
|
50
|
+
|
|
51
|
+
*工作流概览:安装 → 打开面板 → 操作。下面的示例使用实际命令面。*
|
|
50
52
|
|
|
51
|
-

|
|
52
53
|
|
|
53
54
|
*同一次运行,动图版。*
|
|
54
55
|
|
|
@@ -118,6 +119,55 @@ dsh --profile web --dump-config | grep -A2 'id: dsh-click'
|
|
|
118
119
|
|
|
119
120
|
> 如果 pnpm 对本包报 `ERR_PNPM_IGNORED_BUILDS`(esbuild 的平台二进制无害校验),在你的 `pnpm-workspace.yaml` 中加入 `allowBuilds: { esbuild: true }` —— `dsh` CLI 会打印确切片段。
|
|
120
121
|
|
|
122
|
+
### 示例
|
|
123
|
+
|
|
124
|
+
以下为插件真实入口;安装后调用一个即可。
|
|
125
|
+
|
|
126
|
+
#### 详细示例
|
|
127
|
+
|
|
128
|
+
**命令**
|
|
129
|
+
|
|
130
|
+
~~~sh
|
|
131
|
+
app_list
|
|
132
|
+
~~~
|
|
133
|
+
|
|
134
|
+
**输入**
|
|
135
|
+
|
|
136
|
+
~~~json
|
|
137
|
+
{}
|
|
138
|
+
~~~
|
|
139
|
+
|
|
140
|
+
**输出**
|
|
141
|
+
|
|
142
|
+
~~~text
|
|
143
|
+
1 running application(s) with windows:
|
|
144
|
+
- Demo (pid 4242, C:\Apps\demo.exe)
|
|
145
|
+
- [windowId 1122867] "Demo App" at (10, 20) 800x600
|
|
146
|
+
~~~
|
|
147
|
+
|
|
148
|
+
*来源 `plugins/dsh-click/tests/tools.spec.ts:159-185; renderer at src/tools.ts:933-942`*
|
|
149
|
+
|
|
150
|
+
#### 失败分支
|
|
151
|
+
|
|
152
|
+
**输入**
|
|
153
|
+
|
|
154
|
+
~~~text
|
|
155
|
+
{}
|
|
156
|
+
~~~
|
|
157
|
+
|
|
158
|
+
**输出**
|
|
159
|
+
|
|
160
|
+
~~~text
|
|
161
|
+
Error: dsh-click backend unavailable on linux: Linux backend is reserved but not implemented yet (Windows-first); only Windows can act today
|
|
162
|
+
~~~
|
|
163
|
+
|
|
164
|
+
*来源 `plugins/dsh-click/src/platform/selection.ts:61-62,81; plugins/dsh-click/src/tools.ts:133-136; plugins/dsh-click/tests/tools.spec.ts:226-245`*
|
|
165
|
+
|
|
166
|
+
#### 简短示例
|
|
167
|
+
|
|
168
|
+
- `screen_read`
|
|
169
|
+
- `app_list`
|
|
170
|
+
|
|
121
171
|
## 配置
|
|
122
172
|
|
|
123
173
|
所有可调项都是 Schemastery `Config` 字段(可在 cordis.yml 中修改)。按 id 定向覆盖会替换整行 —— 需要重新声明每个键。`cordis.patch.yml` 内联说明了每个键。
|
|
@@ -133,6 +183,7 @@ dsh --profile web --dump-config | grep -A2 'id: dsh-click'
|
|
|
133
183
|
| `maxHelperOutputBytes` | `25165824` | 单次 helper 响应的字节上限(1024..67108864) |
|
|
134
184
|
| `maxScreenshotSide` | `2560` | 截图最长边像素(320..7680);超出即缩放 |
|
|
135
185
|
| `staleCheckPixels` | `true` | 每次操作前对比新像素哈希,变化即拒绝 |
|
|
186
|
+
| `staleCheckTree` | `target` | 控件树新鲜度:`target` 校验目标元素(默认),`strict` 任一节点变化即拒绝,`off` 跳过整树哈希(身份/年龄/像素检查仍生效) |
|
|
136
187
|
| `maxObservationAgeMs` | `30000` | 操作可引用观察的最大时限(毫秒,1000..600000) |
|
|
137
188
|
| `maxCachedObservations` | `8` | 观察缓存 LRU 上限(1..64) |
|
|
138
189
|
| `maxElements` | `500` | 每次 `screen_read` 的无障碍元素上限(1..2000) |
|
|
@@ -212,112 +263,108 @@ pnpm pack # 发布用 tarball
|
|
|
212
263
|
|
|
213
264
|
## PerryLink DSH Plugin Family
|
|
214
265
|
|
|
215
|
-
本项目是 [PerryLink](https://github.com/PerryLink) 维护的 DeepSeek Harness
|
|
266
|
+
本项目是 [PerryLink](https://github.com/PerryLink) 维护的 DeepSeek Harness 插件家族成员。完整名单默认折叠,避免每个 README 的首屏被长表淹没;点击展开可查看每一行及其状态。
|
|
216
267
|
|
|
217
268
|
<details>
|
|
218
|
-
<summary
|
|
269
|
+
<summary>展开全部插件</summary>
|
|
219
270
|
|
|
220
|
-
| 插件 |
|
|
221
|
-
|
|
222
|
-
| **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** |
|
|
223
|
-
| **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** |
|
|
224
|
-
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** |
|
|
225
|
-
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** |
|
|
226
|
-
| **[dsh-
|
|
227
|
-
| **[dsh-bid-
|
|
228
|
-
| **[dsh-
|
|
229
|
-
| **[dsh-
|
|
230
|
-
| **[dsh-
|
|
231
|
-
| **[dsh-
|
|
232
|
-
| **[dsh-
|
|
233
|
-
| **[dsh-
|
|
234
|
-
| **[dsh-
|
|
235
|
-
| **[dsh-
|
|
236
|
-
| **[dsh-
|
|
237
|
-
| **[dsh-
|
|
238
|
-
| **[dsh-
|
|
239
|
-
| **[dsh-
|
|
240
|
-
| **[dsh-
|
|
241
|
-
| **[dsh-
|
|
242
|
-
| **[dsh-
|
|
243
|
-
| **[dsh-
|
|
244
|
-
| **[dsh-
|
|
245
|
-
| **[dsh-
|
|
246
|
-
| **[dsh-
|
|
247
|
-
| **[dsh-
|
|
248
|
-
| **[dsh-
|
|
249
|
-
| **[dsh-
|
|
250
|
-
| **[dsh-
|
|
251
|
-
| **[dsh-
|
|
252
|
-
| **[dsh-
|
|
253
|
-
| **[dsh-
|
|
254
|
-
| **[dsh-
|
|
255
|
-
| **[dsh-
|
|
256
|
-
| **[dsh-
|
|
257
|
-
| **[dsh-
|
|
258
|
-
| **[dsh-
|
|
259
|
-
| **[dsh-
|
|
260
|
-
| **[dsh-
|
|
261
|
-
| **[dsh-
|
|
262
|
-
| **[dsh-
|
|
263
|
-
| **[dsh-
|
|
264
|
-
| **[dsh-
|
|
265
|
-
| **[dsh-
|
|
266
|
-
| **[dsh-
|
|
267
|
-
| **[dsh-
|
|
268
|
-
| **[dsh-
|
|
269
|
-
| **[dsh-
|
|
270
|
-
| **[dsh-
|
|
271
|
-
| **[dsh-
|
|
272
|
-
| **[dsh-
|
|
273
|
-
| **[dsh-
|
|
274
|
-
| **[dsh-
|
|
275
|
-
| **[dsh-
|
|
276
|
-
| **[dsh-
|
|
277
|
-
| **[dsh-
|
|
278
|
-
| **[dsh-
|
|
279
|
-
| **[dsh-
|
|
280
|
-
| **[dsh-
|
|
281
|
-
| **[dsh-
|
|
282
|
-
| **[dsh-
|
|
283
|
-
| **[dsh-
|
|
284
|
-
| **[dsh-
|
|
285
|
-
| **[dsh-
|
|
286
|
-
| **[dsh-
|
|
287
|
-
| **[dsh-
|
|
288
|
-
| **[dsh-
|
|
289
|
-
| **[dsh-
|
|
290
|
-
| **[dsh-
|
|
291
|
-
| **[dsh-
|
|
292
|
-
| **[dsh-
|
|
293
|
-
| **[dsh-
|
|
294
|
-
| **[dsh-
|
|
295
|
-
| **[dsh-
|
|
296
|
-
| **[dsh-
|
|
297
|
-
| **[dsh-
|
|
298
|
-
| **[dsh-
|
|
299
|
-
| **[dsh-
|
|
300
|
-
| **[dsh-
|
|
301
|
-
| **[dsh-
|
|
302
|
-
| **[dsh-
|
|
303
|
-
| **[dsh-
|
|
304
|
-
| **[dsh-
|
|
305
|
-
| **[dsh-
|
|
306
|
-
| **[dsh-
|
|
307
|
-
| **[dsh-
|
|
308
|
-
| **[dsh-
|
|
309
|
-
| **[dsh-
|
|
310
|
-
| **[dsh-
|
|
311
|
-
| **[dsh-
|
|
312
|
-
| **[dsh-
|
|
313
|
-
| **[dsh-
|
|
314
|
-
| **[dsh-
|
|
315
|
-
| **[dsh-
|
|
316
|
-
| **[dsh-
|
|
317
|
-
|
|
318
|
-
</details>
|
|
319
|
-
|
|
320
|
-
</details>
|
|
271
|
+
| 插件 | 状态 |
|
|
272
|
+
|---|---|
|
|
273
|
+
| **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
|
|
274
|
+
| **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
|
|
275
|
+
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
|
|
276
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | |
|
|
277
|
+
| **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
|
|
278
|
+
| **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
|
|
279
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | |
|
|
280
|
+
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
|
|
281
|
+
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
|
|
282
|
+
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
|
|
283
|
+
| **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
|
|
284
|
+
| **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
|
|
285
|
+
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | |
|
|
286
|
+
| **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
|
|
287
|
+
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
|
|
288
|
+
| **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
|
|
289
|
+
| **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
|
|
290
|
+
| **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
|
|
291
|
+
| **[dsh-essay-rubric-check](https://github.com/PerryLink/dsh-essay-rubric-check)** | |
|
|
292
|
+
| **[dsh-evidence-check](https://github.com/PerryLink/dsh-evidence-check)** | |
|
|
293
|
+
| **[dsh-export-ctl-check](https://github.com/PerryLink/dsh-export-ctl-check)** | |
|
|
294
|
+
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | |
|
|
295
|
+
| **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
|
|
296
|
+
| **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
|
|
297
|
+
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
|
|
298
|
+
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
|
|
299
|
+
| **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
|
|
300
|
+
| **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
|
|
301
|
+
| **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
|
|
302
|
+
| **[dsh-hazchem-check](https://github.com/PerryLink/dsh-hazchem-check)** | |
|
|
303
|
+
| **[dsh-hazplan-check](https://github.com/PerryLink/dsh-hazplan-check)** | |
|
|
304
|
+
| **[dsh-hidden-risk-map](https://github.com/PerryLink/dsh-hidden-risk-map)** | |
|
|
305
|
+
| **[dsh-hs-classify](https://github.com/PerryLink/dsh-hs-classify)** | |
|
|
306
|
+
| **[dsh-icd-rule-check](https://github.com/PerryLink/dsh-icd-rule-check)** | |
|
|
307
|
+
| **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | |
|
|
308
|
+
| **[dsh-lawcite-adapter](https://github.com/PerryLink/dsh-lawcite-adapter)** | |
|
|
309
|
+
| **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | |
|
|
310
|
+
| **[dsh-lc-doc-check](https://github.com/PerryLink/dsh-lc-doc-check)** | |
|
|
311
|
+
| **[dsh-learning-gap-check](https://github.com/PerryLink/dsh-learning-gap-check)** | |
|
|
312
|
+
| **[dsh-library](https://github.com/PerryLink/dsh-library)** | |
|
|
313
|
+
| **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | |
|
|
314
|
+
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | |
|
|
315
|
+
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | |
|
|
316
|
+
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | |
|
|
317
|
+
| **[dsh-medrec-qc](https://github.com/PerryLink/dsh-medrec-qc)** | |
|
|
318
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | |
|
|
319
|
+
| **[dsh-nsfc-form-check](https://github.com/PerryLink/dsh-nsfc-form-check)** | |
|
|
320
|
+
| **[dsh-nurse-record-check](https://github.com/PerryLink/dsh-nurse-record-check)** | |
|
|
321
|
+
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | |
|
|
322
|
+
| **[dsh-origin-rvc-check](https://github.com/PerryLink/dsh-origin-rvc-check)** | |
|
|
323
|
+
| **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
|
|
324
|
+
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
|
|
325
|
+
| **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
|
|
326
|
+
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
|
|
327
|
+
| **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
|
|
328
|
+
| **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
|
|
329
|
+
| **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
|
|
330
|
+
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | |
|
|
331
|
+
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
|
|
332
|
+
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | |
|
|
333
|
+
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | |
|
|
334
|
+
| **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
|
|
335
|
+
| **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
|
|
336
|
+
| **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
|
|
337
|
+
| **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
|
|
338
|
+
| **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
|
|
339
|
+
| **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
|
|
340
|
+
| **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
|
|
341
|
+
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
|
|
342
|
+
| **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
|
|
343
|
+
| **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
|
|
344
|
+
| **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
|
|
345
|
+
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | |
|
|
346
|
+
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
|
|
347
|
+
| **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
|
|
348
|
+
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
|
|
349
|
+
| **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
|
|
350
|
+
| **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
|
|
351
|
+
| **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
|
|
352
|
+
| **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
|
|
353
|
+
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
|
|
354
|
+
| **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
|
|
355
|
+
| **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
|
|
356
|
+
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
|
|
357
|
+
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | |
|
|
358
|
+
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
|
|
359
|
+
| **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
|
|
360
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 已冻结 — 见仓库 README |
|
|
361
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 已冻结 — 见仓库 README |
|
|
362
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 已冻结 — 见仓库 README |
|
|
363
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 已冻结 — 见仓库 README |
|
|
364
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 已冻结 — 见仓库 README |
|
|
365
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 已退役 — 见仓库 README |
|
|
366
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 已退役 — 见仓库 README |
|
|
367
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 已退役 — 见仓库 README |
|
|
321
368
|
|
|
322
369
|
</details>
|
|
323
370
|
|