dsh-test-drive 0.3.21 → 0.3.23
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 +15 -0
- package/LICENSE +0 -0
- package/README-es.md +165 -105
- package/README-hi.md +165 -105
- package/README-pt.md +165 -105
- package/README-zh.md +164 -105
- package/README.md +164 -110
- package/SECURITY.md +0 -0
- package/THIRD_PARTY_NOTICES.md +0 -0
- package/cordis.patch.yml +0 -0
- package/lib/index.js +5 -2
- package/lib/types/batch.d.ts +0 -0
- package/lib/types/batch.d.ts.map +0 -0
- package/lib/types/capability.d.ts +0 -0
- package/lib/types/capability.d.ts.map +0 -0
- package/lib/types/command.d.ts +0 -0
- package/lib/types/command.d.ts.map +0 -0
- package/lib/types/config.d.ts +0 -0
- package/lib/types/config.d.ts.map +0 -0
- package/lib/types/domain.d.ts +0 -0
- package/lib/types/domain.d.ts.map +0 -0
- package/lib/types/drive.d.ts +0 -0
- package/lib/types/drive.d.ts.map +0 -0
- package/lib/types/driver.d.ts +0 -0
- package/lib/types/driver.d.ts.map +1 -1
- package/lib/types/index.d.ts +0 -0
- package/lib/types/index.d.ts.map +0 -0
- package/lib/types/report.d.ts +0 -0
- package/lib/types/report.d.ts.map +0 -0
- package/lib/types/result.d.ts +0 -0
- package/lib/types/result.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/session-log.d.ts +0 -0
- package/lib/types/session-log.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/workspace.d.ts +0 -0
- package/lib/types/workspace.d.ts.map +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,11 +54,11 @@ Isolated install-and-smoke test drives for DeepSeek Harness plugins.
|
|
|
54
54
|
|
|
55
55
|
Install, smoke, verify, and clean up in a throwaway profile — your real `~/.dsh` stays untouched.
|
|
56
56
|
|
|
57
|
-

|
|
58
|
+
|
|
59
|
+
*Workflow overview: question → sealed sources → report. The examples below use the real command surface.*
|
|
58
60
|
|
|
59
|
-

