dsh-windows-parallel-mcp 0.8.1 → 0.9.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.de.md +433 -413
- package/CHANGELOG.es.md +433 -413
- package/CHANGELOG.fr.md +433 -413
- package/CHANGELOG.it.md +433 -413
- package/CHANGELOG.ja.md +433 -413
- package/CHANGELOG.ko.md +433 -413
- package/CHANGELOG.md +954 -902
- package/CHANGELOG.pt.md +433 -413
- package/CHANGELOG.ru.md +433 -413
- package/CHANGELOG.zh.md +433 -413
- 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 +1249 -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 -1186
- 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 +187 -187
package/CHANGELOG.de.md
CHANGED
|
@@ -1,414 +1,433 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
[English](CHANGELOG.md) · [中文](CHANGELOG.zh.md) · [日本語](CHANGELOG.ja.md) · [한국어](CHANGELOG.ko.md) · [Français](CHANGELOG.fr.md) · **Deutsch** · [Italiano](CHANGELOG.it.md) · [Español](CHANGELOG.es.md) · [Português](CHANGELOG.pt.md) · [Русский](CHANGELOG.ru.md)
|
|
4
|
-
|
|
5
|
-
> **Deutsch translation — work in progress.** The English canonical text follows below; task-specific polishing replaces it section by section. The structure, code samples and numbers are already final — only the prose is pending. See the en document for the authoritative wording.
|
|
6
|
-
|
|
7
|
-
Dates are the registry `time` values for each version, not git commit dates — a commit date records
|
|
8
|
-
when someone typed, a publish time records when a version became installable, and only the second
|
|
9
|
-
one is a promise to anyone installing it.
|
|
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
|
-
## 0.
|
|
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
|
-
`
|
|
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
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
`
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
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
|
-
The
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
Measured
|
|
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
|
-
**Added**
|
|
243
|
-
- `
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
**Added**
|
|
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
|
-
the
|
|
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
|
-
|
|
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
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
[English](CHANGELOG.md) · [中文](CHANGELOG.zh.md) · [日本語](CHANGELOG.ja.md) · [한국어](CHANGELOG.ko.md) · [Français](CHANGELOG.fr.md) · **Deutsch** · [Italiano](CHANGELOG.it.md) · [Español](CHANGELOG.es.md) · [Português](CHANGELOG.pt.md) · [Русский](CHANGELOG.ru.md)
|
|
4
|
+
|
|
5
|
+
> **Deutsch translation — work in progress.** The English canonical text follows below; task-specific polishing replaces it section by section. The structure, code samples and numbers are already final — only the prose is pending. See the en document for the authoritative wording.
|
|
6
|
+
|
|
7
|
+
Dates are the registry `time` values for each version, not git commit dates — a commit date records
|
|
8
|
+
when someone typed, a publish time records when a version became installable, and only the second
|
|
9
|
+
one is a promise to anyone installing it.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## 0.9.0-rc.1 — 2026-11-29 (prerelease)
|
|
14
|
+
|
|
15
|
+
**Argument validation now enforces the bounds the contract already declared.** `validateArguments`
|
|
16
|
+
knew only `typeof` and `enum`, so `maxElements: 0`, `maxElements: 99999`, `maxWidth: -5` and
|
|
17
|
+
`label: 2.7` all passed the gate and were silently clamped or rounded downstream — the caller acted
|
|
18
|
+
on a value it never asked for and nothing said so. Out-of-range and fractional arguments are
|
|
19
|
+
violations now, reported with the got-value. `src/schema/tools.json` carries an explicit
|
|
20
|
+
`"integer": true` on every integer field, and the registered host schema mirrors the same
|
|
21
|
+
minimum/maximum/integer constraints the model is told about. Also fixes three gate scripts that
|
|
22
|
+
mis-reported on CRLF checkouts (self-test literals pinned to `\n`, the README release-line strip).
|
|
23
|
+
No runtime behavior change for in-range calls; the actual refusals arrive in the following rc's of
|
|
24
|
+
this line.
|
|
25
|
+
## 0.8.2 — 2026-11-24
|
|
26
|
+
|
|
27
|
+
> Published 2026-11-24T04:59:02.972Z (registry `time` for 0.8.2, read from the packument, not from a commit date).
|
|
28
|
+
|
|
29
|
+
> 0.8.2 ändert einen Ablehnungssatz -- und dessen Wurzel auf der Testseite. Wenn der Punkt tatsächlich in einem Kindfenster des Ziels liegt, aber von einem anderen Fenster überdeckt wird, antwortete die Engine bisher „unter diesem Punkt liegt kein Kindfenster des Ziels“: zwei verschiedene Sachverhalte, ein Satz. Kein Ablehnungscode ändert sich (weiterhin siebzehn); der zweite Fall nennt jetzt die Klasse des überdeckenden Fensters und den einzigen hilfreichen nächsten Schritt (Ziel nach vorn holen). Das ist gemessen, nicht vermutet: Legt man den Browser des Besitzers über ein WinForms-Ziel (Ziel visible=true, das Rechteck seiner Schaltfläche enthält den Punkt) und schickt WM_LBUTTONDOWN/UP an diese Schaltfläche, kommt ok zurück und die Anwendung führt ihren Handler nie aus -- die Beschriftung bleibt Press, focusTaken=false. Ein Nachrichten-Klick braucht in diesem Toolkit die Mausaufzeichnung, und ein überdecktes Fenster bekommt sie nicht. Der zuerst versuchte Fix -- den Punkt akzeptieren, weil „eine Fensternachricht keine Sichtbarkeit braucht“ -- wurde daher zurückgenommen: er hätte Erfolg für einen Klick gemeldet, der nicht stattgefunden hat. Testseite: llm-action-battery lud still die installierte Kopie aus dem Desktop-Profil (0.2.0, während das Repo auf 0.8.1 stand); die beiden in den Findings notierten „Basislinien-Fehler“ waren diese Kopie, und beide verschwinden gegen das Repo. Läuft die getestete Oberfläche auf einer anderen Version, verweigert der Test jetzt den Start. Der Foreground-Zweig misst vor und nach JEDER Aktion statt je einmal am Anfang und Ende. Das Fixture erhält -Topmost (standardmäßig aus): nur Z-Reihenfolge, kein Vordergrund, weil die Vordergrundsperre SetForegroundWindow aus einem Hintergrundprozess tatsächlich verweigert. Die Batterie gibt ihren Worker frei und hat einen harten Stopp nach 240 s; ohne beides hing der zweite Lauf in Folge an einem geleakten Worker. Unter lib/ und src/schema/ ändert sich nichts.
|
|
30
|
+
|
|
31
|
+
## 0.8.1 — 2026-11-24
|
|
32
|
+
|
|
33
|
+
> Published 2026-11-24T01:35:11.785Z (registry `time` for 0.8.1, read from the packument, not from a commit date).
|
|
34
|
+
|
|
35
|
+
> 0.8.1 repariert genau eine ausgelieferte Datei, die ein Registry abgewiesen hätte: 0.8.0s server.json hatte eine 800 Zeichen lange `description`, und das JSON-Schema des Registry (2025-12-11) begrenzt dieses Feld auf 100 -- ajv sagte das in einer Zeile. Am Verhalten des Plugins war nichts falsch -- MCP-Server, Aktionen, Tore und Audit sind bytegleich mit 0.8.0 -- aber das Manifest ist der Weg, wie ein Verzeichnis das Paket findet, und ein abgewiesenes Manifest ist eine Lieferform, die nur im Repository existiert. Die Korrektur: `description` ist jetzt ein Satz mit 92 Zeichen, und die Fähigkeitsprosa wandert nach `_meta` unter `publisher-provided` (das Feld, das das Registry tatsächlich erhält, Grenze 4 KB; hier rund 1,2 KB). schema-test prüft künftig die Registry-Grenzen selbst (description 1..100, title 1..100, name reverse-DNS innerhalb von 200 Zeichen, eine konkrete Version statt eines Bereichs, `_meta` unter 4096 Bytes, und jede deklarierte Umgebungsvariable mit einem Namen); die bidirektionale Prüfung «deklariert == gelesen» bleibt. package.json / dsh.plugin.json / server.json / README-Versionszeile stehen jetzt auf 0.8.1, und die Beschreibung von dsh.plugin.json nennt endlich die zweite Lieferform, die seit 0.8.0 fehlte -- ein Manifest, das eine ältere Version beschreibt, ist genau so etwas wie ein Urteil über etwas, das das Plugin nicht mehr tut. Gefunden wurde das, wie die meisten Defekte hier, indem die Prüfung gegen das echte Ding laufen gelassen wurde: Das Registry-Schema wurde für den 0.8.0-Release erneut geholt (Plan R7: Preview, Regeln können sich ändern) und mit dem im DSH-Baum vorhandenen ajv validiert -- «server.json validiert» ist damit ein Befehl mit Exit-Code, keine Meinung.
|
|
36
|
+
|
|
37
|
+
## 0.8.0 — 2026-11-24
|
|
38
|
+
|
|
39
|
+
> Published 2026-11-24T01:21:32.334Z (registry `time` for 0.8.0, read from the packument, not from a commit date).
|
|
40
|
+
|
|
41
|
+
> 0.8.0 öffnet einen zweiten Kanal über dieselbe Engine, ohne eine zweite Implementierung: ein MCP-Server über stdio (bin: wpm-mcp), während die DSH-Plugin-Form unangetastet bleibt — dasselbe apply(), dieselben elf Aktionen, dieselben siebzehn Verweigerungscodes, dieselbe Tor-Reihenfolge, derselbe Audit-Log. Das ist die bewusste Umkehr der Entscheidung vom 2026-11-19 („form = A, kein MCP“), und die Umkehr steht in der Vertragsdatei statt nur in einer Commit-Botschaft: tools.json trägt jetzt mcpProjection neben hostProjection, und die status-Zeile sagt, welche Entscheidung wann und warum umgekehrt wurde (das Registry nimmt nur MCP-Server, und DSH kann einen bridgen — eine Implementierung, zwei Kanäle). Keine Aktion und kein Code kamen dazu; unter src/engine/ wurde keine Datei geändert. tools/list wird aus tools.json ERZEUGT, nicht abgeschrieben: pro Aktion ein oneOf-Zweig, der properties/required/additionalProperties Feld für Feld übernimmt, ein action-Enum, das die Aktionsliste des Vertrags ist, und in der Beschreibung steht jede Aktion mit der von ihr erklärten Stufe und jeder Verweigerungscode mit der Zusammenfassung, die der Vertrag schon enthält. Es bleibt bei einem Werkzeug: wpm. Einstellungen kommen aus der Umgebung (WPM_*), nie aus dem Aufruf: ein Aufrufer, der seine eigene Decke anheben oder sich in die launch-Freigabeliste schreiben könnte, machte das Autorisierungsmodell dekorativ; die Defaults bleiben an genau einer Stelle (lib/index.js). Ein Screenshot hängt die Pixel als base64 image an, weil ein Pfad am Ende einer Pipe nichts bedeutet, screenRect/scale/identity/frame/captureBackend bleiben aber im Text; über die DSH-Brücke gemessen: ein Host ohne Anhang-Speicher projiziert das Bild auf einen [image unavailable: …]-Text und behält alle Zahlen — Pixel standardmäßig anzuhängen kann dem Aufrufer also nicht die Information kosten, weswegen er rief. server.json ist das Registry-Manifest (Namespace io.github.drscrewdriver/dsh-windows-parallel-mcp, die einzige npm-Basis, die das Registry zulässt, Transport stdio, 19 dokumentierte Umgebungsvariablen; schema-test prüft in beide Richtungen, dass jedes versprochene gelesen wird und jedes gelesene versprochen ist). Zwei echte Defekte sind behoben: ein ungültiges Argument drohte als -32603 (Serverfehler) beantwortet zu werden, jetzt ist es ein Werkzeugfehler, der das Argument nennt; und der DSH-Locator rief npm mit execFileSync, was auf Windows ENOENT gibt (npm ist eine .cmd) — „nicht installiert“ auf einer Maschine, die es ist. Gate 22 check-mcp-schema startet den echten Server, liest, was ein Client läse, und vergleicht Feld für Feld; der Selbsttest mutationiert BEIDE Seiten: vier Eingriffe ins Generator-Code müssen rot machen, zwei Eingriffe in den VERTRAG (Parameter umbenennen, additionalProperties kippen) müssen grün bleiben UND mitziehen — nur den Generator zu brechen unterscheidet „erzeugt“ nicht von einer Kopie, die heute zufällig passt. mcp-stdio: 38 Prüfungen (keine Nicht-JSON-Zeile auf stdout, Benachrichtigung ohne Antwort, eine Müllzeile tötet die Schleife nicht, parallele Aufrufe über id gepaart und nicht vertauscht, stdin geschlossen ⇒ exit 0). mcp-bridge: 17 Prüfungen mit dem mitgelieferten client-SDK und createMcpToolDefinition des Hosts; beide Formen im selben Prozess müssen dieselbe erste Zeile liefern, ohne DSH-Installation sagt der Arm SKIP ehrlich. Volles Gate: 22 Arme, GATE GREEN ×3. Maßgeblich ist der englische Eintrag.
|
|
42
|
+
|
|
43
|
+
## 0.7.0 — 2026-11-23
|
|
44
|
+
|
|
45
|
+
> Published 2026-11-23T18:54:04.951Z (registry `time` for 0.7.0, read from the packument, not from a commit date).
|
|
46
|
+
|
|
47
|
+
> 0.7.0 schließt die Lücke „nicht einmal ein Programm starten zu können“, ergänzt drei Desktop-Fähigkeiten und ersetzt das binäre Tor durch EINE Decke: jede Aktion meldet die niedrigste Stufe, die sie je braucht (requiresTier: readonly < quiet < flash < takeover), der Owner stellt nur ein policy (Standard balanced). Darüber → policy_denied, dessen nächster Schritt ein Einstellen ist, nicht ein Wiederholen. launch braucht zwei Schalter, die einander nicht einschließen (appLaunchAllowed plus eine exakte, case-insensitive appLaunchAllow-Liste — leer heißt nichts startet, kein Wildcard, kein Präfix); ein Abweis kostet null Worker-Requests. Ein Prozess ohne Fenster antwortet ok:true, leeres hwnd und detail=window-not-yet (gemessen: Notepad kalt 1348 ms mit MainWindowHandle=0). Clipboard-Lesen meldet nur die Länge, nie den Inhalt (64-KB-Grenze, truncated offengelegt); Bild-Schreiben nimmt eine shotId. Alle fünf window-Ops werden über den nachgelesenen Zustand des Fensters verifiziert (IsIconic, Rect, WS_EX_TOPMOST), und weil restore per Definition aktiviert, meldet das Ergebnis foregroundTaken, statt es zu verstecken. Aktionen 8 → 11 (vier Stellen synchronisiert; der check-types-Log liest diese Zahlen jetzt aus tools.json). Ist der Owner am Werk, wird abgelehnt (user_active) statt ein Dialog geöffnet; forceUserActive:true ist die sichtbare Ausnahmeklappe und landet im Audit. Drei neue Codes (app_launch_denied, policy_denied, user_active), jeder zeigt auf eine Einstellung. Audit-Log: eine JSONL-Zeile pro Aktion, allow WIE deny, nie Inhalte. Zwei echte Defekte behoben: Clipboard.Flush() existiert in PowerShell 5.1 (.NET Framework) nicht, und ein Refusal-Handler las einen Schlüssel, den sein Zweig nie setzte. Gate 21 check-policy-table prüft, dass JS- und PS-Leiter dieselbe Liste in derselben Reihenfolge sind; check-jsdoc prüft jetzt, dass jede Datei in lib/ abgedeckt ist (vorher wurden neue Module still übersehen). Bewusst härter: takeover:true braucht jetzt policy=full zusätzlich zu takeoverAllowed. Volles Gate: 21 Arme, GATE GREEN ×3. Maßgeblich ist der englische Eintrag.
|
|
48
|
+
|
|
49
|
+
## 0.6.0 — 2026-11-23
|
|
50
|
+
|
|
51
|
+
> Published 2026-11-23T17:25:44.824Z (registry `time` for 0.6.0, read from the packument, not from a commit date).
|
|
52
|
+
|
|
53
|
+
> 0.6.0 hebt `type` von „gesendet“ auf „das Feld enthält wirklich diesen Wert“: vierter `effect=readback-verified`, nur wenn der zurückgelesene Wert mit der Vorhersage übereinstimmt, die aus den Messungen DES CONTROLS gebaut wurde (Vorwert, WM_GETTEXTLENGTH, EM_GETSEL-Einfügepunkt); ein maskiertes Feld meldet `readback=unavailable`, eine umformatierende Anwendung `readbackMismatch=true` — beides ohne Hochstufung und doch `ok:true`. `caretPosition: idle|start|end` — gemessen ist `EM_SETSEL(-1,-1)` auf WinForms-EDIT ein No-op, daher nutzt `end` (len,len), und das Ergebnis trennt `asked=` und `applied=`. Fokus direkt vor/nach dem Senden erneut gemessen (`focusMoved`); deaktiviertes Ziel meldet `disabled=true` und `effect` auf `unverified` festgelegt. Screenshot nimmt bevorzugt BitBlt und meldet `captureBackend=bitblt|gdiplus` (Standbild: 0 Kanal-Differenz, byteidentische PNGs; der Engpass ist die Kodierung, nicht die Aufnahme). Gate 20 `check-shot-backend` (sieben Mutationen, jede rot) und `test/readback-truth.mjs` (36 Assertions, gegen die Selbstauskunft der App geprüft). Ein alter Defekt ist behoben: `SendMessageStrW` existiert nicht in user32.dll, darum scheiterte `replace:true` auf jedem Ziel. Keine neuen Verweigerungscodes. Autoritativ ist der englische Eintrag.
|
|
54
|
+
|
|
55
|
+
## 0.5.0 — 2026-11-23
|
|
56
|
+
|
|
57
|
+
> 0.5.0 macht den „Rahmen“ für Aufrufer lesbar und nimmt die Koordinatenrechnung aus der Hand des Modells: drei Lese-Aktionen (`snapshot` als nummerierte Elementtabelle, `screenshot` mit der Zuordnung als Daten, `preview` mit dem Element unter einem Punkt als Text), `label`-Adressierung über die RuntimeId auf das Element zurückgeführt, `space:"image"` vom Motor umgerechnet, und ein vierzehnter Ablehnungscode `stale_ref`. Die geplante Invariante „jedes Element-Rect liegt in screenRect“ wurde durch Messung widerlegt (Überstände von 3/18/287/2720px; ein Rect ist eine absolute Bildschirmkoordinate und hängt gar nicht vom Rahmen ab) — ersetzt durch gezähltes Ausschließen nicht überlappender Elemente, einen Kreuzvergleich des Rahmens mit dem vom Baum gemeldeten Fenster-Rect (frameCheck/frameInset) und ein Struktur-Gate für die einzige Rahmenquelle. Gates 17→19, zwei unabhängige Oracle-Suiten. Details im englischen Eintrag. Zwei weitere Korrekturen: `uia_tree_empty` wird nicht mehr für Fenster gemeldet, die eine Tür haben, deren Tür aber durch `elementName` unterdrückt wurde (WinForms antwortet jetzt `unreachable`), und die Cursor-Drift-Assertion, die das Gate sporadisch rot färbte, schließt die Bewegung des Besitzers über `GetLastInputInfo` aus (SKIP mit age/Fenster bei Eingabe; der exakte Read-back des Motors bleibt eine harte Assertion).
|
|
58
|
+
|
|
59
|
+
## 0.4.1 — 2026-11-23
|
|
60
|
+
|
|
61
|
+
> Published 2026-11-23T11:07:25.234Z (registry `time` for 0.4.1, read from the packument, not from a commit date).
|
|
62
|
+
|
|
63
|
+
> 0.4.1 ist ein Dokumentations- und Gate-Release ohne Laufzeitänderung (`lib/`, `src/engine/` byteweise unverändert). Behebt die README-Kopfzeile, die weiterhin 0.2.0 verkündete, und ergänzt den völlig fehlenden Abschnitt zu `types/index.d.ts`. Drei neue Gates: die Release-Zeile gegen `package.json` geprüft, byteweise Identität des englischen Texts in den neun Übersetzungen, und ein Consumer-Test, der über den Paketnamen auflöst (der alte nutzte nur einen relativen Pfad, sodass das Entfernen der `types`-Bedingung alles grün ließ). Siehe englischen Eintrag.
|
|
64
|
+
|
|
65
|
+
## 0.4.0 — 2026-11-23
|
|
66
|
+
|
|
67
|
+
> Published 2026-11-23T10:47:57.110Z (registry `time` for 0.4.0, read from the packument, not from a commit date).
|
|
68
|
+
|
|
69
|
+
> Keine Laufzeitänderung: die ganze Arbeit macht die Aussage „dieser Kommentar ist wahr" maschinell überprüfbar. `lib/` vollständig mit JSDoc versehen und unter checkJs geprüft (107 Fehler → 0), die handgeschriebene `types/index.d.ts` wird zur einzigen Wahrheitsquelle auf Implementierungsseite (eine Änderung dort macht rot), und die Unverändertheit des Codes ist Knoten für Knoten belegt (identische ASTs). Zwei echte Instabilitätsursachen im Testaufbau behoben (Wettlauf um das Pre-Layout-Orakel, verdecktes Ziel-Fenster). Keine neue Abhängigkeit. Siehe englischen Eintrag.
|
|
70
|
+
|
|
71
|
+
## 0.3.0 — 2026-11-23
|
|
72
|
+
|
|
73
|
+
> Zehn Sprachen und eine typisierte öffentliche Oberfläche. Die Dokumentation erscheint in den zehn DSH-Ökosystemsprachen, Deutsch als gleichrangiger Wechsel neben Englisch. Zwei Installationsfälle: desktop (nur integriertes pnpm, nie `dsh plugin add`) und nicht-desktop. `types/index.d.ts` hinzugefügt. Siehe englischen Eintrag.
|
|
74
|
+
|
|
75
|
+
## 0.2.0 — 2026-11-23
|
|
76
|
+
|
|
77
|
+
> Published 2026-11-23T06:26:52Z (registry `time` for 0.2.0, read from the packument, not from a commit
|
|
78
|
+
> date).
|
|
79
|
+
|
|
80
|
+
**The promise changes shape, so the version changes major-minor.** 0.1.x said: no physical input at
|
|
81
|
+
all, ever. That was true and cheap to enforce by absence. 0.2.0 keeps it as the DEFAULT and adds an
|
|
82
|
+
opt-in tier that can move the cursor and type into the foreground window — which means the old claim
|
|
83
|
+
cannot stay as written, and a release that quietly kept the old wording would be the exact failure
|
|
84
|
+
mode this project keeps writing gates against.
|
|
85
|
+
|
|
86
|
+
### Added — the takeover tier (`takeover:true`)
|
|
87
|
+
|
|
88
|
+
- **A fourth tier.** `quiet` (window messages) and `bounded-flash` (UIA pattern, one reversed flash)
|
|
89
|
+
are unchanged. `takeover` is entered only by an explicit request AND with both settings gates on;
|
|
90
|
+
it places the real cursor on the action point, holds the focus for the duration, and always
|
|
91
|
+
restores. `refuse` is unchanged.
|
|
92
|
+
- **The HUD's phase is a colour, not a sentence.** `arming` is amber, `active` red, `done` green —
|
|
93
|
+
encoded twice (whole surface tint + a 5px accent bar) because the owner is looking at the target
|
|
94
|
+
window, not at a 470×104 window in the corner. `test/hud-test.ps1` asserts it from the real pixels
|
|
95
|
+
(C18, five arms: each phase's dominant hue, all three distinct, and the surface tint changing too).
|
|
96
|
+
- **A three-phase HUD as a hard precondition.** `arming` (default 800 ms, cancellable) → `active`
|
|
97
|
+
(elapsed/limit clock and injected-character count) → `done`. `WS_EX_TOPMOST|WS_EX_NOACTIVATE`,
|
|
98
|
+
`ShowActivated=false`, measured to leave `GetForegroundWindow()` unchanged. Empty space is
|
|
99
|
+
click-through via a `WNDPROC` subclass returning `HTTRANSPARENT`; the button stays clickable.
|
|
100
|
+
No HUD ⇒ `takeover_unavailable`, never a silent takeover.
|
|
101
|
+
- **Three interruption paths, one flag.** HUD stop button, a global abort chord (candidates from
|
|
102
|
+
`Ctrl+Alt+X`; the one that actually registered is displayed and reported as `abortChord=`), and the
|
|
103
|
+
host's cancellation (`exec.signal` → `%LOCALAPPDATA%/wpm/takeover-abort.<pid>` latch file, because
|
|
104
|
+
the worker is single-threaded and cannot read a request mid-action). Interruption returns
|
|
105
|
+
`takeover_aborted` WITH `cursorRestored` and `injectedChars`.
|
|
106
|
+
- **Keyboard injection, takeover-only** (`keyInput:"inject"`). `SendInput` + `KEYEVENTF_UNICODE`,
|
|
107
|
+
per character, interruptible every 8 characters or 50 ms. The foreground is asserted to BE the
|
|
108
|
+
target before sending and re-asserted at send time — measured: text sent while another window was
|
|
109
|
+
in front landed in that window. Success reports `effect=reported-by-send`, never "verified".
|
|
110
|
+
No hardware scancode is carried; a scancode-only target would ignore it (documented limitation).
|
|
111
|
+
- **New refusals, three copies kept in step:** `takeover_unavailable` and `keyinject_unavailable`
|
|
112
|
+
(decision layer), `takeover_aborted` (runtime layer).
|
|
113
|
+
- **New settings:** `takeoverAllowed=false`, `keyInjectAllowed=false`, `takeoverMaxMs=10000`,
|
|
114
|
+
`takeoverArmMs=800`. Both gates default OFF so an upgrade cannot start moving the cursor by itself.
|
|
115
|
+
- **New gates:** `check-no-cursor-control.mjs` became a whitelist (`SetCursorPos` only in
|
|
116
|
+
`takeover.ps1`, `SendInput` only in `input-inject.ps1`, mouse events banned everywhere), and a new
|
|
117
|
+
`check-takeover-path.mjs` asserts G1–G5 (file confinement, branch-scoped loading,
|
|
118
|
+
HUD-checked-before-act, move-and-restore in one `try/finally`, keyboard-only events) and proves
|
|
119
|
+
itself non-vacuous by injecting one violation per assertion. `check.mjs` now runs 11 gates.
|
|
120
|
+
- **`proof` grew a declared takeover:** cursor motion on this tier is reported as `declared`, but
|
|
121
|
+
`cursorRestored=false` is a hard `proof=fail` with the reason 「借了未还」.
|
|
122
|
+
|
|
123
|
+
### Withdrawn — the terminal claim was measured false
|
|
124
|
+
|
|
125
|
+
The plan for this release was to drive a terminal by typing into it. Two probes disagree, on this
|
|
126
|
+
host, with everything else held correct: `scripts/probe-console-inject.ps1` sent 242 Unicode events
|
|
127
|
+
into a dedicated Windows Terminal window (foreground verified, Enter sent) and the shell executed
|
|
128
|
+
nothing; `scripts/probe-console-scan.ps1` repeated it with layout scan codes (262 events) and got the
|
|
129
|
+
same result. GUI targets are unaffected — the same code types Chinese text into a WinForms edit
|
|
130
|
+
successfully. So `terminal_no_door` stays, its reason now points at what DOES work (a target with a
|
|
131
|
+
real door), and the documentation says plainly that the terminal is neither writable nor readable
|
|
132
|
+
here. A capability that cannot be demonstrated is not shipped as a promise.
|
|
133
|
+
|
|
134
|
+
### Fixed / hardened
|
|
135
|
+
|
|
136
|
+
- **The marker had a white square behind it.** `overlay.ps1` set `AllowsTransparency` but never set
|
|
137
|
+
`Background`, and a WPF `Window`'s default background is `SystemColors.WindowBrush` (white) — so the
|
|
138
|
+
22px marker painted an opaque white tile with the blue ring inside it. Geometry could not see this
|
|
139
|
+
(the rect was correct and click-through still worked), which is why it survived every existing arm.
|
|
140
|
+
Fixed with an explicit `Transparent` background and pinned by a NEW PIXEL ARM in
|
|
141
|
+
`test/overlay-test.ps1`: `PrintWindow(PW_RENDERFULLCONTENT)` the marker and assert the corners are
|
|
142
|
+
unpainted while the centre still carries the ring. Measured before/after with the same probe — corner
|
|
143
|
+
rgb **217,217,217 → 0,0,0**, centre rgb **166,204,217 → 0,38,51**; removing the fix turns the arm red.
|
|
144
|
+
- `lib/config.js`: on the Schemastery path, unknown setting keys were silently carried into the
|
|
145
|
+
validated value (a typo looked accepted while doing nothing). They are now rejected, matching the
|
|
146
|
+
shim's rule that the plugin test already pinned.
|
|
147
|
+
- `docs/refusals.md`: `terminal_no_door` no longer claims "no child HWND" — the measured truth is
|
|
148
|
+
"three child HWNDs, none writable" (drag bar, DirectComposition target, 0×0 input sink).
|
|
149
|
+
|
|
150
|
+
### Measured for this release (re-runnable from `scripts/`)
|
|
151
|
+
|
|
152
|
+
- `SetCursorPos(+40,+20)` read back exactly, restore landed exactly (`probe-setcursor-pos.ps1`).
|
|
153
|
+
The elevated-foreground arm could not be arranged from a non-elevated process — recorded as
|
|
154
|
+
unmeasured, not guessed.
|
|
155
|
+
- Injected text goes to the FOREGROUND window, not the intended one (`probe-sendinput-unicode.ps1`, B
|
|
156
|
+
in front ⇒ text in B and nothing in A; A in front with Chinese ⇒ landed in A).
|
|
157
|
+
- HUD click-through: `HwndSource` hook receives `WM_NCHITTEST` but cannot change hit-testing; a
|
|
158
|
+
`WNDPROC` subclass works (`probe-hittest-children.ps1`).
|
|
159
|
+
- Desktop test arms (manual, because they move the real pointer): `test/hud-test.ps1` 19/19,
|
|
160
|
+
`test/takeover-test.ps1` 22/22, `test/keyinject-test.ps1` 11/11 with one skip (the real-console
|
|
161
|
+
arm, superseded by the two console probes above).
|
|
162
|
+
## 0.1.6 — 2026-11-21
|
|
163
|
+
|
|
164
|
+
Two failures that shared one refusal code are split — because the reader's next step differs.
|
|
165
|
+
|
|
166
|
+
**The defect.** Everything door-less came back `unreachable`. Two of its causes are opposites: a
|
|
167
|
+
tree that was never populated (the application has UI Automation off — measured on this desktop:
|
|
168
|
+
uTools walks to zero content elements on three in-place reads spanning 2.2 s and never grows one),
|
|
169
|
+
and a probe that threw (the tree could not be measured at all). The probe's own diagnostic was
|
|
170
|
+
already being produced and then wasted: `uiaErr` reached the result object only as a reason-string
|
|
171
|
+
suffix that nothing branched on — 0.1.5's point-probe work found it as dead data. A caller reading
|
|
172
|
+
`unreachable` could not tell "pick another target" from "make the app enable accessibility" from
|
|
173
|
+
"read the exception".
|
|
174
|
+
|
|
175
|
+
**Fixed**
|
|
176
|
+
- **`uia_tree_empty`** — the walked tree holds **zero content elements**. The criterion is
|
|
177
|
+
structural, not numeric: Pane/Group/Image/Text/Thumb/Separator/TitleBar are the window's own
|
|
178
|
+
shell; anything else (Button, Edit, Document, Custom) is something an application chose to
|
|
179
|
+
expose. Count alone lies — an a11y-off Chromium window still exposes one
|
|
180
|
+
`Chrome_RenderWidgetHostHWND` shell pane, and the same uTools window measured raw=0 and raw=1
|
|
181
|
+
the same day depending on its own state while content stayed 0 throughout. The reason states
|
|
182
|
+
the observation, not an exclusive cause: a provider that answers nothing (a hung pump) reads as
|
|
183
|
+
empty too, instantly, without throwing — that second cause is documented, not hidden.
|
|
184
|
+
- **`uia_probe_failed`** — the probe threw before it could measure; no conclusion about the
|
|
185
|
+
target is licensed. The exception text rides the reason as `[uia: …]`. Measured: WM_CLOSE
|
|
186
|
+
landing 40 ms into the call (between the `IsWindow` check and `FromHandle`) returns this code
|
|
187
|
+
with the original exception text, not `unreachable`. Probe failure outranks tree-empty — a
|
|
188
|
+
measurement that threw cannot also certify emptiness — and a usable door outranks both.
|
|
189
|
+
- **The refusal reason carries the probe's context for all three codes**: which point was probed
|
|
190
|
+
and what it found there, plus the exception when one exists. A diagnosis with the evidence
|
|
191
|
+
redacted is not a diagnosis.
|
|
192
|
+
|
|
193
|
+
**Also**
|
|
194
|
+
- The reverse assertion about Chromium's "lazy" accessibility is written where the next reader
|
|
195
|
+
will trip over it (`scripts/chromium-a11y-flag.mjs` conclusion, README's measurement section):
|
|
196
|
+
the same window re-read in place three times (+0/+700/+1500 ms) never grew content, an a11y-on
|
|
197
|
+
tree answers completely on the first query — so the engine does NOT re-query with a deadline
|
|
198
|
+
and no retry exists anywhere. The instrument ships:
|
|
199
|
+
`scripts/uia-tree-content.ps1` reads the same two counters with the same shell-type table the
|
|
200
|
+
engine decides on.
|
|
201
|
+
|
|
202
|
+
Measured instances behind every claim above: real-window end-to-end refusals for all three codes
|
|
203
|
+
(`uia_tree_empty` via both the scan and the point path on uTools; `unreachable` on a tree-alive
|
|
204
|
+
window; `uia_probe_failed` on a mid-probe destroy), decision-table arms for each new branch and
|
|
205
|
+
its precedence, and `refusals-test` 11 passed with 2 codes still declared uncovered
|
|
206
|
+
(`action_failed`, `restore_failed`).
|
|
207
|
+
|
|
208
|
+
## 0.1.5 — 2026-11-21
|
|
209
|
+
|
|
210
|
+
A click that acted on the wrong control, and returned `ok:true` while doing it.
|
|
211
|
+
|
|
212
|
+
**The defect.** The contract (`src/schema/tools.json`) makes `x`/`y` **required** for `click` and says
|
|
213
|
+
a point that does not resolve inside the target is refused "instead of being sent somewhere else".
|
|
214
|
+
The message tier honours that (`Resolve-WpmChildAtPoint`). The **UIA tier did not read `x`/`y` at
|
|
215
|
+
all**: it scanned descendants and invoked the FIRST element carrying any usable pattern, then
|
|
216
|
+
reported success. On any target without a message door — WPF, UWP, WinUI3, i.e. most modern
|
|
217
|
+
applications — `click` at the coordinates of one control operated on a different one entirely, and
|
|
218
|
+
the marker was still drawn at the requested point, so the product's own evidence pointed at a place
|
|
219
|
+
it had not acted on. This is worse than a refusal: a refusal is honest, this was a wrong action
|
|
220
|
+
wearing a success report.
|
|
221
|
+
|
|
222
|
+
Measured, not inferred. A two-button WPF target at known coordinates, with the click counters
|
|
223
|
+
written by the handlers themselves:
|
|
224
|
+
- pre-fix engine, click aimed at **Bravo**: `alpha 0->1`, `bravo 0->0`, `last='alpha'`, result `ok:true`
|
|
225
|
+
- fixed engine, same call: `bravo 0->1`, `alpha 0->0`, `last='bravo'`, `channel=uia tier=bounded-flash`
|
|
226
|
+
|
|
227
|
+
**Fixed**
|
|
228
|
+
- The UIA tier resolves the element **at the point** (`Resolve-WpmUiaElementAtPoint`,
|
|
229
|
+
`AutomationElement.FromPoint`), climbs to the nearest ancestor carrying a usable pattern, and
|
|
230
|
+
refuses when the point does not belong to the named window. Naming an element with
|
|
231
|
+
`elementName` still takes the by-name path: there the caller asked for that control.
|
|
232
|
+
- **Ancestry is proven before the pattern is looked for.** The first version of this fix searched
|
|
233
|
+
while climbing and returned on the first pattern — which reproduced the original defect one level
|
|
234
|
+
down: a point outside the target climbed into the taskbar, found a patterned button there,
|
|
235
|
+
invoked it and answered `ok:true`. Caught by the "point outside the target" arm of the new test,
|
|
236
|
+
not by review.
|
|
237
|
+
- `uiaErr` was produced and read by nobody (`grep` found zero consumers), so a walk that *threw*
|
|
238
|
+
reached the caller as "no message door and no usable UIA pattern" — a factual claim that may be
|
|
239
|
+
false. The probe now also carries `uiaReason`, and a refusal appends what the point probe found,
|
|
240
|
+
so `unreachable` no longer collapses two different worlds into one sentence.
|
|
241
|
+
|
|
242
|
+
**Added**
|
|
243
|
+
- `test/uia-click-target.ps1` — a two-button WPF target that publishes its button centres in
|
|
244
|
+
**physical pixels** (the test that computed them itself was 1.5x off; that DPI lesson is written
|
|
245
|
+
into the file) and writes click counts from the handlers that fired.
|
|
246
|
+
- `test/uia-click-truth.mjs` — 12 arms, and a new gate (`scripts/check.mjs`, now 13). It fails in
|
|
247
|
+
both directions: point-at-Bravo must bump Bravo and not Alpha; a point outside the target must be
|
|
248
|
+
refused, must fire neither button, and must say *why*.
|
|
249
|
+
|
|
250
|
+
**Unchanged** — the refusal-code set, the pure judgment, the message tier, the marker.
|
|
251
|
+
|
|
252
|
+
## 0.1.4 — 2026-11-21
|
|
253
|
+
|
|
254
|
+
(Registry time is the authority for the timestamp; same convention as below.)
|
|
255
|
+
|
|
256
|
+
The source became reachable. Until now the package had **no repository, homepage or bugs field** —
|
|
257
|
+
not an oversight at authoring time, but a consequence of the repo not existing: there was no URL to
|
|
258
|
+
put there. `git remote -v` was empty through 0.1.0–0.1.3, so every claim in the README pointed at a
|
|
259
|
+
tarball and nowhere else. Creating the repository is what unblocks this, and it is the only reason
|
|
260
|
+
this release exists.
|
|
261
|
+
|
|
262
|
+
**Added**
|
|
263
|
+
- `repository`, `homepage` and `bugs` in `package.json`, so npmjs.com links to the source and to an
|
|
264
|
+
issue tracker instead of leaving a reader with a download and no way to report a refusal that
|
|
265
|
+
should not have happened.
|
|
266
|
+
- README now names the repository in its opening section, next to the non-affiliation notice.
|
|
267
|
+
|
|
268
|
+
**Unchanged**
|
|
269
|
+
- No behaviour. `lib/`, `src/engine/` and the schema are byte-identical to 0.1.3 — this release only
|
|
270
|
+
makes the existing artifact findable. The gate is still green (12 checks), and the profile on the
|
|
271
|
+
authoring machine keeps running 0.1.3 code with an identical `lib` hash.
|
|
272
|
+
|
|
273
|
+
## 0.1.3 — 2026-11-21
|
|
274
|
+
|
|
275
|
+
(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.)
|
|
276
|
+
|
|
277
|
+
0.1.2 shipped a proof that answered "did we disturb you". It never answered "did the thing happen" —
|
|
278
|
+
the engine computed `effect` on every action call and the Node half dropped it on the floor, so
|
|
279
|
+
`proof=pass` could mean *"clicked, and the app ignored it"*. This release closes that link, and then
|
|
280
|
+
closes the hole the missing link was hiding.
|
|
281
|
+
|
|
282
|
+
**Added**
|
|
283
|
+
- `effect=` in every action result's text and `effect` in the structured output, with three values
|
|
284
|
+
that name the SPEAKER rather than the confidence: `unverified` (nobody), `reported-by-send` (the
|
|
285
|
+
message was delivered), `reported-by-pattern` (the UIA call returned). README carries the table;
|
|
286
|
+
the code comment above the branch pins the same three lines. A refusal reports no effect at all —
|
|
287
|
+
no action ran, so nobody can have spoken.
|
|
288
|
+
- `lib/proof-window.mjs` gains an effect dimension: `evaluateProof(samples, { effect, actions })`.
|
|
289
|
+
A call whose channel reported nothing is capped at `inconclusive`; a batch caller whose every
|
|
290
|
+
attempt failed gets `fail` regardless of displacement. Both are opt-in — omitting `effect` leaves
|
|
291
|
+
every pre-0.1.3 caller's behaviour untouched, which is why the 32 pre-existing arms did not move.
|
|
292
|
+
|
|
293
|
+
**Corrected**
|
|
294
|
+
- The gate could read a total no-op as a green light: zero cursor displacement, zero foreground
|
|
295
|
+
switches, nothing accomplished => `pass`. The old plan named the case ("50 failed calls, zero
|
|
296
|
+
displacement, FAIL") and never landed it. It is landed now, with the arms that fail in the
|
|
297
|
+
direction that matters: `unverified` + a still desktop is not a pass, and 50 failed attempts is a
|
|
298
|
+
`fail` whose reason says 动作未生效.
|
|
299
|
+
- Word boundaries: `reported-by-send` says the message was DELIVERED. It does not say the application
|
|
300
|
+
processed it, and `reported-by-pattern` does not say the interface changed. Single `reported-by-*`
|
|
301
|
+
evidence still passes (it is real, just not independent) and the reason says so out loud: 未独立验证.
|
|
302
|
+
|
|
303
|
+
**Verified**
|
|
304
|
+
- `node test/proof-window-test.mjs` — 40 arms, 0 failed (32 carried over unchanged, 8 new).
|
|
305
|
+
- `node test/plugin-test.mjs` — 54 arms, 0 failed, including a real `no_hwnd` refusal carrying no
|
|
306
|
+
effect and the three legal values round-tripping through the shipped projection.
|
|
307
|
+
- `node scripts/check.mjs` — 12 gates green, including the marker end-to-end gate, which on this
|
|
308
|
+
machine's real desktop printed
|
|
309
|
+
`proof=pass [cursor=pass fg=pass focus=pass] :: effect=reported-by-send: a channel reported the call
|
|
310
|
+
returned -- 未独立验证`.
|
|
311
|
+
|
|
312
|
+
## 0.1.2 — 2026-11-20
|
|
313
|
+
|
|
314
|
+
(Registry time `2026-11-20T17:15:15Z` UTC = `2026-11-21 01:15` Beijing; the date follows the same
|
|
315
|
+
UTC convention as the entries below, because the header's rule is "the publish time is the promise".)
|
|
316
|
+
|
|
317
|
+
The proof chain became real: what started as "the README says the cursor never moves" ended as a
|
|
318
|
+
per-call measurement, a build-time guarantee, and — recorded honestly — three judgment designs that
|
|
319
|
+
the real desktop rejected before one survived.
|
|
320
|
+
|
|
321
|
+
**Added**
|
|
322
|
+
- Every `click` carries a disturbance proof: `proof=pass|inconclusive|fail|insufficient(…)` in the
|
|
323
|
+
text plus structured `proof` / `proofDimensions`. The engine samples cursor/foreground/focus/
|
|
324
|
+
last-physical-input-age in two windows — a pre-action control (nothing running, by construction)
|
|
325
|
+
and inside the settle wait it already pays; four read-only syscalls, no new process.
|
|
326
|
+
- `lib/proof-window.mjs` — the one pure implementation of the judgment. `sampler.mjs` delegates to
|
|
327
|
+
it too: the fleet reachability numbers and the per-action proof cannot drift into two instruments
|
|
328
|
+
sharing one name. 32 synthetic unit arms pin the semantics, including cases that must FAIL —
|
|
329
|
+
a verdict function that only ever says pass is worthless, and the arms check it can say otherwise.
|
|
330
|
+
- `scripts/check-no-cursor-control.mjs` — build gate: no shipped engine file may contain
|
|
331
|
+
`SetCursorPos` / `SendInput` / `mouse_event` / `keybd_event`. Verified non-vacuous (injecting
|
|
332
|
+
SetCursorPos turns it red; removing it turns it green, no residue).
|
|
333
|
+
- `scripts/idle-baseline.mjs` — re-runnable probe of what the cursor does with NOTHING running.
|
|
334
|
+
Measured answer on the authoring machine: up to 3 unexplained gaps / 11 px. This is why the
|
|
335
|
+
runtime cursor dimension reports and never accuses.
|
|
336
|
+
- Marker placement through the shipped plugin is verified end-to-end against an independent oracle:
|
|
337
|
+
a real click puts the marker over the point it hit in physical pixels, and the marker is proven
|
|
338
|
+
(via `EnumWindows`) topmost-over-the-target while `GetForegroundWindow` stays unchanged.
|
|
339
|
+
|
|
340
|
+
**Corrected**
|
|
341
|
+
- The cursor guarantee was MEASURED OUT of the runtime sensor and INTO the build gate. Two runtime
|
|
342
|
+
rules failed on clean clicks (a strict 1 px bar: 3.16 px; a control-window noise floor: 7.07 px,
|
|
343
|
+
the floor itself duration-biased). Positions cannot attribute motion to a cause; the idle baseline
|
|
344
|
+
proves even multi-gap motion is ambient on a live desktop. Tuning the number until reds disappear
|
|
345
|
+
would have been laundering, so the rule changed shape instead: zero unexplained gaps passes,
|
|
346
|
+
anything else is inconclusive with the number surfaced, and the actual promise (no cursor control
|
|
347
|
+
exists in the shipped code) is decidable at build time.
|
|
348
|
+
- The disturbance sensor no longer contradicts the product contract: the bounded-flash tier raises
|
|
349
|
+
foreground deliberately and restores it; those switches are reported as `declared`, not failed.
|
|
350
|
+
("Never KEEP the foreground" is owned by the restore table — `restore_failed` — not by sampling.)
|
|
351
|
+
A pass verdict can no longer print "no switches" while carrying declared ones.
|
|
352
|
+
- Overlay cold-start wait raised to 6 s: the runspace JITs WPF past the old 2.5 s budget on a cold
|
|
353
|
+
worker, and the caller read a false "overlay not running".
|
|
354
|
+
- Gate philosophy for occluded desktops, applied to a TOCTOU case (a fullscreen video window moving
|
|
355
|
+
over the point between premise-probe and click): the engine's refusal is correct behaviour, so the
|
|
356
|
+
arms re-probe and convert to a NAMED SKIP. Desktop the test doesn't control never reads as red;
|
|
357
|
+
and a silent skip never reads as tested either.
|
|
358
|
+
- A real product bug in the marker path, caught by the gate going red intermittently (and fixed at
|
|
359
|
+
the cause, not the symptom): the overlay's readiness handshake **polled one flag and judged
|
|
360
|
+
another**. It waited for `OverlayHwnd` — assigned right after `Show()`, before the ex-style trio
|
|
361
|
+
is applied — but reported `running = OverlayOn`, set only after trio + hotkey + pump. So during
|
|
362
|
+
that window `status` said "not running" about an overlay that was initialising, AND read back a
|
|
363
|
+
half-styled window (`exStyle=0x00080008`, TOPMOST|LAYERED but NO TRANSPARENT — WPF's own bits
|
|
364
|
+
before the explicit trio lands). The Node half's fire-and-forget `markPoint` sequenced placement
|
|
365
|
+
behind the handshake; the handshake rejected; the marker request was skipped for a click that had
|
|
366
|
+
already answered, so nobody ever retried and the marker stayed parked at (-2000,-2000). One
|
|
367
|
+
warning, then silence forever. That was not a flake to be slept past:
|
|
368
|
+
the readiness flag is now the judgment flag (`OverlayOn`), a budget that merely expired reports a
|
|
369
|
+
third state (`starting`) instead of masquerading as a crash, and placement retries on a bounded
|
|
370
|
+
6 s deadline that stops immediately when the start is *provably* dead (a reason + not starting).
|
|
371
|
+
Patience lives where a stop condition can be named — the worker-side sleep cannot.
|
|
372
|
+
|
|
373
|
+
**Verified for this version**
|
|
374
|
+
- 12-arm gate green; live clicks through the SHIPPED plugin: proof=pass across 18–22 sample gaps
|
|
375
|
+
with `[cursor=pass fg=pass focus=pass]`; four-run stability: 3 pass + 1 ambient inconclusive
|
|
376
|
+
surfaced as WARN (anti-vacuity: weaker-than-pass never prints as INFO).
|
|
377
|
+
- The independent marker oracle now ANCHORS on the overlay handle the product reports via
|
|
378
|
+
`status` (`overlayHwnd=...`). Matching by title alone could grade a leaked same-titled window from
|
|
379
|
+
an earlier run — certifying a marker we never placed; more than one candidate is now reported as
|
|
380
|
+
ambiguous rather than silently resolved to `$hits[0]`.
|
|
381
|
+
- `lib/proof-window.mjs` confirmed inside the tarball (20 entries).
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
## 0.1.1 — 2026-11-20
|
|
386
|
+
|
|
387
|
+
The same product as 0.1.0. This version exists to fix the packaging chain, not the behaviour.
|
|
388
|
+
|
|
389
|
+
**Changed**
|
|
390
|
+
- Repository line endings normalised to LF. 0.1.0 was published from a tree where an editing script
|
|
391
|
+
had converted ten files to CRLF, so the registry tarball (sha256 `84196f21…`) and this repository
|
|
392
|
+
no longer hashed the same even though the code was identical. 0.1.1 restores "the repository and
|
|
393
|
+
the published artifact are the same bytes".
|
|
394
|
+
- `publishConfig` is now explicit: `{ "access": "public", "tag": "latest" }`. The default was
|
|
395
|
+
already `latest`, but a default is a property of npm while a declaration is a property of this
|
|
396
|
+
package — the difference only shows up the first time someone publishes a prerelease.
|
|
397
|
+
|
|
398
|
+
**Verified for this version**
|
|
399
|
+
- 11 local gates green: PowerShell parse / encoding / static-call, refusal vocabulary, tool schema,
|
|
400
|
+
package contents, host half + sidecar, overlay promises, marker end-to-end, JS syntax.
|
|
401
|
+
- The overlay marker is measurably click-through: `exStyle 0x08080028`, foreground unchanged across
|
|
402
|
+
`Show()`, an independent process confirming `WindowFromPoint` at the marker's centre returns the
|
|
403
|
+
window underneath, and the marker covering the clicked point in physical pixels.
|
|
404
|
+
- The pause chord is measured, not assumed: `Ctrl+Alt+Q` is a first candidate, and on the machine
|
|
405
|
+
this was built on it was owned by another app (Win32 1409), so the engine walked a candidate list
|
|
406
|
+
and registered `Ctrl+Alt+W`. `status` reports the chord that actually registered.
|
|
407
|
+
|
|
408
|
+
**Not fixed in this version** (unchanged from 0.1.0, stated rather than implied)
|
|
409
|
+
- The settings pill and the four-value switch surface do not exist yet.
|
|
410
|
+
- `restore_failed` has no end-to-end test: it needs an elevated window that can be raised, and no
|
|
411
|
+
such window was present at build time. The decision-table branch is covered by unit tests; the
|
|
412
|
+
live path is not.
|
|
413
|
+
|
|
414
|
+
## 0.1.0 — 2026-11-20
|
|
415
|
+
|
|
416
|
+
First version with a working plugin in it. Everything before this was a reservation stub.
|
|
417
|
+
|
|
418
|
+
- One tool, `wpm`, with five actions: `windows`, `status`, `click`, `type`, `focus`.
|
|
419
|
+
- A PowerShell sidecar (Windows PowerShell 5.1, nothing to install) driven over a JSON line protocol,
|
|
420
|
+
lazily started so the host's boot path does not pay for a tool nobody called.
|
|
421
|
+
- Eight refusal codes as a three-way contract: what fires, what the schema promises, what the docs
|
|
422
|
+
explain. A gate fails when the three disagree.
|
|
423
|
+
- A click-through, always-on-top marker placed at the point a click hit, and a global pause chord.
|
|
424
|
+
- Measured: window-message tier causes 0 foreground changes in 6/6 rounds with 0 px cursor movement;
|
|
425
|
+
the UI Automation tier's focus takeover returns in 15–95 ms net against a 120 ms budget.
|
|
426
|
+
|
|
427
|
+
## 0.0.1 — 2026-11-18
|
|
428
|
+
|
|
429
|
+
Reservation stub. The name was reserved before the measurement was done; installing this version
|
|
430
|
+
gives you a README and nothing else. Kept for history, not for use.
|
|
431
|
+
|
|
432
|
+
## 0.0.0-stage — 2026-11-18
|
|
433
|
+
|
|
414
434
|
The first reservation, same story as 0.0.1.
|