dsh-windows-parallel-mcp 0.8.2 → 0.9.0-rc.2
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.de.md +444 -419
- package/CHANGELOG.es.md +444 -419
- package/CHANGELOG.fr.md +444 -419
- package/CHANGELOG.it.md +444 -419
- package/CHANGELOG.ja.md +444 -419
- package/CHANGELOG.ko.md +444 -419
- package/CHANGELOG.md +965 -940
- package/CHANGELOG.pt.md +444 -419
- package/CHANGELOG.ru.md +444 -419
- package/CHANGELOG.zh.md +444 -419
- package/INSTALL.de.md +126 -126
- package/INSTALL.es.md +126 -126
- package/INSTALL.fr.md +126 -126
- package/INSTALL.it.md +126 -126
- package/INSTALL.ja.md +126 -126
- package/INSTALL.ko.md +126 -126
- package/INSTALL.md +122 -122
- package/INSTALL.pt.md +126 -126
- package/INSTALL.ru.md +126 -126
- package/INSTALL.zh.md +126 -126
- package/README.de.md +684 -684
- package/README.es.md +684 -684
- package/README.fr.md +684 -684
- package/README.it.md +684 -684
- package/README.ja.md +684 -684
- package/README.ko.md +684 -684
- package/README.md +680 -680
- package/README.pt.md +684 -684
- package/README.ru.md +684 -684
- package/README.zh.md +684 -684
- package/cordis.patch.yml +15 -15
- package/docs/refusals.md +90 -90
- package/docs/takeover.md +128 -128
- package/dsh.plugin.json +18 -18
- package/lib/config.js +275 -275
- package/lib/engine.js +252 -252
- package/lib/host-tools.js +365 -338
- package/lib/index.js +1275 -1249
- package/lib/peers-schemastery.js +23 -23
- package/lib/peers-tools.js +15 -15
- package/lib/proof-window.mjs +427 -427
- package/package.json +122 -122
- package/server.json +110 -110
- package/src/engine/decide.ps1 +356 -356
- package/src/engine/engine.ps1 +1208 -1208
- package/src/engine/hud.ps1 +411 -411
- package/src/engine/input-inject.ps1 +176 -176
- package/src/engine/overlay.ps1 +389 -389
- package/src/engine/takeover.ps1 +144 -144
- package/src/engine/win.ps1 +1881 -1881
- package/src/engine/worker.ps1 +310 -310
- package/src/schema/tools.json +533 -533
- package/types/index.d.ts +190 -187
package/CHANGELOG.md
CHANGED
|
@@ -1,941 +1,964 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
**English** · [中文](CHANGELOG.zh.md) · [日本語](CHANGELOG.ja.md) · [한국어](CHANGELOG.ko.md) · [Français](CHANGELOG.fr.md) · [Deutsch](CHANGELOG.de.md) · [Italiano](CHANGELOG.it.md) · [Español](CHANGELOG.es.md) · [Português](CHANGELOG.pt.md) · [Русский](CHANGELOG.ru.md)
|
|
4
|
-
Dates are the registry `time` values for each version, not git commit dates — a commit date records
|
|
5
|
-
when someone typed, a publish time records when a version became installable, and only the second
|
|
6
|
-
one is a promise to anyone installing it.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
the
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
`
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
the
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
`
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
`
|
|
167
|
-
the
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
`
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
- **`
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
- **`
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
###
|
|
361
|
-
|
|
362
|
-
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
the
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
`
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
- `
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
###
|
|
549
|
-
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
- **
|
|
621
|
-
`
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
- **
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
`
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
`
|
|
680
|
-
"
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
The
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
0.1.
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
- `
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
**
|
|
801
|
-
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
returned
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
and
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
- `
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
the
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
the
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
**Verified for this version**
|
|
906
|
-
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
**English** · [中文](CHANGELOG.zh.md) · [日本語](CHANGELOG.ja.md) · [한국어](CHANGELOG.ko.md) · [Français](CHANGELOG.fr.md) · [Deutsch](CHANGELOG.de.md) · [Italiano](CHANGELOG.it.md) · [Español](CHANGELOG.es.md) · [Português](CHANGELOG.pt.md) · [Русский](CHANGELOG.ru.md)
|
|
4
|
+
Dates are the registry `time` values for each version, not git commit dates — a commit date records
|
|
5
|
+
when someone typed, a publish time records when a version became installable, and only the second
|
|
6
|
+
one is a promise to anyone installing it.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## 0.9.0-rc.2 — 2026-11-29 (prerelease)
|
|
13
|
+
|
|
14
|
+
**`clampNumber` is now two functions with two different promises.** `clampSetting` keeps the tolerant
|
|
15
|
+
clamp for configuration values (a stale setting must not brick every tool call — schemastery is the
|
|
16
|
+
validation surface, the clamp is only the fallback). `refuseOutOfRange` serves call ARGUMENTS: the
|
|
17
|
+
four sites that forward numbers to the worker (`takeoverMaxMs`, `maxElements`, `maxWidth`, `waitMs`)
|
|
18
|
+
now refuse with `invalid_argument` naming the value that was actually sent, instead of silently
|
|
19
|
+
pressing 99999 into 5000 or -5 into 0. The refusal code is added to the shipped `RefusalCode`
|
|
20
|
+
contract; the schema/docs/case-table catch-up lands with rc.3.
|
|
21
|
+
## 0.9.0-rc.1 — 2026-11-29 (prerelease)
|
|
22
|
+
|
|
23
|
+
**Argument validation now enforces the bounds the contract already declared.** `validateArguments`
|
|
24
|
+
knew only `typeof` and `enum`, so `maxElements: 0`, `maxElements: 99999`, `maxWidth: -5` and
|
|
25
|
+
`label: 2.7` all passed the gate and were silently clamped or rounded downstream — the caller acted
|
|
26
|
+
on a value it never asked for and nothing said so. Out-of-range and fractional arguments are
|
|
27
|
+
violations now, reported with the got-value. `src/schema/tools.json` carries an explicit
|
|
28
|
+
`"integer": true` on every integer field, and the registered host schema mirrors the same
|
|
29
|
+
minimum/maximum/integer constraints the model is told about. Also fixes three gate scripts that
|
|
30
|
+
mis-reported on CRLF checkouts (self-test literals pinned to `\n`, the README release-line strip).
|
|
31
|
+
No runtime behavior change for in-range calls; the actual refusals arrive in the following rc's of
|
|
32
|
+
this line.
|
|
33
|
+
## 0.8.2 — 2026-11-24
|
|
34
|
+
|
|
35
|
+
> Published 2026-11-24T04:59:02.972Z (registry `time` for 0.8.2, read from the packument, not from a commit date).
|
|
36
|
+
|
|
37
|
+
**A refusal that said "no child window sits under that point" when the truth was "something is painted over
|
|
38
|
+
it".** Both are refusals and neither verdict changed; what changed is that the second now says so, names the
|
|
39
|
+
blocking window class, and gives the only next step that works. The distinction earns its own sentence because
|
|
40
|
+
the two have nothing in common: a wrong coordinate is the caller's mistake, and a covered point is a desktop
|
|
41
|
+
state the caller can fix by bringing the target forward.
|
|
42
|
+
|
|
43
|
+
The behaviour behind it was measured rather than assumed. With the owner's browser covering a WinForms target
|
|
44
|
+
(target `visible=true`, its own button rectangle holding the point), `WM_LBUTTONDOWN`/`WM_LBUTTONUP` delivered
|
|
45
|
+
to that button answered `ok` and the application never ran its handler -- the caption stayed `Press`,
|
|
46
|
+
`focusTaken=false`. A message press needs the mouse capture on this toolkit, and a covered window does not get
|
|
47
|
+
it. So the first fix attempted here -- accept the point, because "a window message needs no visibility" --
|
|
48
|
+
was reverted: it made the product report success for a click that did not happen. `unreachable` stays the code
|
|
49
|
+
for both worlds; only the reason now tells them apart.
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- The covered-point refusal names the blocker (`blocker class=...`) and points at the next step instead of
|
|
54
|
+
reusing the wrong-coordinate sentence. No new refusal code: the vocabulary is unchanged at seventeen.
|
|
55
|
+
- `test/llm-action-battery.mjs` measures THIS repository. It used to load the desktop profile's installed copy
|
|
56
|
+
silently, which sat at 0.2.0 while the repo was 0.8.1 -- the two "baseline failures" recorded in the plan's
|
|
57
|
+
findings were that copy talking, and both disappear against the checkout. It now refuses to run when the
|
|
58
|
+
surface under test is a different version.
|
|
59
|
+
- Its foreground arm samples before and after EACH action instead of once at each end. The old shape measured
|
|
60
|
+
who held the foreground at the end, which the fixture's own `Show()`, the OS hand-back, and an app taking
|
|
61
|
+
focus while handling a click all move.
|
|
62
|
+
- `scripts/winforms-target.ps1` gains `-Topmost` (default off): Z-order only, no foreground permission. The
|
|
63
|
+
foreground lock refuses a background process's `SetForegroundWindow` -- measured twice here -- so a test
|
|
64
|
+
that needs its own pixels visible cannot get them by asking to be raised.
|
|
65
|
+
- The battery disposes its sidecar and has a 240 s hard stop; without them the second consecutive run hung on
|
|
66
|
+
a leaked worker.
|
|
67
|
+
|
|
68
|
+
Nothing under `lib/` or `src/schema/` changed: eleven actions, seventeen codes, the policy ceiling and the
|
|
69
|
+
audit line are byte-identical to 0.8.1.
|
|
70
|
+
|
|
71
|
+
## 0.8.1 — 2026-11-24
|
|
72
|
+
|
|
73
|
+
> Published 2026-11-24T01:35:11.785Z (registry `time` for 0.8.1, read from the packument, not from a commit date).
|
|
74
|
+
|
|
75
|
+
**One shipped file that a registry would have refused.** 0.8.0's `server.json` carried an 800-character
|
|
76
|
+
`description`; the Registry's own JSON Schema (2025-12-11) caps that field at 100 characters, and ajv said
|
|
77
|
+
so in one line. Nothing about the plugin's behaviour was wrong -- the MCP server, the actions, the gates
|
|
78
|
+
and the audit are byte-identical to 0.8.0 -- but the manifest is how a listing finds the package, and a
|
|
79
|
+
manifest a registry rejects is a delivery form that exists only in the repository.
|
|
80
|
+
|
|
81
|
+
### Fixed
|
|
82
|
+
|
|
83
|
+
- `server.json` `description` is now a 92-character sentence, and the capability prose moved to
|
|
84
|
+
`_meta["io.modelcontextprotocol.registry/publisher-provided"].capabilitySummary`, which is the field the
|
|
85
|
+
Registry actually preserves for it (under its 4 KB limit; this one is ~1.2 KB).
|
|
86
|
+
- `test/schema-test.mjs` asserts the Registry's limits rather than remembering them: `description` 1..100,
|
|
87
|
+
`title` 1..100, `name` matching the reverse-DNS pattern within 200 characters, a concrete version rather
|
|
88
|
+
than a range, `_meta` publisher-provided under 4096 bytes, and every declared environment variable
|
|
89
|
+
carrying a name. The pre-existing two-way check (declared == read) stays.
|
|
90
|
+
- `package.json` / `dsh.plugin.json` / `server.json` / README release line all now say 0.8.1, and
|
|
91
|
+
`dsh.plugin.json`'s description mentions the second delivery form, which it had been omitting since
|
|
92
|
+
0.8.0 -- a manifest that describes an older release is how a plugin gets judged for something it no
|
|
93
|
+
longer does.
|
|
94
|
+
|
|
95
|
+
Found the way most of this project's defects are found: by running the check against the real thing. The
|
|
96
|
+
Registry schema was fetched for the 0.8.0 release (the plan's R7 says the registry is in preview and its
|
|
97
|
+
rules may move before general availability) and validated with the ajv already present in the DSH install
|
|
98
|
+
tree, so the claim "`server.json` validates" is a command with an exit code, not an opinion.
|
|
99
|
+
|
|
100
|
+
## 0.8.0 — 2026-11-24
|
|
101
|
+
|
|
102
|
+
> Published 2026-11-24T01:21:32.334Z (registry `time` for 0.8.0, read from the packument, not from a commit date).
|
|
103
|
+
|
|
104
|
+
**One engine, two channels, and the second one is not a second implementation.** The package is now also
|
|
105
|
+
an MCP server over stdio (`bin: wpm-mcp`), while the DSH plugin form is untouched: same `apply()`, same
|
|
106
|
+
exports, same eleven actions, same seventeen codes, same gates, same audit line. This reverses the
|
|
107
|
+
2026-11-19 decision "form = A, no MCP" — on purpose, and in the contract file rather than in a commit
|
|
108
|
+
message: `src/schema/tools.json` gained `mcpProjection` beside `hostProjection`, and its `status` line
|
|
109
|
+
now says which decision was reversed, when, and for what reason (the Registry accepts MCP servers only,
|
|
110
|
+
and DSH can bridge one, so one implementation reaches two channels instead of one). No action and no
|
|
111
|
+
refusal code were added. **Zero files under `src/engine/` changed.**
|
|
112
|
+
|
|
113
|
+
### Added — the stdio form
|
|
114
|
+
|
|
115
|
+
- **`lib/mcp-server.mjs`** — JSON-RPC 2.0 over stdin/stdout with Node built-ins, **no
|
|
116
|
+
`@modelcontextprotocol/sdk`**: `initialize`, `ping`, `tools/list`, `tools/call`; an unknown method gets
|
|
117
|
+
`-32601` and the process survives it; a non-JSON line gets `-32700` with a null `id` and the loop
|
|
118
|
+
survives it; a notification gets no reply at all; replies are keyed by `id` because the sidecar is
|
|
119
|
+
asynchronous and assuming FIFO would be inventing a second protocol; closing stdin disposes the worker
|
|
120
|
+
and exits 0. `tools/call` forwards into the existing `toRequest()` / `format()`, so refusal codes come
|
|
121
|
+
back verbatim as the first token of the text — this file does not soften, renumber or re-explain a
|
|
122
|
+
refusal. The plugin's logger is handed stderr: `ctx.logger ?? console` would otherwise print warnings
|
|
123
|
+
**into the JSON stream** and corrupt the transport for every client reading it.
|
|
124
|
+
- **`tools/list` is generated from `src/schema/tools.json`, not transcribed** — one `oneOf` branch per
|
|
125
|
+
action carrying that action's `properties`, `required` and `additionalProperties` field for field, an
|
|
126
|
+
`action` enum that is the contract's action list, and a description that pairs every action with the
|
|
127
|
+
rung it declares and lists every refusal code with the summary the contract already carries. Nothing
|
|
128
|
+
in the server spells out an action name, a parameter name or a code, which is the only reason the two
|
|
129
|
+
forms cannot drift into disagreeing about what they both promise (risk R6).
|
|
130
|
+
- **One tool, not eleven** — `wpm` with an `action` discriminator, because the 0.5.0 token argument
|
|
131
|
+
survives a transport and `tools/call` accepts an arbitrary argument object anyway.
|
|
132
|
+
- **Settings come from the environment, never from the call** — the `WPM_*` set is read at start-up and
|
|
133
|
+
only where present, so the defaults stay exactly where they were (`lib/index.js`) instead of being
|
|
134
|
+
copied. A caller that could set its own `policy` or append to `appLaunchAllow` would make the
|
|
135
|
+
authorization model decorative, and over stdio the process owner is the trust boundary that a profile
|
|
136
|
+
is inside DSH.
|
|
137
|
+
- **A screenshot returns pixels as well as numbers** — the PNG is attached as base64 `image` content,
|
|
138
|
+
because a file path is meaningless to a caller that is not on this machine; the text block still carries
|
|
139
|
+
`screenRect` / `imageSize` / `scale` / `identity` / `frame` / `captureBackend`, and `WPM_MCP_NO_IMAGE=1`
|
|
140
|
+
opts out of the attachment. Measured across the DSH bridge: a host with no attachment store projects the
|
|
141
|
+
image into an `[image unavailable: …]` diagnostic and keeps every number, so defaulting to "attach"
|
|
142
|
+
cannot cost a caller the information it needed the call for.
|
|
143
|
+
- **`server.json`** — the MCP Registry manifest: namespace `io.github.drscrewdriver/dsh-windows-parallel-mcp`,
|
|
144
|
+
one npm package entry pinned to this version (`https://registry.npmjs.org`, which is the only base URL
|
|
145
|
+
the Registry accepts), `transport: stdio`, and **nineteen** documented environment variables — every one
|
|
146
|
+
the server reads and nothing it does not, which `test/schema-test.mjs` now asserts in both directions.
|
|
147
|
+
|
|
148
|
+
### Changed — the contract and the package, not the behaviour
|
|
149
|
+
|
|
150
|
+
- `src/schema/tools.json` carries `mcpProjection` (form, decision date, reversal, why, tool, discriminator,
|
|
151
|
+
schema source, implementation source, settings source, image content, transport discipline) beside the
|
|
152
|
+
unchanged `hostProjection`, plus a note that 0.8.0 adds a second transport and no capability.
|
|
153
|
+
- `package.json` gained `bin.wpm-mcp`, `exports["./server.json"]` and `server.json` in `files`; the
|
|
154
|
+
`test:mcp` and `mcp` scripts exist so the form is runnable from a checkout.
|
|
155
|
+
- `dsh.plugin.json`'s contributed-tool description was stale — it still listed eight actions. It now names
|
|
156
|
+
eleven, names the read-back and the ceiling, and says the engine is also reachable as an MCP stdio
|
|
157
|
+
server. A manifest that describes an older release is how a plugin gets judged for something it no
|
|
158
|
+
longer does.
|
|
159
|
+
- `scripts/check-pack.mjs` requires `server.json` and `lib/mcp-server.mjs` in the tarball, and checks every
|
|
160
|
+
`bin` target against the listing: a command npm did not ship, or an entry file without a shebang, both
|
|
161
|
+
install cleanly and fail at run time.
|
|
162
|
+
|
|
163
|
+
### Fixed
|
|
164
|
+
|
|
165
|
+
- **An invalid argument was on its way to being reported as a server fault.** `tools/call` with
|
|
166
|
+
`action:'not-an-action'` reaches argument validation, which throws `ToolArgsError`; the first version of
|
|
167
|
+
the MCP handler mapped any thrown error without a refusal `code` to `-32603` — telling a client its own
|
|
168
|
+
request was our internal error. It is now a tool-level error whose text names the argument, and the wire
|
|
169
|
+
test asserts the classification from outside the process.
|
|
170
|
+
- **A locator that read as an absence.** Finding the DSH install with `execFileSync('npm', …)` throws
|
|
171
|
+
ENOENT on Windows because `npm` is a `.cmd` — so the bridge test reported "no DSH install" on a machine
|
|
172
|
+
that has one, and a permanent silent SKIP is how an unverified claim slips through.
|
|
173
|
+
|
|
174
|
+
### Gates and tests
|
|
175
|
+
|
|
176
|
+
- **Gate 21 → 22: `scripts/check-mcp-schema.mjs`.** It starts the real server over real stdio, reads what a
|
|
177
|
+
client would read, and compares it field by field with the contract file. `--self-test` mutates **both
|
|
178
|
+
sides**: four server-side edits (drop the property spread, stop listing refusal codes, hard-write the
|
|
179
|
+
action enum, freeze every rung) must turn it red, and two contract-side edits (rename a parameter,
|
|
180
|
+
flip one `additionalProperties` in `tools.json`) must stay green **and move** — an arm that only breaks
|
|
181
|
+
the generator cannot distinguish a generated schema from a transcribed one that happens to agree today.
|
|
182
|
+
All six seen.
|
|
183
|
+
- **`test/mcp-stdio.mjs` (38 assertions)** — the transport itself: one tool; the action enum equal to the
|
|
184
|
+
contract's; every branch matching its entry field by field; a policy refusal arriving with its code and
|
|
185
|
+
`isError`; `structuredContent` mirroring the DSH result; a screenshot carrying `text` + `image`; `-32602`
|
|
186
|
+
for an unknown tool; a notification producing no line; a garbage line answered with `-32700` and a null
|
|
187
|
+
`id`; two concurrent calls matched by id and not swapped; **not one stdout line that was not JSON**; exit
|
|
188
|
+
0 on stdin close.
|
|
189
|
+
- **`test/mcp-bridge.mjs` (17 assertions)** — the bridge with the host's own code: `@modelcontextprotocol/client`
|
|
190
|
+
2.2.0 negotiates with us and accepts our `initialize` and `tools/list` shapes, and
|
|
191
|
+
`createMcpToolDefinition` from `@deepseek-ai/dsh-mcp-client` produces a tool whose parameters survived
|
|
192
|
+
the trip, whose refusal message still starts with `policy_denied`, and whose screenshot keeps its
|
|
193
|
+
mapping when no attachment store is mounted. Then both forms are called in one process and their first
|
|
194
|
+
output lines must be identical. It NAMED-SKIPs where no DSH install exists, because a green that depends
|
|
195
|
+
on a missing tool is a red that has not happened yet.
|
|
196
|
+
- `lib/mcp-server.mjs` is under `allowJs + checkJs + strict` — the only reason that happened is that
|
|
197
|
+
`check-jsdoc.mjs` now asserts its own list covers every file in `lib/`, so a new module cannot be added
|
|
198
|
+
outside the type-checking perimeter.
|
|
199
|
+
- Full gate **22 arms GATE GREEN ×3**; `check-i18n` PASS with the 0.8.0 entry in all ten CHANGELOGs.
|
|
200
|
+
|
|
201
|
+
## 0.7.0 — 2026-11-23
|
|
202
|
+
|
|
203
|
+
> Published 2026-11-23T18:54:04.951Z (registry `time` for 0.7.0, read from the packument, not from a commit date).
|
|
204
|
+
|
|
205
|
+
**The gap that was "you cannot even start a program" is closed, and the binary permission gate becomes
|
|
206
|
+
one ceiling over eleven declared rungs.** Three new actions, one authorization model, an audit trail,
|
|
207
|
+
two new refusal codes' worth of vocabulary... in fact exactly three new codes and fourteen unchanged.
|
|
208
|
+
|
|
209
|
+
### Added — three desktop actions
|
|
210
|
+
|
|
211
|
+
- **`launch`** — starts a program by name or absolute path, behind **two switches that do not imply each
|
|
212
|
+
other**: `appLaunchAllowed` (the capability) and `appLaunchAllow` (an **exact, case-folded** whitelist,
|
|
213
|
+
empty by default = nothing may launch, no wildcard and no prefix match, so `notepad` never authorises
|
|
214
|
+
`notepad-helper.exe`). Refused with `app_launch_denied` before any worker request — asserted with a
|
|
215
|
+
counted worker, and re-checked inside the engine against the same table, because a permission that
|
|
216
|
+
lives in only one process is a permission that can be reached around by calling the other. A process
|
|
217
|
+
with no window yet answers `ok:true` + `hwnd=""` + `detail=window-not-yet` (measured:
|
|
218
|
+
`MainWindowHandle=0` for 1348 ms on a cold notepad) rather than pretending the start failed or the
|
|
219
|
+
window exists. Arguments are passed through as given and written to the audit log: a whitelist vouches
|
|
220
|
+
for a program, not for what it is told to do.
|
|
221
|
+
- **`clipboard`** — read/write, text and image. A text read reports its **length and never the payload**
|
|
222
|
+
(the clipboard may hold a token the owner copied seconds ago), values are capped at 64 KB with
|
|
223
|
+
`truncated` stated, an image write accepts a `shotId` so a screenshot can go straight in, and a
|
|
224
|
+
clipboard holding neither is refused with the format names it did find.
|
|
225
|
+
- **`window`** — `minimize`/`restore`/`move`/`resize`/`topmost` on ONE hwnd. Every op is verified by
|
|
226
|
+
reading the window's own state back (`IsIconic`, `GetWindowRect`, `WS_EX_TOPMOST`), not by the
|
|
227
|
+
syscall's return value, and the result carries `foregroundTaken` measured on both sides of that call:
|
|
228
|
+
`restore` activates by definition (SW_RESTORE measured: foreground moved), and saying so is the honest
|
|
229
|
+
answer rather than hiding it or refusing the op that was asked for. No "all windows" op exists.
|
|
230
|
+
- The action count is **8 → 11**, kept in step in four places (`ACTIONS`, the discriminator enum,
|
|
231
|
+
`tools.json`, `types/index.d.ts`) with a check-types log line that now READS those counts from the
|
|
232
|
+
contract instead of reciting a literal — the 0.5.0 wording would have had a green gate announcing
|
|
233
|
+
"8 actions" the moment there were eleven.
|
|
234
|
+
|
|
235
|
+
### Changed — one ceiling instead of one switch per capability
|
|
236
|
+
|
|
237
|
+
- Every action now declares `requiresTier` (`readonly|quiet|flash|takeover`) — the LOWEST rung it can
|
|
238
|
+
ever need — and the owner sets one `policy` (`readonly|quiet|balanced(default)|full`). Adding a
|
|
239
|
+
capability never means adding a setting, and an **undeclared** action is graded `takeover` rather than
|
|
240
|
+
allowed: silence about a capability must not read as permission for it. `clipboard` is the one action
|
|
241
|
+
whose halves differ, so `requiresTierFor` refines it (`read`=readonly, `write`=flash) and a
|
|
242
|
+
`readonly` owner can still read.
|
|
243
|
+
- Validation order is the safety design: `paused → policy → takeoverAllowed/keyInjectAllowed → launch
|
|
244
|
+
gate + whitelist → idle check → the door table`. Each step is tested by making two gates disagree about
|
|
245
|
+
which one spoke, so an order change fails a test instead of silently changing what a refusal means.
|
|
246
|
+
- **`takeover:true` now needs `policy:'full'` in addition to `takeoverAllowed` — an intentional
|
|
247
|
+
tightening, and the one breaking consequence of this release.** An existing setup that enabled
|
|
248
|
+
takeover will see `policy_denied` until the ceiling is raised; the refusal names both knobs and which
|
|
249
|
+
one to turn. The same applies to `keyInput:"inject"`.
|
|
250
|
+
- **`user_active` instead of a dialog.** When the last physical input is younger than `policyIdleMs`
|
|
251
|
+
(default 3000 ms) a takeover-tier call is refused and NOTHING is interrupted — the upstream design
|
|
252
|
+
opens a 10-second countdown even while the owner is typing, and an interrupt presented as consent is
|
|
253
|
+
just a second disturbance. `forceUserActive:true` overrides it explicitly, bypasses nothing else, and
|
|
254
|
+
is recorded in the audit as `forced:true`.
|
|
255
|
+
- New codes `app_launch_denied`, `policy_denied`, `user_active` (14 → **17**), each naming a SETTING as
|
|
256
|
+
its next step — which is what distinguishes them from the fourteen that name a state of the target.
|
|
257
|
+
- **Audit log**: one JSONL line per action to `%LOCALAPPDATA%\wpm\audit.log`, for allow AND deny
|
|
258
|
+
(a trail that records only refusals is silent about the times the guard had nothing to do with),
|
|
259
|
+
fields `ts, action, hwnd, tier, policy, decision, code, userActiveAgeMs, effect, latencyMs` plus
|
|
260
|
+
`target`/`args` for launches and `op`/`format`/`chars` for clipboard calls. Content is never recorded.
|
|
261
|
+
`auditKeep` (default 2000) prunes oldest-first; a failed write is reported, not swallowed.
|
|
262
|
+
|
|
263
|
+
### Fixed
|
|
264
|
+
|
|
265
|
+
- **`Clipboard.Flush()` does not exist on this engine's runtime.** The first version of the clipboard
|
|
266
|
+
branch threw "Clipboard does not contain a method named 'Flush'" — `Flush` is .NET Core, and the
|
|
267
|
+
platform floor is Windows PowerShell 5.1 (.NET Framework 4.x). Now `SetDataObject($v, $true)`, which
|
|
268
|
+
is also the call that makes the data outlive the process.
|
|
269
|
+
- **A refusal handler that read a key its branch never sets.** `Wait-WpmAppWindow` answers three shapes
|
|
270
|
+
(window found / not yet / process gone) and `Invoke-WpmWindowOp` carries `activated` only on one op;
|
|
271
|
+
under `Set-StrictMode 2.0` those reads threw and surfaced as `action_failed` on a call that had
|
|
272
|
+
actually worked. Presence is now tested per branch.
|
|
273
|
+
- Booleans in `window` details are lower-cased (`topmost=true`, not `Topmost=True`), matching every
|
|
274
|
+
other field this engine writes.
|
|
275
|
+
|
|
276
|
+
### Gates and tests
|
|
277
|
+
|
|
278
|
+
- Gate 21: `scripts/check-policy-table.mjs --self-test` — every action declares a rung, the rung exists
|
|
279
|
+
in the ladder, the ladder in `lib/policy.js` and the one in `src/engine/decide.ps1` are THE SAME LIST
|
|
280
|
+
IN THE SAME ORDER, and every `requiresTierFor` op is an op the tool can actually receive. Five
|
|
281
|
+
mutations, each seen red. The copy is deliberate (host and engine each need the comparison in their own
|
|
282
|
+
process); the check is what makes two copies one rule.
|
|
283
|
+
- `scripts/check-jsdoc.mjs` now asserts that `tsconfig.checkjs.json` covers **every** file in `lib/`. The
|
|
284
|
+
hand-kept list had silently left `lib/policy.js` and `lib/audit.js` unchecked while the gate reported
|
|
285
|
+
"7 files, 0 errors" — a new module nobody adds to a list is a module whose annotations are prose.
|
|
286
|
+
- `test/desktop-actions.mjs` (new, 42 assertions): the launched program's window is found and read
|
|
287
|
+
through the engine, then verified by a SECOND process that knows nothing about wpm (`IsWindow`,
|
|
288
|
+
`IsIconic`, `GetWindowRect`, the ex-style bit); clipboard text and image round-trips; all five window
|
|
289
|
+
ops with two readings each; and the audit log checked for shape — launch lines carry target+arguments,
|
|
290
|
+
clipboard lines carry no payload, denials carry their code, forced overrides are distinguishable.
|
|
291
|
+
- `test/plugin-test.mjs` gains the gate-order arms (policy before the per-tier gates, both launch
|
|
292
|
+
switches, `readonly` still serving reads, an exact whitelist hit forwarded) and counts request
|
|
293
|
+
DELTAS rather than absolute zeros, so a forwarding arm inserted earlier cannot make a gate test pass
|
|
294
|
+
by accident. 98 → 108 assertions.
|
|
295
|
+
- Full gate: **21 arms, `GATE GREEN` ×3**; `check-no-cursor-control` unchanged (two whitelisted primitive
|
|
296
|
+
uses, same file list) — adding launch/window did not open a door to `MOUSEEVENTF_*`/`mouse_event`/
|
|
297
|
+
`keybd_event`; `check-frame-single-source` still sees exactly one `CopyFromScreen` call site.
|
|
298
|
+
- Zero install dependencies unchanged.
|
|
299
|
+
|
|
300
|
+
## 0.6.0 — 2026-11-23
|
|
301
|
+
|
|
302
|
+
> Published 2026-11-23T17:25:44.824Z (registry `time` for 0.6.0, read from the packument, not from a commit date).
|
|
303
|
+
|
|
304
|
+
**`type` stops reporting the send and starts reporting the field, and the screenshot says which path
|
|
305
|
+
painted it.** Four input-reliability additions on the existing `type` path, one capture swap, one gate,
|
|
306
|
+
and a shipped defect that only this batch's test found. No refusal code changed anywhere in this
|
|
307
|
+
release, deliberately: every new fact is a state of the target or of the read, not an error in the
|
|
308
|
+
call, and a caller that branches on codes must keep branching on the same twelve.
|
|
309
|
+
|
|
310
|
+
### Added — reading the write back
|
|
311
|
+
|
|
312
|
+
- **`effect=readback-verified`, the fourth value.** After the settle window the engine reads the value
|
|
313
|
+
back — `WM_GETTEXT` on the message door, `Current.Value` on the UIA `value`/`legacy` patterns — and
|
|
314
|
+
grants the value only when the read equals a prediction built from measurements **the control
|
|
315
|
+
itself** reported: the value it held before, its own `WM_GETTEXTLENGTH`, its own `EM_GETSEL` answer
|
|
316
|
+
for where a typed character lands. A field that does not expose its text (measured: `ES_PASSWORD`
|
|
317
|
+
returns an empty string while the length stays real) says `readback=unavailable` and is not upgraded;
|
|
318
|
+
a value that comes back different says `readbackMismatch=true` and is not upgraded — and the call is
|
|
319
|
+
still `ok:true`, because an application that reformats input has not failed.
|
|
320
|
+
- **`caretPosition: idle | start | end`** on `type`, message door. `idle` touches nothing; `start` is
|
|
321
|
+
`EM_SETSEL(0,0)`; `end` is `EM_SETSEL(len,len)` with `len` read from the control — **not** the
|
|
322
|
+
documented `-1`, which measured as a no-op on WinForms EDIT (the typed character went to the front).
|
|
323
|
+
The result reports `asked=` and `applied=` separately because on a buffer holding newlines the
|
|
324
|
+
numeric end can land inside the text (`asked=6 applied=4,4`); that is stated, not smoothed over. The
|
|
325
|
+
UIA `value` channel replaces the whole value and has no caret to move, so it answers
|
|
326
|
+
`caretIgnored=value-pattern` instead of pretending.
|
|
327
|
+
- **Focus re-measured at the moment of sending**: two `Get-WpmFocusEntry` readings around the door call;
|
|
328
|
+
a difference reports `focusMoved=true`. A warning, never a refusal — refusing here would kill correct
|
|
329
|
+
writes to be safe about a fact the readback already judges better.
|
|
330
|
+
- **Disabled-target detection** via `IsWindowEnabled`: `disabled=true` in `detail` and `effect` pinned
|
|
331
|
+
to `unverified`. Measured reason: a disabled window answers every message we send — `WM_SETTEXT` even
|
|
332
|
+
still lands — while Windows throws a click at it away, so the one thing it must not earn is an effect
|
|
333
|
+
claim.
|
|
334
|
+
- **`captureBackend=bitblt|gdiplus`** on every screenshot, in the text and the structured result.
|
|
335
|
+
|
|
336
|
+
### Changed — the capture path
|
|
337
|
+
|
|
338
|
+
- `Get-WpmScreenshot` now prefers a direct GDI `BitBlt` off the **screen** DC and falls back to
|
|
339
|
+
`Graphics.CopyFromScreen`. Same source semantics on purpose (an occluding window stays visible in the
|
|
340
|
+
picture, the coordinates stay the ones a click uses); `GetWindowDC`/`PrintWindow` would have been a
|
|
341
|
+
different product. Measured on this host: capture 16–21 ms against 22–33 ms for 1920×1080, PNG encode
|
|
342
|
+
37–39 ms in both paths — **the encoder is the bottleneck, not the capture**, which is why JPEG (6 ms,
|
|
343
|
+
and text smears), WIC (158 ms) and 24bpp (7 % smaller) were each measured and each rejected. A
|
|
344
|
+
separate probe established equivalence on a **still** scene rather than by file hash, because two
|
|
345
|
+
captures of a live desktop cannot match by construction: identical size, both non-blank, 0 maximum
|
|
346
|
+
per-channel difference over 17 388 sampled points, byte-identical PNGs — with the reported difference
|
|
347
|
+
that `FromHbitmap` yields `Format32bppRgb` where `CopyFromScreen` yields `Format32bppArgb`.
|
|
348
|
+
|
|
349
|
+
### Fixed
|
|
350
|
+
|
|
351
|
+
- **`type` with `replace:true` threw on every target since the message door existed.** The `WM_SETTEXT`
|
|
352
|
+
binding was declared as `SendMessageStrW`, an export `user32.dll` does not have, so the first call
|
|
353
|
+
raised `EntryPointNotFoundException` and surfaced as `action_failed`. No gate could see it — the parse
|
|
354
|
+
gate checks syntax, and no test in the repository drove `replace:true` through the door. The entry
|
|
355
|
+
point is now pinned explicitly and the arm ships in `test/readback-truth.mjs`.
|
|
356
|
+
- `scripts/check-types.mjs` reported "all 8 actions, 14 refusal codes" from a hardcoded string; the
|
|
357
|
+
counts are read from `src/schema/tools.json` now, so growing the contract cannot leave a green gate
|
|
358
|
+
reciting an outdated number.
|
|
359
|
+
|
|
360
|
+
### Gates and tests
|
|
361
|
+
|
|
362
|
+
- Gate 20: `scripts/check-shot-backend.mjs --self-test` — fast path called, GDI objects released in a
|
|
363
|
+
`finally`, the fallback reachable and guarded, `captureBackend` produced → forwarded → printed. Seven
|
|
364
|
+
mutations, each seen red; the first run of the gate caught two of its own vacuous assertions this way.
|
|
365
|
+
- `test/readback-truth.mjs` (new, 36 assertions) grades against the value the **application** wrote
|
|
366
|
+
about itself from inside its own process, never against our own read. Its falsification arm is a
|
|
367
|
+
read-only WinForms edit — which silently refuses `WM_CHAR` while honouring `WM_SETTEXT` — so the run
|
|
368
|
+
contains both a refusal that must not upgrade and, on the same control, a write that must.
|
|
369
|
+
Two other falsification candidates were eliminated by measurement first (a bare `LF` is preserved
|
|
370
|
+
verbatim; WinForms enforces `MaxLength` in its own handler, not through `EM_SETLIMITTEXT`).
|
|
371
|
+
- `test/plugin-test.mjs` carries the four-value `effect` list and asserts the host never upgrades an
|
|
372
|
+
engine result on its own. Full gate: **20 arms, `GATE GREEN` ×3**; desktop regression
|
|
373
|
+
hud / takeover / keyinject / signal / overlay / marker all pass.
|
|
374
|
+
- Zero install dependencies unchanged: no new package, no network surface, no mouse injection
|
|
375
|
+
(`check-no-cursor-control` still green with the same two whitelisted uses).
|
|
376
|
+
|
|
377
|
+
## 0.5.0 — 2026-11-23
|
|
378
|
+
|
|
379
|
+
> Published 2026-11-23T14:19:37.293Z (registry `time` for 0.5.0, read from the packument, not from a commit date).
|
|
380
|
+
|
|
381
|
+
**The frame becomes something the caller can read, and the coordinate arithmetic leaves the model.**
|
|
382
|
+
Three read actions, one new refusal code, and one planned invariant that measurement destroyed — kept
|
|
383
|
+
in this entry rather than quietly dropped.
|
|
384
|
+
|
|
385
|
+
### Added — the read paths
|
|
386
|
+
|
|
387
|
+
- **`snapshot`**: one `FindAll(Descendants)` + `IsOffscreen` pass, numbered from 1, each row carrying
|
|
388
|
+
control type, name, automation id, screen rect and the UIA patterns it exposes. Measured: 816
|
|
389
|
+
descendants / 71 visible / 291 ms on an Electron window; 626 / 173 / 45 excluded on a browser page.
|
|
390
|
+
`0 element(s)` is reported as a real state and deliberately does **not** reuse `uia_tree_empty`
|
|
391
|
+
(that code means the application has accessibility switched off, and its next step is a relaunch).
|
|
392
|
+
- **`label` addressing**: `click`/`type`/`focus` accept `label` + `snapId`. The label is resolved back
|
|
393
|
+
to the UIA **element** by runtime id (measured stable across queries, 71/71), so a labelled action
|
|
394
|
+
keeps the silent pattern path instead of degrading into a coordinate click. A labelled `click` still
|
|
395
|
+
requires its point, and the point must fall inside the labelled element.
|
|
396
|
+
- **`screenshot`**: `CopyFromScreen` over the DWM frame, PNG to `%LOCALAPPDATA%\wpm\shots\` (newest
|
|
397
|
+
`shotsKeep` kept, older files deleted), and the mapping returned as DATA — `screenRect`,
|
|
398
|
+
`imageSize`, `scale`, `identity`, `frame`, `dpiAware`. The image itself is not inline: a plugin
|
|
399
|
+
cannot mint an image block without the host's attachment service (measured), so the caller reads
|
|
400
|
+
the file.
|
|
401
|
+
- **`space:"image"`**: `click` accepts image pixels plus a `shotId` and the ENGINE converts them
|
|
402
|
+
(`screen = rect.left + round(imageX / scale)`), then runs the unchanged point-ownership assertion,
|
|
403
|
+
proof window and `effect=` reporting. A shotId that was never issued, or already pruned, is
|
|
404
|
+
`stale_ref` — never reinterpreted as screen pixels.
|
|
405
|
+
- **`preview`**: draws the marker at a point and reports, as TEXT, the element the OS says is under
|
|
406
|
+
it (name / control type / automation id / rect). A preview writes no input-queue entry, takes no
|
|
407
|
+
focus, produces no proof window, and answers with text so confirming a point never depends on a
|
|
408
|
+
picture.
|
|
409
|
+
- **`stale_ref`**, the fourteenth refusal code: a reference to a previous generation of engine output
|
|
410
|
+
(a pruned shotId, a superseded snapId, or `space:"image"` with no shotId, which is refused before
|
|
411
|
+
any worker request). `needs_facts` was not reused: mixing the two would make `check-refusals`'
|
|
412
|
+
case binding a lie.
|
|
413
|
+
- Three settings: `snapshotMaxElements` (300), `screenshotMaxWidth` (0 = unscaled), `shotsKeep` (10).
|
|
414
|
+
|
|
415
|
+
### Corrected — the invariant measurement refuted
|
|
416
|
+
|
|
417
|
+
The plan proposed a runtime self-check: *every reported element rect must be contained in
|
|
418
|
+
`screenRect`*. Measured on eight live windows, it is false for ordinary trees: Chromium/Electron
|
|
419
|
+
report virtualized content far outside the viewport (overhangs of 3px, 18px, 287px and **2720px**),
|
|
420
|
+
so the rule would refuse whole classes of windows. The deeper reason it cannot work: element rects are
|
|
421
|
+
absolute screen pixels; they do not depend on the frame at all, and `GetWindowRect` is *larger* than
|
|
422
|
+
the DWM frame, so a wrong frame is still "containing" everything.
|
|
423
|
+
|
|
424
|
+
What replaced it, with each part tested for non-vacuity:
|
|
425
|
+
|
|
426
|
+
- elements that do not overlap the capture are **excluded and counted** (`outsideFrame=N`) — a number
|
|
427
|
+
you cannot point at would be a trap;
|
|
428
|
+
- the frame is cross-checked against the window rect the accessibility tree itself reports
|
|
429
|
+
(`frameCheck=pass|fail|unknown`, tolerance 2px; measured insets are exactly `0,0,0,0` for borderless
|
|
430
|
+
windows and `8,8,8,8` for shadowed ones), and `frameInset` prints those numbers as data;
|
|
431
|
+
- `scripts/check-frame-single-source.mjs` pins the property that *can* be enforced: exactly one
|
|
432
|
+
function decides the capture rectangle, both consumers use it, only one `CopyFromScreen` site
|
|
433
|
+
exists, and the snapshot's self-check is wired to a refusal.
|
|
434
|
+
|
|
435
|
+
### Added — gates and suites
|
|
436
|
+
|
|
437
|
+
- `scripts/check-shots.mjs`: retention cannot overflow, and a file named `.png` must actually be a
|
|
438
|
+
PNG (magic + IHDR + non-zero dimensions). Validates the real shots directory and plants its own
|
|
439
|
+
defects under `--self-test`.
|
|
440
|
+
- `scripts/check-frame-single-source.mjs`: the single-source property above, with four mutations
|
|
441
|
+
proven red under `--self-test`.
|
|
442
|
+
- Full gate count 17 → **19** (the plan said 18; refuting the runtime invariant made a second
|
|
443
|
+
structural gate necessary, because a structural claim with no gate rots).
|
|
444
|
+
- `test/geometry-truth.mjs` (45 assertions) and `test/snapshot-test.mjs` (26 assertions), both driven
|
|
445
|
+
by an app-side oracle plus `test/geometry-oracle.ps1`, an independent DWM/PNG measurement that
|
|
446
|
+
shares no code with `src/engine`.
|
|
447
|
+
|
|
448
|
+
### Fixed
|
|
449
|
+
|
|
450
|
+
- **`uia_tree_empty` was being reported for windows that plainly have a door.** The diagnosis ran
|
|
451
|
+
whenever the UIA probe found no pattern, including the case where it found no pattern *because the
|
|
452
|
+
caller named an element*: naming one suppresses a WinForms message door (a window message cannot
|
|
453
|
+
address "the control called X"), the scan then finds nothing drivable, and the engine answered
|
|
454
|
+
`uia_tree_empty` — "the application has accessibility switched off; relaunch it with
|
|
455
|
+
`--force-renderer-accessibility`". That advice is wrong about the cause and does not apply to
|
|
456
|
+
WinForms at all: we had measured a real door on that window and shut it ourselves. The diagnosis now
|
|
457
|
+
requires the target to have **no door at all**; a target with a door gets `unreachable` ("nothing
|
|
458
|
+
addressable at that name"), whose next step exists. Non-vacuity was checked in both directions: the
|
|
459
|
+
genuine accessibility-off sample (uTools) still answers `uia_tree_empty` from a click, and the
|
|
460
|
+
WinForms positive control now answers `unreachable`.
|
|
461
|
+
- `test/refusals-test.ps1` could not run three documented decision cases: its facts map never learned
|
|
462
|
+
R3's `takeoverRequested` / `keyInjectRequested` / `keyInjectAllowed` / `hudReady` /
|
|
463
|
+
`foregroundIsTarget`, so they threw `unknown facts field` instead of exercising the code. Found by
|
|
464
|
+
running the suite at HEAD, where it was already red.
|
|
465
|
+
- **The cursor-drift assertions were flake generators, and one of them was hiding in the gate.**
|
|
466
|
+
"Is the pointer back" is graded from two external reads, and the pointer is shared with the owner.
|
|
467
|
+
Measured with a human at the desk: the same assertion produced drift of 11 px, then 213, then 649,
|
|
468
|
+
while re-running with nobody touching the mouse passed every time — the instrument was reading
|
|
469
|
+
somebody else's motion. `signal-test` and `takeover-test` now grade that assertion only when
|
|
470
|
+
`GetLastInputInfo` shows no physical input inside the measured window, and SKIP with the age and the
|
|
471
|
+
window printed otherwise (the same discipline `overlay-test` already used for its desktop-sensitive
|
|
472
|
+
arms). Both halves were verified: with input present it SKIPs and says why; after a 7-second lull it
|
|
473
|
+
PASSes and actually grades. The interference-free half — the engine's own `cursorAfterX/Y` read-back
|
|
474
|
+
must equal `cursorBeforeX/Y` exactly — stays a hard assertion in both suites.
|
|
475
|
+
- `Invoke-WpmAction` no longer makes `-Hwnd` mandatory: PowerShell refuses to bind an empty string to
|
|
476
|
+
a mandatory `[string]`, which turned a legitimate full-screen capture into a binding error. Every
|
|
477
|
+
windowed action still checks liveness and answers `no_hwnd`.
|
|
478
|
+
|
|
479
|
+
### Notes
|
|
480
|
+
|
|
481
|
+
- Non-vacuity was proven by injection, not asserted: the rect comparison rejects the `GetWindowRect`
|
|
482
|
+
rect and a +10px shift; a generated all-white PNG reads blank; the frame predicate says yes to the
|
|
483
|
+
measured pair and no to a frame that pokes outside it; every structural mutation turns its gate red.
|
|
484
|
+
- The `CHANGELOG.md` **inside the 0.5.0 tarball** still carries the pre-publish "working date" line,
|
|
485
|
+
because the tarball is frozen at publish time and the registry time was written back afterwards.
|
|
486
|
+
This entry (in the repository) carries the real one: `2026-11-23T14:19:37.293Z`. The same
|
|
487
|
+
retroactivity applied to 0.4.0's README, and is recorded there for the same reason.
|
|
488
|
+
- Two things this release did **not** fix, stated rather than hidden:
|
|
489
|
+
- This host's `UIAutomationClient` has no `LegacyIAccessiblePattern` type at all (measured:
|
|
490
|
+
`Unable to find type`), so any target that exposes only the MSAA bridge — WinForms among them —
|
|
491
|
+
can never yield a pattern here. The engine already treats a missing pattern type as one missing
|
|
492
|
+
type rather than a dead engine, and the WinForms cases now answer honestly, but the *capability*
|
|
493
|
+
is absent on this machine and the docs do not claim otherwise.
|
|
494
|
+
- `maxElements` truncates in **tree order**, not by relevance. On an Explorer window the first 40
|
|
495
|
+
elements are the status bar, so "the control is not in the frame" can mean merely "the cap was
|
|
496
|
+
low". The next step is printed with the frame (raise `maxElements`, or set
|
|
497
|
+
`interactableOnly:false`); no relevance ranking was invented, because "why is this row ranked
|
|
498
|
+
higher" is a question the tool could not answer with a fact.
|
|
499
|
+
|
|
500
|
+
## 0.4.1 — 2026-11-23
|
|
501
|
+
|
|
502
|
+
> Published 2026-11-23T11:07:25.234Z (registry `time` for 0.4.1, read from the packument, not from a commit date).
|
|
503
|
+
|
|
504
|
+
**A documentation release that exists because the front page was wrong.** No runtime change: `lib/`
|
|
505
|
+
and `src/engine/` are untouched, byte for byte, and the tarball's JavaScript is identical to 0.4.0's.
|
|
506
|
+
|
|
507
|
+
### Fixed
|
|
508
|
+
- The README opened with a "what's new in 0.2.0" block. A 0.4.0 package whose first line announced
|
|
509
|
+
0.2.0 is not a cosmetic problem -- it is the front page of the contract stating the wrong contract,
|
|
510
|
+
and it had already survived one release unnoticed because nothing was checking it.
|
|
511
|
+
- The README never mentioned the typed surface at all, while `types/index.d.ts` was the headline of
|
|
512
|
+
0.3.0 and got stronger in 0.4.0. New `## Typed surface` section, after Install.
|
|
513
|
+
|
|
514
|
+
### Added
|
|
515
|
+
- The release line at the top of every README names the version that actually ships, and a gate now
|
|
516
|
+
compares it to `package.json`. Staleness is a red gate instead of something a reader has to notice.
|
|
517
|
+
- A gate that the nine translated READMEs carry a byte-identical English body under their
|
|
518
|
+
"English canonical text follows" note. That identity is what makes the note true, and it was
|
|
519
|
+
silently breakable: a one-file edit to `README.md` left nine files claiming to reproduce a body
|
|
520
|
+
they no longer matched.
|
|
521
|
+
- `check-types.mjs` gained a phase that resolves the package **by name** out of a throwaway
|
|
522
|
+
`node_modules` in the OS temp dir, and requires the compiler to reject a deliberately wrong action
|
|
523
|
+
*by name*. The previous gate imported `../types/index.js` by relative path and never asked
|
|
524
|
+
`package.json` anything -- so deleting the `types` condition from `exports["."]` would have left
|
|
525
|
+
every gate green while every `nodenext` consumer broke with `TS7016`.
|
|
526
|
+
- A preflight assertion that both `types` and `exports["."].types` resolve to the shipped file and
|
|
527
|
+
that `files` includes `types/`. Measured: the two fields serve different resolvers and neither is
|
|
528
|
+
removable on the assumption that the other covers it.
|
|
529
|
+
|
|
530
|
+
### Notes
|
|
531
|
+
- Every new check was proven non-vacuous by injecting the fault it exists to catch: a stale release
|
|
532
|
+
line produced ten failures, one drifted line in a translation was reported with its exact line
|
|
533
|
+
number and both versions, a removed `types` condition turned the preflight red, and widening
|
|
534
|
+
`WpmAction` to `| string` silenced the instrument and turned the by-name phase red.
|
|
535
|
+
- `CHANGELOG.md` inside the 0.4.0 tarball cannot be changed retroactively; this is why the fixed
|
|
536
|
+
README reaches npm only from this version onward.
|
|
537
|
+
|
|
538
|
+
## 0.4.0 — 2026-11-23
|
|
539
|
+
|
|
540
|
+
> Published 2026-11-23T10:47:57.110Z (registry `time` for 0.4.0, read from the packument, not from a commit date).
|
|
541
|
+
|
|
542
|
+
**Nothing about the plugin changed; everything about proving it did.** 0.4.0 has no runtime change at
|
|
543
|
+
all -- the seven files under `lib/` differ from 0.3.0 by comments and JSDoc only, and that is verified
|
|
544
|
+
node by node against the previous revision (identical abstract syntax trees, 6739 nodes in `index.js`,
|
|
545
|
+
2625 in `engine.js`, 3154 in `proof-window.mjs`), not asserted in a commit message. What it adds is the
|
|
546
|
+
machinery that turns "this comment is true" into a gate instead of a promise.
|
|
547
|
+
|
|
548
|
+
### Added
|
|
549
|
+
- `tsconfig.checkjs.json` + `scripts/check-jsdoc.mjs`: the whole of `lib/` is checked under
|
|
550
|
+
`allowJs + checkJs + strict`. 107 errors before the annotations, 0 after. No new dependency: the
|
|
551
|
+
compiler is the workspace's own, and no `@types` path is written into a repo file -- it is derived
|
|
552
|
+
from where the compiler was found, so a machine without one gets a NAMED SKIP, never a red gate that
|
|
553
|
+
really means "this box lacks tsc".
|
|
554
|
+
- The hand-written `types/index.d.ts` is now the source of truth for the implementation as well: the
|
|
555
|
+
`lib/` annotations `import()` it, so renaming a field there turns `lib/index.js` red. Verified by
|
|
556
|
+
doing exactly that (2 errors) and reverting.
|
|
557
|
+
- `scripts/find-tsc.mjs`: the compiler search that `check-types.mjs` and `check-jsdoc.mjs` share, so the
|
|
558
|
+
two gates can never disagree about which compiler they tested against.
|
|
559
|
+
- `lib/peers-tools.js` and `lib/peers-schemastery.js` carry `// @ts-nocheck` with the reason written
|
|
560
|
+
down: they are the host-peer boundary, and a stub type there would assert a shape nobody verified.
|
|
561
|
+
|
|
562
|
+
### Fixed
|
|
563
|
+
- `test/uia-click-target.ps1` wrote an oracle BEFORE `ShowDialog()`, when `ActualWidth` is still 0 and
|
|
564
|
+
`PointToScreen` throws. The catch-all wrote `{-1,-1}` and the reader accepted the first parseable
|
|
565
|
+
snapshot, so on a loaded machine the arm reported four failures that looked like product defects.
|
|
566
|
+
The pre-show write is gone; the reader now only accepts a snapshot whose both centres are real.
|
|
567
|
+
- That same target came up with `Topmost="False"`, so it could sit BEHIND whatever held the foreground
|
|
568
|
+
and the engine's element probe correctly found a foreign window:
|
|
569
|
+
`unreachable ... the element under that point does not belong to the target window`. That refusal was
|
|
570
|
+
the product behaving properly -- a covered window SHOULD be refused -- and the harness was asserting
|
|
571
|
+
against a window it had never put on top. Fixed in the harness, not in the engine.
|
|
572
|
+
|
|
573
|
+
### Verification
|
|
574
|
+
- 16 gates, `GATE GREEN` on three consecutive runs.
|
|
575
|
+
- Desktop suites: hud 24/24, takeover 25/25, keyinject 11 with one named skip (host-managed terminal),
|
|
576
|
+
signal 6/6, overlay 16/16, marker 10/10.
|
|
577
|
+
- `uia-click-truth` 11 consecutive green runs after the two harness fixes; before them, 3 of 5 failed.
|
|
578
|
+
- Zero install dependencies unchanged: `dependencies` and `devDependencies` are still absent, and
|
|
579
|
+
`clone && install` still needs no toolchain.
|
|
580
|
+
|
|
581
|
+
## 0.3.0 — 2026-11-23
|
|
582
|
+
|
|
583
|
+
> Published 2026-11-23T09:21:29.737Z (registry `time` for 0.3.0, read from the packument, not from a commit date).
|
|
584
|
+
|
|
585
|
+
**Ten languages, and a typed public surface.** 0.2.0 was the capability release; 0.3.0 is the
|
|
586
|
+
reachability release. The documentation now ships in the ten DSH ecosystem languages
|
|
587
|
+
(`en zh ja ko fr de it ru es pt`), with a language bar on every document and 中文 as a first-class,
|
|
588
|
+
one-click switch beside English. The two install cases are finally stated honestly: `desktop` is
|
|
589
|
+
Electron-managed and can only be supplemented by hand with the built-in pnpm (never
|
|
590
|
+
`dsh plugin add`), while non-desktop profiles accept both `dsh --profile ... plugin add` and
|
|
591
|
+
`pnpm add`. A public `types/index.d.ts` now types every action, all thirteen refusal codes, and
|
|
592
|
+
the takeover fields, verified by a strict `tsc --noEmit` consumer gate.
|
|
593
|
+
|
|
594
|
+
### Added
|
|
595
|
+
- 27 translated documents (9 languages × README/CHANGELOG/INSTALL) with a complete 10-language
|
|
596
|
+
language bar; English remains canonical.
|
|
597
|
+
- `types/index.d.ts`: `WpmAction`, `WpmArgs`, `WpmResult`, `RefusalCode`, `KeyInputMode`,
|
|
598
|
+
`WpmWindow`, `WpmExec`, `WpmTool`, plus the module exports; `types` field and dual
|
|
599
|
+
`types`/`default` export condition.
|
|
600
|
+
- Two gates: `check-i18n.mjs` (structure, not prose) and `check-types.mjs` (strict tsc consumer,
|
|
601
|
+
NAMED SKIP when no compiler is present).
|
|
602
|
+
|
|
603
|
+
### Documentation
|
|
604
|
+
- INSTALL rewritten to exactly two cases; pnpm `minimumReleaseAgeExclude` cooling-window guidance
|
|
605
|
+
added to every language.
|
|
606
|
+
|
|
607
|
+
## 0.2.0 — 2026-11-23
|
|
608
|
+
|
|
609
|
+
> Published 2026-11-23T06:26:52Z (registry `time` for 0.2.0, read from the packument, not from a commit
|
|
610
|
+
> date).
|
|
611
|
+
|
|
612
|
+
**The promise changes shape, so the version changes major-minor.** 0.1.x said: no physical input at
|
|
613
|
+
all, ever. That was true and cheap to enforce by absence. 0.2.0 keeps it as the DEFAULT and adds an
|
|
614
|
+
opt-in tier that can move the cursor and type into the foreground window — which means the old claim
|
|
615
|
+
cannot stay as written, and a release that quietly kept the old wording would be the exact failure
|
|
616
|
+
mode this project keeps writing gates against.
|
|
617
|
+
|
|
618
|
+
### Added — the takeover tier (`takeover:true`)
|
|
619
|
+
|
|
620
|
+
- **A fourth tier.** `quiet` (window messages) and `bounded-flash` (UIA pattern, one reversed flash)
|
|
621
|
+
are unchanged. `takeover` is entered only by an explicit request AND with both settings gates on;
|
|
622
|
+
it places the real cursor on the action point, holds the focus for the duration, and always
|
|
623
|
+
restores. `refuse` is unchanged.
|
|
624
|
+
- **The HUD's phase is a colour, not a sentence.** `arming` is amber, `active` red, `done` green —
|
|
625
|
+
encoded twice (whole surface tint + a 5px accent bar) because the owner is looking at the target
|
|
626
|
+
window, not at a 470×104 window in the corner. `test/hud-test.ps1` asserts it from the real pixels
|
|
627
|
+
(C18, five arms: each phase's dominant hue, all three distinct, and the surface tint changing too).
|
|
628
|
+
- **A three-phase HUD as a hard precondition.** `arming` (default 800 ms, cancellable) → `active`
|
|
629
|
+
(elapsed/limit clock and injected-character count) → `done`. `WS_EX_TOPMOST|WS_EX_NOACTIVATE`,
|
|
630
|
+
`ShowActivated=false`, measured to leave `GetForegroundWindow()` unchanged. Empty space is
|
|
631
|
+
click-through via a `WNDPROC` subclass returning `HTTRANSPARENT`; the button stays clickable.
|
|
632
|
+
No HUD ⇒ `takeover_unavailable`, never a silent takeover.
|
|
633
|
+
- **Three interruption paths, one flag.** HUD stop button, a global abort chord (candidates from
|
|
634
|
+
`Ctrl+Alt+X`; the one that actually registered is displayed and reported as `abortChord=`), and the
|
|
635
|
+
host's cancellation (`exec.signal` → `%LOCALAPPDATA%/wpm/takeover-abort.<pid>` latch file, because
|
|
636
|
+
the worker is single-threaded and cannot read a request mid-action). Interruption returns
|
|
637
|
+
`takeover_aborted` WITH `cursorRestored` and `injectedChars`.
|
|
638
|
+
- **Keyboard injection, takeover-only** (`keyInput:"inject"`). `SendInput` + `KEYEVENTF_UNICODE`,
|
|
639
|
+
per character, interruptible every 8 characters or 50 ms. The foreground is asserted to BE the
|
|
640
|
+
target before sending and re-asserted at send time — measured: text sent while another window was
|
|
641
|
+
in front landed in that window. Success reports `effect=reported-by-send`, never "verified".
|
|
642
|
+
No hardware scancode is carried; a scancode-only target would ignore it (documented limitation).
|
|
643
|
+
- **New refusals, three copies kept in step:** `takeover_unavailable` and `keyinject_unavailable`
|
|
644
|
+
(decision layer), `takeover_aborted` (runtime layer).
|
|
645
|
+
- **New settings:** `takeoverAllowed=false`, `keyInjectAllowed=false`, `takeoverMaxMs=10000`,
|
|
646
|
+
`takeoverArmMs=800`. Both gates default OFF so an upgrade cannot start moving the cursor by itself.
|
|
647
|
+
- **New gates:** `check-no-cursor-control.mjs` became a whitelist (`SetCursorPos` only in
|
|
648
|
+
`takeover.ps1`, `SendInput` only in `input-inject.ps1`, mouse events banned everywhere), and a new
|
|
649
|
+
`check-takeover-path.mjs` asserts G1–G5 (file confinement, branch-scoped loading,
|
|
650
|
+
HUD-checked-before-act, move-and-restore in one `try/finally`, keyboard-only events) and proves
|
|
651
|
+
itself non-vacuous by injecting one violation per assertion. `check.mjs` now runs 11 gates.
|
|
652
|
+
- **`proof` grew a declared takeover:** cursor motion on this tier is reported as `declared`, but
|
|
653
|
+
`cursorRestored=false` is a hard `proof=fail` with the reason 「借了未还」.
|
|
654
|
+
|
|
655
|
+
### Withdrawn — the terminal claim was measured false
|
|
656
|
+
|
|
657
|
+
The plan for this release was to drive a terminal by typing into it. Two probes disagree, on this
|
|
658
|
+
host, with everything else held correct: `scripts/probe-console-inject.ps1` sent 242 Unicode events
|
|
659
|
+
into a dedicated Windows Terminal window (foreground verified, Enter sent) and the shell executed
|
|
660
|
+
nothing; `scripts/probe-console-scan.ps1` repeated it with layout scan codes (262 events) and got the
|
|
661
|
+
same result. GUI targets are unaffected — the same code types Chinese text into a WinForms edit
|
|
662
|
+
successfully. So `terminal_no_door` stays, its reason now points at what DOES work (a target with a
|
|
663
|
+
real door), and the documentation says plainly that the terminal is neither writable nor readable
|
|
664
|
+
here. A capability that cannot be demonstrated is not shipped as a promise.
|
|
665
|
+
|
|
666
|
+
### Fixed / hardened
|
|
667
|
+
|
|
668
|
+
- **The marker had a white square behind it.** `overlay.ps1` set `AllowsTransparency` but never set
|
|
669
|
+
`Background`, and a WPF `Window`'s default background is `SystemColors.WindowBrush` (white) — so the
|
|
670
|
+
22px marker painted an opaque white tile with the blue ring inside it. Geometry could not see this
|
|
671
|
+
(the rect was correct and click-through still worked), which is why it survived every existing arm.
|
|
672
|
+
Fixed with an explicit `Transparent` background and pinned by a NEW PIXEL ARM in
|
|
673
|
+
`test/overlay-test.ps1`: `PrintWindow(PW_RENDERFULLCONTENT)` the marker and assert the corners are
|
|
674
|
+
unpainted while the centre still carries the ring. Measured before/after with the same probe — corner
|
|
675
|
+
rgb **217,217,217 → 0,0,0**, centre rgb **166,204,217 → 0,38,51**; removing the fix turns the arm red.
|
|
676
|
+
- `lib/config.js`: on the Schemastery path, unknown setting keys were silently carried into the
|
|
677
|
+
validated value (a typo looked accepted while doing nothing). They are now rejected, matching the
|
|
678
|
+
shim's rule that the plugin test already pinned.
|
|
679
|
+
- `docs/refusals.md`: `terminal_no_door` no longer claims "no child HWND" — the measured truth is
|
|
680
|
+
"three child HWNDs, none writable" (drag bar, DirectComposition target, 0×0 input sink).
|
|
681
|
+
|
|
682
|
+
### Measured for this release (re-runnable from `scripts/`)
|
|
683
|
+
|
|
684
|
+
- `SetCursorPos(+40,+20)` read back exactly, restore landed exactly (`probe-setcursor-pos.ps1`).
|
|
685
|
+
The elevated-foreground arm could not be arranged from a non-elevated process — recorded as
|
|
686
|
+
unmeasured, not guessed.
|
|
687
|
+
- Injected text goes to the FOREGROUND window, not the intended one (`probe-sendinput-unicode.ps1`, B
|
|
688
|
+
in front ⇒ text in B and nothing in A; A in front with Chinese ⇒ landed in A).
|
|
689
|
+
- HUD click-through: `HwndSource` hook receives `WM_NCHITTEST` but cannot change hit-testing; a
|
|
690
|
+
`WNDPROC` subclass works (`probe-hittest-children.ps1`).
|
|
691
|
+
- Desktop test arms (manual, because they move the real pointer): `test/hud-test.ps1` 19/19,
|
|
692
|
+
`test/takeover-test.ps1` 22/22, `test/keyinject-test.ps1` 11/11 with one skip (the real-console
|
|
693
|
+
arm, superseded by the two console probes above).
|
|
694
|
+
## 0.1.6 — 2026-11-21
|
|
695
|
+
|
|
696
|
+
Two failures that shared one refusal code are split — because the reader's next step differs.
|
|
697
|
+
|
|
698
|
+
**The defect.** Everything door-less came back `unreachable`. Two of its causes are opposites: a
|
|
699
|
+
tree that was never populated (the application has UI Automation off — measured on this desktop:
|
|
700
|
+
uTools walks to zero content elements on three in-place reads spanning 2.2 s and never grows one),
|
|
701
|
+
and a probe that threw (the tree could not be measured at all). The probe's own diagnostic was
|
|
702
|
+
already being produced and then wasted: `uiaErr` reached the result object only as a reason-string
|
|
703
|
+
suffix that nothing branched on — 0.1.5's point-probe work found it as dead data. A caller reading
|
|
704
|
+
`unreachable` could not tell "pick another target" from "make the app enable accessibility" from
|
|
705
|
+
"read the exception".
|
|
706
|
+
|
|
707
|
+
**Fixed**
|
|
708
|
+
- **`uia_tree_empty`** — the walked tree holds **zero content elements**. The criterion is
|
|
709
|
+
structural, not numeric: Pane/Group/Image/Text/Thumb/Separator/TitleBar are the window's own
|
|
710
|
+
shell; anything else (Button, Edit, Document, Custom) is something an application chose to
|
|
711
|
+
expose. Count alone lies — an a11y-off Chromium window still exposes one
|
|
712
|
+
`Chrome_RenderWidgetHostHWND` shell pane, and the same uTools window measured raw=0 and raw=1
|
|
713
|
+
the same day depending on its own state while content stayed 0 throughout. The reason states
|
|
714
|
+
the observation, not an exclusive cause: a provider that answers nothing (a hung pump) reads as
|
|
715
|
+
empty too, instantly, without throwing — that second cause is documented, not hidden.
|
|
716
|
+
- **`uia_probe_failed`** — the probe threw before it could measure; no conclusion about the
|
|
717
|
+
target is licensed. The exception text rides the reason as `[uia: …]`. Measured: WM_CLOSE
|
|
718
|
+
landing 40 ms into the call (between the `IsWindow` check and `FromHandle`) returns this code
|
|
719
|
+
with the original exception text, not `unreachable`. Probe failure outranks tree-empty — a
|
|
720
|
+
measurement that threw cannot also certify emptiness — and a usable door outranks both.
|
|
721
|
+
- **The refusal reason carries the probe's context for all three codes**: which point was probed
|
|
722
|
+
and what it found there, plus the exception when one exists. A diagnosis with the evidence
|
|
723
|
+
redacted is not a diagnosis.
|
|
724
|
+
|
|
725
|
+
**Also**
|
|
726
|
+
- The reverse assertion about Chromium's "lazy" accessibility is written where the next reader
|
|
727
|
+
will trip over it (`scripts/chromium-a11y-flag.mjs` conclusion, README's measurement section):
|
|
728
|
+
the same window re-read in place three times (+0/+700/+1500 ms) never grew content, an a11y-on
|
|
729
|
+
tree answers completely on the first query — so the engine does NOT re-query with a deadline
|
|
730
|
+
and no retry exists anywhere. The instrument ships:
|
|
731
|
+
`scripts/uia-tree-content.ps1` reads the same two counters with the same shell-type table the
|
|
732
|
+
engine decides on.
|
|
733
|
+
|
|
734
|
+
Measured instances behind every claim above: real-window end-to-end refusals for all three codes
|
|
735
|
+
(`uia_tree_empty` via both the scan and the point path on uTools; `unreachable` on a tree-alive
|
|
736
|
+
window; `uia_probe_failed` on a mid-probe destroy), decision-table arms for each new branch and
|
|
737
|
+
its precedence, and `refusals-test` 11 passed with 2 codes still declared uncovered
|
|
738
|
+
(`action_failed`, `restore_failed`).
|
|
739
|
+
|
|
740
|
+
## 0.1.5 — 2026-11-21
|
|
741
|
+
|
|
742
|
+
A click that acted on the wrong control, and returned `ok:true` while doing it.
|
|
743
|
+
|
|
744
|
+
**The defect.** The contract (`src/schema/tools.json`) makes `x`/`y` **required** for `click` and says
|
|
745
|
+
a point that does not resolve inside the target is refused "instead of being sent somewhere else".
|
|
746
|
+
The message tier honours that (`Resolve-WpmChildAtPoint`). The **UIA tier did not read `x`/`y` at
|
|
747
|
+
all**: it scanned descendants and invoked the FIRST element carrying any usable pattern, then
|
|
748
|
+
reported success. On any target without a message door — WPF, UWP, WinUI3, i.e. most modern
|
|
749
|
+
applications — `click` at the coordinates of one control operated on a different one entirely, and
|
|
750
|
+
the marker was still drawn at the requested point, so the product's own evidence pointed at a place
|
|
751
|
+
it had not acted on. This is worse than a refusal: a refusal is honest, this was a wrong action
|
|
752
|
+
wearing a success report.
|
|
753
|
+
|
|
754
|
+
Measured, not inferred. A two-button WPF target at known coordinates, with the click counters
|
|
755
|
+
written by the handlers themselves:
|
|
756
|
+
- pre-fix engine, click aimed at **Bravo**: `alpha 0->1`, `bravo 0->0`, `last='alpha'`, result `ok:true`
|
|
757
|
+
- fixed engine, same call: `bravo 0->1`, `alpha 0->0`, `last='bravo'`, `channel=uia tier=bounded-flash`
|
|
758
|
+
|
|
759
|
+
**Fixed**
|
|
760
|
+
- The UIA tier resolves the element **at the point** (`Resolve-WpmUiaElementAtPoint`,
|
|
761
|
+
`AutomationElement.FromPoint`), climbs to the nearest ancestor carrying a usable pattern, and
|
|
762
|
+
refuses when the point does not belong to the named window. Naming an element with
|
|
763
|
+
`elementName` still takes the by-name path: there the caller asked for that control.
|
|
764
|
+
- **Ancestry is proven before the pattern is looked for.** The first version of this fix searched
|
|
765
|
+
while climbing and returned on the first pattern — which reproduced the original defect one level
|
|
766
|
+
down: a point outside the target climbed into the taskbar, found a patterned button there,
|
|
767
|
+
invoked it and answered `ok:true`. Caught by the "point outside the target" arm of the new test,
|
|
768
|
+
not by review.
|
|
769
|
+
- `uiaErr` was produced and read by nobody (`grep` found zero consumers), so a walk that *threw*
|
|
770
|
+
reached the caller as "no message door and no usable UIA pattern" — a factual claim that may be
|
|
771
|
+
false. The probe now also carries `uiaReason`, and a refusal appends what the point probe found,
|
|
772
|
+
so `unreachable` no longer collapses two different worlds into one sentence.
|
|
773
|
+
|
|
774
|
+
**Added**
|
|
775
|
+
- `test/uia-click-target.ps1` — a two-button WPF target that publishes its button centres in
|
|
776
|
+
**physical pixels** (the test that computed them itself was 1.5x off; that DPI lesson is written
|
|
777
|
+
into the file) and writes click counts from the handlers that fired.
|
|
778
|
+
- `test/uia-click-truth.mjs` — 12 arms, and a new gate (`scripts/check.mjs`, now 13). It fails in
|
|
779
|
+
both directions: point-at-Bravo must bump Bravo and not Alpha; a point outside the target must be
|
|
780
|
+
refused, must fire neither button, and must say *why*.
|
|
781
|
+
|
|
782
|
+
**Unchanged** — the refusal-code set, the pure judgment, the message tier, the marker.
|
|
783
|
+
|
|
784
|
+
## 0.1.4 — 2026-11-21
|
|
785
|
+
|
|
786
|
+
(Registry time is the authority for the timestamp; same convention as below.)
|
|
787
|
+
|
|
788
|
+
The source became reachable. Until now the package had **no repository, homepage or bugs field** —
|
|
789
|
+
not an oversight at authoring time, but a consequence of the repo not existing: there was no URL to
|
|
790
|
+
put there. `git remote -v` was empty through 0.1.0–0.1.3, so every claim in the README pointed at a
|
|
791
|
+
tarball and nowhere else. Creating the repository is what unblocks this, and it is the only reason
|
|
792
|
+
this release exists.
|
|
793
|
+
|
|
794
|
+
**Added**
|
|
795
|
+
- `repository`, `homepage` and `bugs` in `package.json`, so npmjs.com links to the source and to an
|
|
796
|
+
issue tracker instead of leaving a reader with a download and no way to report a refusal that
|
|
797
|
+
should not have happened.
|
|
798
|
+
- README now names the repository in its opening section, next to the non-affiliation notice.
|
|
799
|
+
|
|
800
|
+
**Unchanged**
|
|
801
|
+
- No behaviour. `lib/`, `src/engine/` and the schema are byte-identical to 0.1.3 — this release only
|
|
802
|
+
makes the existing artifact findable. The gate is still green (12 checks), and the profile on the
|
|
803
|
+
authoring machine keeps running 0.1.3 code with an identical `lib` hash.
|
|
804
|
+
|
|
805
|
+
## 0.1.3 — 2026-11-21
|
|
806
|
+
|
|
807
|
+
(Registry time `2026-11-21T01:20:58Z` UTC (= `2026-11-21 09:20` Beijing; the date follows the same UTC convention as the entries below — the publish time is the promise.)
|
|
808
|
+
|
|
809
|
+
0.1.2 shipped a proof that answered "did we disturb you". It never answered "did the thing happen" —
|
|
810
|
+
the engine computed `effect` on every action call and the Node half dropped it on the floor, so
|
|
811
|
+
`proof=pass` could mean *"clicked, and the app ignored it"*. This release closes that link, and then
|
|
812
|
+
closes the hole the missing link was hiding.
|
|
813
|
+
|
|
814
|
+
**Added**
|
|
815
|
+
- `effect=` in every action result's text and `effect` in the structured output, with three values
|
|
816
|
+
that name the SPEAKER rather than the confidence: `unverified` (nobody), `reported-by-send` (the
|
|
817
|
+
message was delivered), `reported-by-pattern` (the UIA call returned). README carries the table;
|
|
818
|
+
the code comment above the branch pins the same three lines. A refusal reports no effect at all —
|
|
819
|
+
no action ran, so nobody can have spoken.
|
|
820
|
+
- `lib/proof-window.mjs` gains an effect dimension: `evaluateProof(samples, { effect, actions })`.
|
|
821
|
+
A call whose channel reported nothing is capped at `inconclusive`; a batch caller whose every
|
|
822
|
+
attempt failed gets `fail` regardless of displacement. Both are opt-in — omitting `effect` leaves
|
|
823
|
+
every pre-0.1.3 caller's behaviour untouched, which is why the 32 pre-existing arms did not move.
|
|
824
|
+
|
|
825
|
+
**Corrected**
|
|
826
|
+
- The gate could read a total no-op as a green light: zero cursor displacement, zero foreground
|
|
827
|
+
switches, nothing accomplished => `pass`. The old plan named the case ("50 failed calls, zero
|
|
828
|
+
displacement, FAIL") and never landed it. It is landed now, with the arms that fail in the
|
|
829
|
+
direction that matters: `unverified` + a still desktop is not a pass, and 50 failed attempts is a
|
|
830
|
+
`fail` whose reason says 动作未生效.
|
|
831
|
+
- Word boundaries: `reported-by-send` says the message was DELIVERED. It does not say the application
|
|
832
|
+
processed it, and `reported-by-pattern` does not say the interface changed. Single `reported-by-*`
|
|
833
|
+
evidence still passes (it is real, just not independent) and the reason says so out loud: 未独立验证.
|
|
834
|
+
|
|
835
|
+
**Verified**
|
|
836
|
+
- `node test/proof-window-test.mjs` — 40 arms, 0 failed (32 carried over unchanged, 8 new).
|
|
837
|
+
- `node test/plugin-test.mjs` — 54 arms, 0 failed, including a real `no_hwnd` refusal carrying no
|
|
838
|
+
effect and the three legal values round-tripping through the shipped projection.
|
|
839
|
+
- `node scripts/check.mjs` — 12 gates green, including the marker end-to-end gate, which on this
|
|
840
|
+
machine's real desktop printed
|
|
841
|
+
`proof=pass [cursor=pass fg=pass focus=pass] :: effect=reported-by-send: a channel reported the call
|
|
842
|
+
returned -- 未独立验证`.
|
|
843
|
+
|
|
844
|
+
## 0.1.2 — 2026-11-20
|
|
845
|
+
|
|
846
|
+
(Registry time `2026-11-20T17:15:15Z` UTC = `2026-11-21 01:15` Beijing; the date follows the same
|
|
847
|
+
UTC convention as the entries below, because the header's rule is "the publish time is the promise".)
|
|
848
|
+
|
|
849
|
+
The proof chain became real: what started as "the README says the cursor never moves" ended as a
|
|
850
|
+
per-call measurement, a build-time guarantee, and — recorded honestly — three judgment designs that
|
|
851
|
+
the real desktop rejected before one survived.
|
|
852
|
+
|
|
853
|
+
**Added**
|
|
854
|
+
- Every `click` carries a disturbance proof: `proof=pass|inconclusive|fail|insufficient(…)` in the
|
|
855
|
+
text plus structured `proof` / `proofDimensions`. The engine samples cursor/foreground/focus/
|
|
856
|
+
last-physical-input-age in two windows — a pre-action control (nothing running, by construction)
|
|
857
|
+
and inside the settle wait it already pays; four read-only syscalls, no new process.
|
|
858
|
+
- `lib/proof-window.mjs` — the one pure implementation of the judgment. `sampler.mjs` delegates to
|
|
859
|
+
it too: the fleet reachability numbers and the per-action proof cannot drift into two instruments
|
|
860
|
+
sharing one name. 32 synthetic unit arms pin the semantics, including cases that must FAIL —
|
|
861
|
+
a verdict function that only ever says pass is worthless, and the arms check it can say otherwise.
|
|
862
|
+
- `scripts/check-no-cursor-control.mjs` — build gate: no shipped engine file may contain
|
|
863
|
+
`SetCursorPos` / `SendInput` / `mouse_event` / `keybd_event`. Verified non-vacuous (injecting
|
|
864
|
+
SetCursorPos turns it red; removing it turns it green, no residue).
|
|
865
|
+
- `scripts/idle-baseline.mjs` — re-runnable probe of what the cursor does with NOTHING running.
|
|
866
|
+
Measured answer on the authoring machine: up to 3 unexplained gaps / 11 px. This is why the
|
|
867
|
+
runtime cursor dimension reports and never accuses.
|
|
868
|
+
- Marker placement through the shipped plugin is verified end-to-end against an independent oracle:
|
|
869
|
+
a real click puts the marker over the point it hit in physical pixels, and the marker is proven
|
|
870
|
+
(via `EnumWindows`) topmost-over-the-target while `GetForegroundWindow` stays unchanged.
|
|
871
|
+
|
|
872
|
+
**Corrected**
|
|
873
|
+
- The cursor guarantee was MEASURED OUT of the runtime sensor and INTO the build gate. Two runtime
|
|
874
|
+
rules failed on clean clicks (a strict 1 px bar: 3.16 px; a control-window noise floor: 7.07 px,
|
|
875
|
+
the floor itself duration-biased). Positions cannot attribute motion to a cause; the idle baseline
|
|
876
|
+
proves even multi-gap motion is ambient on a live desktop. Tuning the number until reds disappear
|
|
877
|
+
would have been laundering, so the rule changed shape instead: zero unexplained gaps passes,
|
|
878
|
+
anything else is inconclusive with the number surfaced, and the actual promise (no cursor control
|
|
879
|
+
exists in the shipped code) is decidable at build time.
|
|
880
|
+
- The disturbance sensor no longer contradicts the product contract: the bounded-flash tier raises
|
|
881
|
+
foreground deliberately and restores it; those switches are reported as `declared`, not failed.
|
|
882
|
+
("Never KEEP the foreground" is owned by the restore table — `restore_failed` — not by sampling.)
|
|
883
|
+
A pass verdict can no longer print "no switches" while carrying declared ones.
|
|
884
|
+
- Overlay cold-start wait raised to 6 s: the runspace JITs WPF past the old 2.5 s budget on a cold
|
|
885
|
+
worker, and the caller read a false "overlay not running".
|
|
886
|
+
- Gate philosophy for occluded desktops, applied to a TOCTOU case (a fullscreen video window moving
|
|
887
|
+
over the point between premise-probe and click): the engine's refusal is correct behaviour, so the
|
|
888
|
+
arms re-probe and convert to a NAMED SKIP. Desktop the test doesn't control never reads as red;
|
|
889
|
+
and a silent skip never reads as tested either.
|
|
890
|
+
- A real product bug in the marker path, caught by the gate going red intermittently (and fixed at
|
|
891
|
+
the cause, not the symptom): the overlay's readiness handshake **polled one flag and judged
|
|
892
|
+
another**. It waited for `OverlayHwnd` — assigned right after `Show()`, before the ex-style trio
|
|
893
|
+
is applied — but reported `running = OverlayOn`, set only after trio + hotkey + pump. So during
|
|
894
|
+
that window `status` said "not running" about an overlay that was initialising, AND read back a
|
|
895
|
+
half-styled window (`exStyle=0x00080008`, TOPMOST|LAYERED but NO TRANSPARENT — WPF's own bits
|
|
896
|
+
before the explicit trio lands). The Node half's fire-and-forget `markPoint` sequenced placement
|
|
897
|
+
behind the handshake; the handshake rejected; the marker request was skipped for a click that had
|
|
898
|
+
already answered, so nobody ever retried and the marker stayed parked at (-2000,-2000). One
|
|
899
|
+
warning, then silence forever. That was not a flake to be slept past:
|
|
900
|
+
the readiness flag is now the judgment flag (`OverlayOn`), a budget that merely expired reports a
|
|
901
|
+
third state (`starting`) instead of masquerading as a crash, and placement retries on a bounded
|
|
902
|
+
6 s deadline that stops immediately when the start is *provably* dead (a reason + not starting).
|
|
903
|
+
Patience lives where a stop condition can be named — the worker-side sleep cannot.
|
|
904
|
+
|
|
905
|
+
**Verified for this version**
|
|
906
|
+
- 12-arm gate green; live clicks through the SHIPPED plugin: proof=pass across 18–22 sample gaps
|
|
907
|
+
with `[cursor=pass fg=pass focus=pass]`; four-run stability: 3 pass + 1 ambient inconclusive
|
|
908
|
+
surfaced as WARN (anti-vacuity: weaker-than-pass never prints as INFO).
|
|
909
|
+
- The independent marker oracle now ANCHORS on the overlay handle the product reports via
|
|
910
|
+
`status` (`overlayHwnd=...`). Matching by title alone could grade a leaked same-titled window from
|
|
911
|
+
an earlier run — certifying a marker we never placed; more than one candidate is now reported as
|
|
912
|
+
ambiguous rather than silently resolved to `$hits[0]`.
|
|
913
|
+
- `lib/proof-window.mjs` confirmed inside the tarball (20 entries).
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
## 0.1.1 — 2026-11-20
|
|
918
|
+
|
|
919
|
+
The same product as 0.1.0. This version exists to fix the packaging chain, not the behaviour.
|
|
920
|
+
|
|
921
|
+
**Changed**
|
|
922
|
+
- Repository line endings normalised to LF. 0.1.0 was published from a tree where an editing script
|
|
923
|
+
had converted ten files to CRLF, so the registry tarball (sha256 `84196f21…`) and this repository
|
|
924
|
+
no longer hashed the same even though the code was identical. 0.1.1 restores "the repository and
|
|
925
|
+
the published artifact are the same bytes".
|
|
926
|
+
- `publishConfig` is now explicit: `{ "access": "public", "tag": "latest" }`. The default was
|
|
927
|
+
already `latest`, but a default is a property of npm while a declaration is a property of this
|
|
928
|
+
package — the difference only shows up the first time someone publishes a prerelease.
|
|
929
|
+
|
|
930
|
+
**Verified for this version**
|
|
931
|
+
- 11 local gates green: PowerShell parse / encoding / static-call, refusal vocabulary, tool schema,
|
|
932
|
+
package contents, host half + sidecar, overlay promises, marker end-to-end, JS syntax.
|
|
933
|
+
- The overlay marker is measurably click-through: `exStyle 0x08080028`, foreground unchanged across
|
|
934
|
+
`Show()`, an independent process confirming `WindowFromPoint` at the marker's centre returns the
|
|
935
|
+
window underneath, and the marker covering the clicked point in physical pixels.
|
|
936
|
+
- The pause chord is measured, not assumed: `Ctrl+Alt+Q` is a first candidate, and on the machine
|
|
937
|
+
this was built on it was owned by another app (Win32 1409), so the engine walked a candidate list
|
|
938
|
+
and registered `Ctrl+Alt+W`. `status` reports the chord that actually registered.
|
|
939
|
+
|
|
940
|
+
**Not fixed in this version** (unchanged from 0.1.0, stated rather than implied)
|
|
941
|
+
- The settings pill and the four-value switch surface do not exist yet.
|
|
942
|
+
- `restore_failed` has no end-to-end test: it needs an elevated window that can be raised, and no
|
|
943
|
+
such window was present at build time. The decision-table branch is covered by unit tests; the
|
|
944
|
+
live path is not.
|
|
945
|
+
|
|
946
|
+
## 0.1.0 — 2026-11-20
|
|
947
|
+
|
|
948
|
+
First version with a working plugin in it. Everything before this was a reservation stub.
|
|
949
|
+
|
|
950
|
+
- One tool, `wpm`, with five actions: `windows`, `status`, `click`, `type`, `focus`.
|
|
951
|
+
- A PowerShell sidecar (Windows PowerShell 5.1, nothing to install) driven over a JSON line protocol,
|
|
952
|
+
lazily started so the host's boot path does not pay for a tool nobody called.
|
|
953
|
+
- Eight refusal codes as a three-way contract: what fires, what the schema promises, what the docs
|
|
954
|
+
explain. A gate fails when the three disagree.
|
|
955
|
+
- A click-through, always-on-top marker placed at the point a click hit, and a global pause chord.
|
|
956
|
+
- Measured: window-message tier causes 0 foreground changes in 6/6 rounds with 0 px cursor movement;
|
|
957
|
+
the UI Automation tier's focus takeover returns in 15–95 ms net against a 120 ms budget.
|
|
958
|
+
|
|
959
|
+
## 0.0.1 — 2026-11-18
|
|
960
|
+
|
|
961
|
+
Reservation stub. The name was reserved before the measurement was done; installing this version
|
|
962
|
+
gives you a README and nothing else. Kept for history, not for use.
|
|
963
|
+
|
|
964
|
+
## 0.0.0-stage — 2026-11-18
|
|
965
|
+
|
|
941
966
|
The first reservation, same story as 0.0.1.
|