|
|
60
61
|
|
|
61
|
-
*The same run, animated.*
|
|
62
62
|
|
|
63
63
|
## Compatibility
|
|
64
64
|
|
|
@@ -102,6 +102,68 @@ dsh plugin --profile web add dsh-test-drive
|
|
|
102
102
|
|
|
103
103
|
Prebuilt packages need no build allowance. Restart the profile, then use `test_drive` / `/testdrive` from a session.
|
|
104
104
|
|
|
105
|
+
## DSH Desktop is not a supported test host
|
|
106
|
+
|
|
107
|
+
`test_drive` needs a `dsh` CLI that can boot a **second** headless DSH process.
|
|
108
|
+
The DSH Desktop launcher (`dsh.CMD`) only permits `dsh plugin …`, `--dump-config`,
|
|
109
|
+
and `--version`; it rejects a second headless boot by policy. Point `config.dshBin`
|
|
110
|
+
at an npm/pnpm-installed `dsh` CLI (or a plain Node + `dsh` JS entry) instead.
|
|
111
|
+
The error now says this explicitly rather than "cannot parse npm shim".
|
|
112
|
+
|
|
113
|
+
### Examples
|
|
114
|
+
|
|
115
|
+
These are the plugin's real entry points; install once, then call one.
|
|
116
|
+
|
|
117
|
+
#### Detailed example
|
|
118
|
+
|
|
119
|
+
**Command**
|
|
120
|
+
|
|
121
|
+
~~~sh
|
|
122
|
+
test_drive({ target: "dsh-click" })
|
|
123
|
+
~~~
|
|
124
|
+
|
|
125
|
+
**Output**
|
|
126
|
+
|
|
127
|
+
~~~text
|
|
128
|
+
# Test drive tdr_0b9b6e6a61e3e80cc4620f2e
|
|
129
|
+
|
|
130
|
+
- Target: `dsh-click` (npm)
|
|
131
|
+
- Verdict: ✅ pass — install, patch, boot, task, and uninstall all verified
|
|
132
|
+
- Installed: dsh-click@0.2.0
|
|
133
|
+
- Isolation: throwaway DSH_HOME + workspace + pnpm store; host profile untouched
|
|
134
|
+
|
|
135
|
+
| Stage | Result | Exit | Duration | Summary |
|
|
136
|
+
|---|---|---|---|---|
|
|
137
|
+
| install | ✅ pass | 0 | 1 ms | install ok (exit 0) |
|
|
138
|
+
| config (--dump-config) | ✅ pass | 0 | 0 ms | patch effective: dsh-click |
|
|
139
|
+
| smoke (headless boot) | ✅ pass | 0 | 0 ms | booted cleanly and the headless task completed |
|
|
140
|
+
| capability | ⏭️ skipped | null | 0 ms | capability assertion disabled (config.capability.enabled is false and no per-drive capability given) |
|
|
141
|
+
| uninstall | ✅ pass | 0 | 0 ms | remove ok (exit 0) |
|
|
142
|
+
| cleanup | ✅ pass | — | — | owned temp root quarantined and removed |
|
|
143
|
+
~~~
|
|
144
|
+
|
|
145
|
+
*Observed from `README.md:153-163,174-211; tests/drive.spec.ts:73-101; src/report.ts:34-55`*
|
|
146
|
+
|
|
147
|
+
#### Failure branch
|
|
148
|
+
|
|
149
|
+
**Input**
|
|
150
|
+
|
|
151
|
+
~~~text
|
|
152
|
+
{"target":" "}
|
|
153
|
+
~~~
|
|
154
|
+
|
|
155
|
+
**Output**
|
|
156
|
+
|
|
157
|
+
~~~text
|
|
158
|
+
isError=true; error.message=dsh-test-drive: target must be a non-empty string
|
|
159
|
+
~~~
|
|
160
|
+
|
|
161
|
+
*Observed from `plugins/dsh-test-drive/src/tools.ts:297-299 (blank target check); exercised through plugins/dsh-test-drive/tests/harness.ts`*
|
|
162
|
+
|
|
163
|
+
#### Brief examples
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
105
167
|
## Configuration
|
|
106
168
|
|
|
107
169
|
All keys are optional (defaults shown); invalid values fail loudly at load.
|
|
@@ -268,119 +330,111 @@ pnpm run build && pnpm run verify:self-contained && pnpm run verify:artifacts &&
|
|
|
268
330
|
|
|
269
331
|
## PerryLink DSH Plugin Family
|
|
270
332
|
|
|
271
|
-
This project is
|
|
333
|
+
This project is part of the DeepSeek Harness plugin family from [PerryLink](https://github.com/PerryLink). The roster stays collapsed below so every README keeps a short first screen; expand it to see every row and its status.
|
|
272
334
|
|
|
273
335
|
<details>
|
|
274
|
-
<summary>Expand all
|
|
336
|
+
<summary>Expand all plugins</summary>
|
|
275
337
|
|
|
276
|
-
| Plugin |
|
|
277
|
-
|
|
278
|
-
| **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** |
|
|
279
|
-
| **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** |
|
|
280
|
-
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** |
|
|
281
|
-
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** |
|
|
282
|
-
| **[dsh-
|
|
283
|
-
| **[dsh-bid-
|
|
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
|
-
| **[dsh-
|
|
318
|
-
| **[dsh-
|
|
319
|
-
| **[dsh-
|
|
320
|
-
| **[dsh-
|
|
321
|
-
| **[dsh-
|
|
322
|
-
| **[dsh-
|
|
323
|
-
| **[dsh-
|
|
324
|
-
| **[dsh-
|
|
325
|
-
| **[dsh-
|
|
326
|
-
| **[dsh-
|
|
327
|
-
| **[dsh-
|
|
328
|
-
| **[dsh-
|
|
329
|
-
| **[dsh-
|
|
330
|
-
| **[dsh-
|
|
331
|
-
| **[dsh-
|
|
332
|
-
| **[dsh-
|
|
333
|
-
| **[dsh-
|
|
334
|
-
| **[dsh-
|
|
335
|
-
| **[dsh-
|
|
336
|
-
| **[dsh-
|
|
337
|
-
| **[dsh-
|
|
338
|
-
| **[dsh-
|
|
339
|
-
| **[dsh-
|
|
340
|
-
| **[dsh-
|
|
341
|
-
| **[dsh-
|
|
342
|
-
| **[dsh-
|
|
343
|
-
| **[dsh-
|
|
344
|
-
| **[dsh-
|
|
345
|
-
| **[dsh-
|
|
346
|
-
| **[dsh-
|
|
347
|
-
| **[dsh-
|
|
348
|
-
| **[dsh-
|
|
349
|
-
| **[dsh-
|
|
350
|
-
| **[dsh-
|
|
351
|
-
| **[dsh-
|
|
352
|
-
| **[dsh-
|
|
353
|
-
| **[dsh-
|
|
354
|
-
| **[dsh-
|
|
355
|
-
| **[dsh-
|
|
356
|
-
| **[dsh-
|
|
357
|
-
| **[dsh-
|
|
358
|
-
| **[dsh-
|
|
359
|
-
| **[dsh-
|
|
360
|
-
| **[dsh-
|
|
361
|
-
| **[dsh-
|
|
362
|
-
| **[dsh-
|
|
363
|
-
| **[dsh-
|
|
364
|
-
| **[dsh-
|
|
365
|
-
| **[dsh-
|
|
366
|
-
| **[dsh-
|
|
367
|
-
| **[dsh-
|
|
368
|
-
| **[dsh-
|
|
369
|
-
| **[dsh-
|
|
370
|
-
| **[dsh-
|
|
371
|
-
| **[dsh-
|
|
372
|
-
| **[dsh-
|
|
373
|
-
|
|
374
|
-
</details>
|
|
375
|
-
|
|
376
|
-
</details>
|
|
338
|
+
| Plugin | Status |
|
|
339
|
+
|---|---|
|
|
340
|
+
| **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
|
|
341
|
+
| **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
|
|
342
|
+
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
|
|
343
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | |
|
|
344
|
+
| **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
|
|
345
|
+
| **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
|
|
346
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | |
|
|
347
|
+
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
|
|
348
|
+
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
|
|
349
|
+
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
|
|
350
|
+
| **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
|
|
351
|
+
| **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
|
|
352
|
+
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | |
|
|
353
|
+
| **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
|
|
354
|
+
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
|
|
355
|
+
| **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
|
|
356
|
+
| **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
|
|
357
|
+
| **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
|
|
358
|
+
| **[dsh-essay-rubric-check](https://github.com/PerryLink/dsh-essay-rubric-check)** | |
|
|
359
|
+
| **[dsh-evidence-check](https://github.com/PerryLink/dsh-evidence-check)** | |
|
|
360
|
+
| **[dsh-export-ctl-check](https://github.com/PerryLink/dsh-export-ctl-check)** | |
|
|
361
|
+
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | |
|
|
362
|
+
| **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
|
|
363
|
+
| **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
|
|
364
|
+
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
|
|
365
|
+
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
|
|
366
|
+
| **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
|
|
367
|
+
| **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
|
|
368
|
+
| **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
|
|
369
|
+
| **[dsh-hazchem-check](https://github.com/PerryLink/dsh-hazchem-check)** | |
|
|
370
|
+
| **[dsh-hazplan-check](https://github.com/PerryLink/dsh-hazplan-check)** | |
|
|
371
|
+
| **[dsh-hidden-risk-map](https://github.com/PerryLink/dsh-hidden-risk-map)** | |
|
|
372
|
+
| **[dsh-hs-classify](https://github.com/PerryLink/dsh-hs-classify)** | |
|
|
373
|
+
| **[dsh-icd-rule-check](https://github.com/PerryLink/dsh-icd-rule-check)** | |
|
|
374
|
+
| **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | |
|
|
375
|
+
| **[dsh-lawcite-adapter](https://github.com/PerryLink/dsh-lawcite-adapter)** | |
|
|
376
|
+
| **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | |
|
|
377
|
+
| **[dsh-lc-doc-check](https://github.com/PerryLink/dsh-lc-doc-check)** | |
|
|
378
|
+
| **[dsh-learning-gap-check](https://github.com/PerryLink/dsh-learning-gap-check)** | |
|
|
379
|
+
| **[dsh-library](https://github.com/PerryLink/dsh-library)** | |
|
|
380
|
+
| **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | |
|
|
381
|
+
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | |
|
|
382
|
+
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | |
|
|
383
|
+
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | |
|
|
384
|
+
| **[dsh-medrec-qc](https://github.com/PerryLink/dsh-medrec-qc)** | |
|
|
385
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | |
|
|
386
|
+
| **[dsh-nsfc-form-check](https://github.com/PerryLink/dsh-nsfc-form-check)** | |
|
|
387
|
+
| **[dsh-nurse-record-check](https://github.com/PerryLink/dsh-nurse-record-check)** | |
|
|
388
|
+
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | |
|
|
389
|
+
| **[dsh-origin-rvc-check](https://github.com/PerryLink/dsh-origin-rvc-check)** | |
|
|
390
|
+
| **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
|
|
391
|
+
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
|
|
392
|
+
| **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
|
|
393
|
+
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
|
|
394
|
+
| **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
|
|
395
|
+
| **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
|
|
396
|
+
| **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
|
|
397
|
+
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | |
|
|
398
|
+
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
|
|
399
|
+
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | |
|
|
400
|
+
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | |
|
|
401
|
+
| **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
|
|
402
|
+
| **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
|
|
403
|
+
| **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
|
|
404
|
+
| **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
|
|
405
|
+
| **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
|
|
406
|
+
| **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
|
|
407
|
+
| **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
|
|
408
|
+
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
|
|
409
|
+
| **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
|
|
410
|
+
| **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
|
|
411
|
+
| **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
|
|
412
|
+
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | |
|
|
413
|
+
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
|
|
414
|
+
| **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
|
|
415
|
+
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
|
|
416
|
+
| **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
|
|
417
|
+
| **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
|
|
418
|
+
| **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
|
|
419
|
+
| **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
|
|
420
|
+
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
|
|
421
|
+
| **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
|
|
422
|
+
| **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
|
|
423
|
+
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
|
|
424
|
+
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | |
|
|
425
|
+
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
|
|
426
|
+
| **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
|
|
427
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 FROZEN — see the repo README |
|
|
428
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 FROZEN — see the repo README |
|
|
429
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 FROZEN — see the repo README |
|
|
430
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 FROZEN — see the repo README |
|
|
431
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 FROZEN — see the repo README |
|
|
432
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRED — see the repo README |
|
|
433
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRED — see the repo README |
|
|
434
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRED — see the repo README |
|
|
377
435
|
|
|
378
436
|
</details>
|
|
379
437
|
|
|
380
|
-
### Install from the DSH Desktop Market
|
|
381
|
-
|
|
382
|
-
All PerryLink plugins are browsable in the built-in DSH Desktop Market: **Market → Sources → add source → paste** `https://perrylink-dsh-catalog.perrylink.workers.dev/catalog-source.json` **→ select it**. Installation still goes through the Market's npm-identity verification and your confirmation.
|
|
383
|
-
|
|
384
438
|
## License
|
|
385
439
|
|
|
386
440
|
[Apache-2.0](LICENSE)
|
package/SECURITY.md
CHANGED
|
File without changes
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
File without changes
|
package/cordis.patch.yml
CHANGED
|
File without changes
|
package/lib/index.js
CHANGED
|
@@ -404,7 +404,10 @@ const BOOT_FAILURE_MARKERS = [
|
|
|
404
404
|
/** Parse the JS target out of an npm-generated `.cmd`/`.bat` shim. */
|
|
405
405
|
function parseNpmShim(shimPath, shimText) {
|
|
406
406
|
const rel = /"%dp0%\\(?<rel>node_modules\\[^"]+\.(?:js|cjs|mjs))"/u.exec(shimText)?.groups?.rel;
|
|
407
|
-
if (rel === void 0)
|
|
407
|
+
if (rel === void 0) {
|
|
408
|
+
if (/ELECTRON_RUN_AS_NODE|DSH Desktop/iu.test(shimText)) throw new Error(`dsh-test-drive: ${shimPath} is the DSH Desktop launcher, whose CLI policy rejects a second headless DSH boot; set config.dshBin to an npm/pnpm-installed dsh CLI (or a plain Node + dsh JS entry) instead`);
|
|
409
|
+
throw new Error(`dsh-test-drive: cannot parse npm shim ${shimPath} (no dp0-relative JS target found)`);
|
|
410
|
+
}
|
|
408
411
|
return join(dirname(shimPath), rel);
|
|
409
412
|
}
|
|
410
413
|
/** Regex escape for layer/row matching against package names. */
|
|
@@ -1078,7 +1081,7 @@ function sanitizeOutput(text, tempRoot, maxChars) {
|
|
|
1078
1081
|
* The structured report records it as `run.pluginVersion`.
|
|
1079
1082
|
* @module dsh-test-drive/version
|
|
1080
1083
|
*/
|
|
1081
|
-
const VERSION = "0.3.
|
|
1084
|
+
const VERSION = "0.3.23";
|
|
1082
1085
|
//#endregion
|
|
1083
1086
|
//#region src/drive.ts
|
|
1084
1087
|
/**
|
package/lib/types/batch.d.ts
CHANGED
|
File without changes
|
package/lib/types/batch.d.ts.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/types/command.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/config.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/domain.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/drive.d.ts
CHANGED
|
File without changes
|
package/lib/types/drive.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/driver.d.ts
CHANGED
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../src/driver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAG7C,2DAA2D;AAC3D,eAAO,MAAM,iBAAiB,QAAY,CAAA;AAE1C,iDAAiD;AACjD,eAAO,MAAM,eAAe,QAAc,CAAA;AAE1C,6DAA6D;AAC7D,eAAO,MAAM,cAAc,OAAQ,CAAA;AAEnC,qGAAqG;AACrG,eAAO,MAAM,gBAAgB,EAAE,SAAS,MAAM,EAAuF,CAAA;AAErI,kFAAkF;AAClF,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EAMjD,CAAA;AAED,4CAA4C;AAC5C,MAAM,WAAW,cAAc;IAC7B,wEAAwE;IACxE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,oEAAoE;IACpE,MAAM,EAAE,MAAM,CAAA;IACd,6BAA6B;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,kEAAkE;IAClE,SAAS,EAAE,OAAO,CAAA;IAClB,2CAA2C;IAC3C,UAAU,EAAE,MAAM,CAAA;IAClB,uFAAuF;IACvF,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED,6DAA6D;AAC7D,MAAM,WAAW,eAAe;IAC9B,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,+BAA+B;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,6BAA6B;IAC7B,QAAQ,EAAE,MAAM,CAAA;IAChB,sCAAsC;IACtC,SAAS,EAAE,MAAM,CAAA;IACjB,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GAAG,OAAO,CAAC,UAAU,CAAC;IAcxE,kEAAkE;IAC5D,UAAU,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC;IAInE,+DAA+D;IACzD,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC;IAIhF;;;;;;;;;;;;;;OAcG;IACG,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIxE,2EAA2E;IACrE,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC;IAIpF,gEAAgE;IAC1D,OAAO,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,MAAM,CAAC;IAKxD;;;;;OAKG;IACG,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;CA+BtF;AAED,yHAAyH;AACzH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAEtE"}
|
package/lib/types/index.d.ts
CHANGED
|
File without changes
|
package/lib/types/index.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/report.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/result.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/sanitize.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/types/tools.d.ts
CHANGED
|
File without changes
|
package/lib/types/tools.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/version.d.ts
CHANGED
|
File without changes
|
package/lib/types/workspace.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-test-drive",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.23",
|
|
4
4
|
"description": "Isolated install-and-smoke test drives for DeepSeek Harness plugins: installs a repo or npm package into a throwaway DSH_HOME profile, verifies the bundle patch layer and boot logs, records a structured pass/fail result matrix (JSON/Markdown) for scoring pipelines, and quarantines every temp directory it owns",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|