dsh-windows-parallel-mcp 0.3.0 → 0.4.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 +11 -1
- package/CHANGELOG.es.md +11 -1
- package/CHANGELOG.fr.md +11 -1
- package/CHANGELOG.it.md +11 -1
- package/CHANGELOG.ja.md +11 -1
- package/CHANGELOG.ko.md +11 -1
- package/CHANGELOG.md +81 -3
- package/CHANGELOG.pt.md +11 -1
- package/CHANGELOG.ru.md +11 -1
- package/CHANGELOG.zh.md +11 -1
- package/README.de.md +33 -12
- package/README.es.md +33 -12
- package/README.fr.md +33 -12
- package/README.it.md +33 -12
- package/README.ja.md +33 -12
- package/README.ko.md +33 -12
- package/README.md +33 -12
- package/README.pt.md +33 -12
- package/README.ru.md +33 -12
- package/README.zh.md +33 -12
- package/lib/config.js +29 -1
- package/lib/engine.js +31 -4
- package/lib/host-tools.js +41 -2
- package/lib/index.js +137 -9
- package/lib/peers-schemastery.js +6 -0
- package/lib/peers-tools.js +9 -0
- package/lib/proof-window.mjs +122 -8
- package/package.json +3 -2
package/CHANGELOG.de.md
CHANGED
|
@@ -8,7 +8,17 @@ Dates are the registry `time` values for each version, not git commit dates —
|
|
|
8
8
|
when someone typed, a publish time records when a version became installable, and only the second
|
|
9
9
|
one is a promise to anyone installing it.
|
|
10
10
|
|
|
11
|
-
## 0.
|
|
11
|
+
## 0.4.1 — 2026-11-23
|
|
12
|
+
|
|
13
|
+
> 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.
|
|
14
|
+
|
|
15
|
+
## 0.4.0 — 2026-11-23
|
|
16
|
+
|
|
17
|
+
> Published 2026-11-23T10:47:57.110Z (registry `time` for 0.4.0, read from the packument, not from a commit date).
|
|
18
|
+
|
|
19
|
+
> 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.
|
|
20
|
+
|
|
21
|
+
## 0.3.0 — 2026-11-23
|
|
12
22
|
|
|
13
23
|
> 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.
|
|
14
24
|
|
package/CHANGELOG.es.md
CHANGED
|
@@ -8,7 +8,17 @@ Dates are the registry `time` values for each version, not git commit dates —
|
|
|
8
8
|
when someone typed, a publish time records when a version became installable, and only the second
|
|
9
9
|
one is a promise to anyone installing it.
|
|
10
10
|
|
|
11
|
-
## 0.
|
|
11
|
+
## 0.4.1 — 2026-11-23
|
|
12
|
+
|
|
13
|
+
> 0.4.1 es una publicación solo de documentación y puertas: sin cambios en tiempo de ejecución (`lib/`, `src/engine/` intactos byte a byte). Corrige el encabezado del README que seguía anunciando 0.2.0 y añade la sección sobre `types/index.d.ts`, que faltaba por completo. Tres puertas nuevas: la línea de versión comparada con `package.json`, la identidad byte a byte del cuerpo inglés en las nueve traducciones, y una prueba de consumidor que resuelve por nombre de paquete (la anterior solo usaba una ruta relativa, así que quitar la condición `types` dejaba todo en verde). Véase la entrada en inglés.
|
|
14
|
+
|
|
15
|
+
## 0.4.0 — 2026-11-23
|
|
16
|
+
|
|
17
|
+
> Published 2026-11-23T10:47:57.110Z (registry `time` for 0.4.0, read from the packument, not from a commit date).
|
|
18
|
+
|
|
19
|
+
> Sin cambios en tiempo de ejecución: todo el trabajo hace verificable por máquina la afirmación «este comentario es cierto». `lib/` totalmente anotado y comprobado con checkJs (107 errores → 0), el `types/index.d.ts` escrito a mano pasa a ser la única fuente de verdad en el lado de la implementación (cambiarlo lo pone en rojo), y la ausencia de cambios en el código se demuestra nodo a nodo (AST idénticos). Corregidas dos causas reales de inestabilidad del banco de pruebas (carrera del oráculo pre-layout, ventana objetivo tapada). Sin dependencias nuevas. Véase la entrada en inglés.
|
|
20
|
+
|
|
21
|
+
## 0.3.0 — 2026-11-23
|
|
12
22
|
|
|
13
23
|
> Diez idiomas y una superficie pública tipada. Los documentos se publican en los diez idiomas del ecosistema DSH, con el español como cambio de primer nivel junto al inglés. Dos casos de instalación: desktop (solo pnpm integrado, nunca `dsh plugin add`) y no-desktop. Añadido `types/index.d.ts`. Véase la entrada en inglés.
|
|
14
24
|
|
package/CHANGELOG.fr.md
CHANGED
|
@@ -8,7 +8,17 @@ Dates are the registry `time` values for each version, not git commit dates —
|
|
|
8
8
|
when someone typed, a publish time records when a version became installable, and only the second
|
|
9
9
|
one is a promise to anyone installing it.
|
|
10
10
|
|
|
11
|
-
## 0.
|
|
11
|
+
## 0.4.1 — 2026-11-23
|
|
12
|
+
|
|
13
|
+
> 0.4.1 ne touche qu'à la documentation et aux garde-fous : aucun changement d'exécution (`lib/`, `src/engine/` inchangés à l'octet). Corrige l'en-tête du README qui annonçait encore 0.2.0 et ajoute la section `types/index.d.ts` qui manquait totalement. Trois garde-fous ajoutés : la ligne de version comparée à `package.json`, l'identité octet pour octet du corps anglais des neuf traductions, et un test consommateur qui résout par nom de paquet (l'ancien n'utilisait qu'un chemin relatif, si bien que supprimer la condition `types` laissait tout au vert). Voir l'entrée anglaise.
|
|
14
|
+
|
|
15
|
+
## 0.4.0 — 2026-11-23
|
|
16
|
+
|
|
17
|
+
> Published 2026-11-23T10:47:57.110Z (registry `time` for 0.4.0, read from the packument, not from a commit date).
|
|
18
|
+
|
|
19
|
+
> Aucun changement d'exécution : tout le travail sert à rendre vérifiable par la machine l'affirmation « ce commentaire est vrai ». `lib/` entièrement annoté et contrôlé sous checkJs (107 erreurs → 0), le `types/index.d.ts` écrit à la main devient la source unique de vérité côté implémentation (le modifier le passe au rouge), et l'absence de changement de code est prouvée nœud par nœud (AST identiques). Deux causes réelles d'instabilité du banc de test corrigées (course sur l'oracle pré-layout, fenêtre cible masquée). Aucune nouvelle dépendance. Voir l'entrée anglaise.
|
|
20
|
+
|
|
21
|
+
## 0.3.0 — 2026-11-23
|
|
12
22
|
|
|
13
23
|
> Dix langues et une surface publique typée. Les documents sont publiés dans les dix langues de l'écosystème DSH, avec le français en bascule de premier rang à côté de l'anglais. L'installation distingue exactement deux cas : desktop (pnpm intégré uniquement, jamais `dsh plugin add`) et non-desktop. `types/index.d.ts` ajouté. Voir l'entrée anglaise.
|
|
14
24
|
|
package/CHANGELOG.it.md
CHANGED
|
@@ -8,7 +8,17 @@ Dates are the registry `time` values for each version, not git commit dates —
|
|
|
8
8
|
when someone typed, a publish time records when a version became installable, and only the second
|
|
9
9
|
one is a promise to anyone installing it.
|
|
10
10
|
|
|
11
|
-
## 0.
|
|
11
|
+
## 0.4.1 — 2026-11-23
|
|
12
|
+
|
|
13
|
+
> 0.4.1 è un rilascio di sola documentazione e gate, senza modifiche a runtime (`lib/`, `src/engine/` invariati byte per byte). Corregge l'intestazione del README che annunciava ancora 0.2.0 e aggiunge la sezione su `types/index.d.ts`, prima del tutto assente. Tre nuovi gate: la riga di versione confrontata con `package.json`, l'identità byte per byte del corpo inglese nelle nove traduzioni, e un test consumer che risolve per nome del pacchetto (il precedente usava solo un percorso relativo, quindi rimuovere la condizione `types` lasciava tutto verde). Vedi la voce inglese.
|
|
14
|
+
|
|
15
|
+
## 0.4.0 — 2026-11-23
|
|
16
|
+
|
|
17
|
+
> Published 2026-11-23T10:47:57.110Z (registry `time` for 0.4.0, read from the packument, not from a commit date).
|
|
18
|
+
|
|
19
|
+
> Nessun cambiamento a runtime: tutto il lavoro rende verificabile dalla macchina l'affermazione «questo commento è vero». `lib/` interamente annotato e controllato con checkJs (107 errori → 0), il `types/index.d.ts` scritto a mano diventa l'unica fonte di verità lato implementazione (modificarlo lo fa diventare rosso), e l'assenza di modifiche al codice è dimostrata nodo per nodo (AST identici). Corrette due cause reali di instabilità del banco di prova (corsa sull'oracolo pre-layout, finestra bersaglio coperta). Nessuna nuova dipendenza. Vedi la voce inglese.
|
|
20
|
+
|
|
21
|
+
## 0.3.0 — 2026-11-23
|
|
12
22
|
|
|
13
23
|
> Dieci lingue e una superficie pubblica tipizzata. I documenti sono pubblicati nelle dieci lingue dell'ecosistema DSH, con l'italiano come opzione di primo livello accanto all'inglese. Due casi di installazione: desktop (solo pnpm integrato, mai `dsh plugin add`) e non-desktop. Aggiunto `types/index.d.ts`. Vedi la voce inglese.
|
|
14
24
|
|
package/CHANGELOG.ja.md
CHANGED
|
@@ -8,7 +8,17 @@ Dates are the registry `time` values for each version, not git commit dates —
|
|
|
8
8
|
when someone typed, a publish time records when a version became installable, and only the second
|
|
9
9
|
one is a promise to anyone installing it.
|
|
10
10
|
|
|
11
|
-
## 0.
|
|
11
|
+
## 0.4.1 — 2026-11-23
|
|
12
|
+
|
|
13
|
+
> 0.4.1 はドキュメントとゲートのみのリリースで、ランタイム変更はありません(`lib/`、`src/engine/` はバイト単位で未変更)。README 冒頭が 0.2.0 を名乗り続けていた件を修正し、一切言及のなかった `types/index.d.ts` の節を追加。さらに三道のゲートを追加:リリース行と `package.json` の版の照合、9 言語の英本文のバイト一致、パッケージ名で解決する消費者テスト(従来は相対パスのみで、`types` 条件を削っても全緑だった)。詳細は英語版参照。
|
|
14
|
+
|
|
15
|
+
## 0.4.0 — 2026-11-23
|
|
16
|
+
|
|
17
|
+
> Published 2026-11-23T10:47:57.110Z (registry `time` for 0.4.0, read from the packument, not from a commit date).
|
|
18
|
+
|
|
19
|
+
> 実行時の変更はゼロ。作業のすべては「このコメントは正しい」を機械で検証可能にすることに使われました。`lib/` 全体を JSDoc + checkJs で検査(107 エラー → 0)、手書きの `types/index.d.ts` が実装側の唯一の真実源になり(変更すれば赤くなる)、コード未変更は AST のノード単位比較で証明。テスト側の不安定要因2件(pre-layout oracle 競合、対象ウィンドウの遮蔽)も修正。新しい依存はゼロ。詳細は英語版参照。
|
|
20
|
+
|
|
21
|
+
## 0.3.0 — 2026-11-23
|
|
12
22
|
|
|
13
23
|
> 10言語と型付き公開インターフェース。ドキュメントは DSH エコシステムの10言語で提供され、日本語は英語と並ぶ一等スイッチです。インストールは desktop / 非desktop の2通り(desktop は内蔵 pnpm のみ手動、dsh plugin add 禁止)。types/index.d.ts を追加。詳細は英語版参照。
|
|
14
24
|
|
package/CHANGELOG.ko.md
CHANGED
|
@@ -8,7 +8,17 @@ Dates are the registry `time` values for each version, not git commit dates —
|
|
|
8
8
|
when someone typed, a publish time records when a version became installable, and only the second
|
|
9
9
|
one is a promise to anyone installing it.
|
|
10
10
|
|
|
11
|
-
## 0.
|
|
11
|
+
## 0.4.1 — 2026-11-23
|
|
12
|
+
|
|
13
|
+
> 0.4.1은 문서와 게이트만의 릴리스이며 런타임 변경은 없습니다(`lib/`, `src/engine/` 바이트 단위 그대로). README 첫머리가 계속 0.2.0을 선언하던 문제를 고치고, 언급조차 없던 `types/index.d.ts` 절을 추가했습니다. 게이트 세 개 추가: 릴리스 줄과 `package.json` 버전 대조, 9개 언어 영문 본문 바이트 일치, 패키지 이름으로 해석하는 소비자 테스트(기존에는 상대 경로만 써서 `types` 조건을 지워도 전부 초록이었습니다). 자세한 내용은 영문 항목 참조.
|
|
14
|
+
|
|
15
|
+
## 0.4.0 — 2026-11-23
|
|
16
|
+
|
|
17
|
+
> Published 2026-11-23T10:47:57.110Z (registry `time` for 0.4.0, read from the packument, not from a commit date).
|
|
18
|
+
|
|
19
|
+
> 런타임 변경은 없습니다. 모든 작업은 "이 주석은 사실이다"를 기계가 검증할 수 있게 만드는 데 쓰였습니다. `lib/` 전체를 JSDoc + checkJs로 검사(107 오류 → 0), 수기 `types/index.d.ts`가 구현 측 단일 진실 원천이 되고(바꾸면 빨개짐), 코드 미변경은 AST 노드 단위 비교로 증명. 테스트 불안정 원인 2건(pre-layout oracle 경합, 대상 창 가림)도 수정. 새 의존성 없음. 자세한 내용은 영문 항목 참조.
|
|
20
|
+
|
|
21
|
+
## 0.3.0 — 2026-11-23
|
|
12
22
|
|
|
13
23
|
> 10개 언어와 타입 공개 인터페이스. 문서는 DSH 생태계 10개 언어로 제공되며 한국어는 영어와 나란한 1등 전환입니다. 설치는 desktop / 비desktop 두 경우(desktop은 내장 pnpm으로만 수동, dsh plugin add 금지). types/index.d.ts 추가. 자세한 내용은 영문 항목 참조.
|
|
14
24
|
|
package/CHANGELOG.md
CHANGED
|
@@ -5,10 +5,88 @@ Dates are the registry `time` values for each version, not git commit dates —
|
|
|
5
5
|
when someone typed, a publish time records when a version became installable, and only the second
|
|
6
6
|
one is a promise to anyone installing it.
|
|
7
7
|
|
|
8
|
-
## 0.
|
|
8
|
+
## 0.4.1 — 2026-11-23
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
**A documentation release that exists because the front page was wrong.** No runtime change: `lib/`
|
|
11
|
+
and `src/engine/` are untouched, byte for byte, and the tarball's JavaScript is identical to 0.4.0's.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- The README opened with a "what's new in 0.2.0" block. A 0.4.0 package whose first line announced
|
|
15
|
+
0.2.0 is not a cosmetic problem -- it is the front page of the contract stating the wrong contract,
|
|
16
|
+
and it had already survived one release unnoticed because nothing was checking it.
|
|
17
|
+
- The README never mentioned the typed surface at all, while `types/index.d.ts` was the headline of
|
|
18
|
+
0.3.0 and got stronger in 0.4.0. New `## Typed surface` section, after Install.
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
- The release line at the top of every README names the version that actually ships, and a gate now
|
|
22
|
+
compares it to `package.json`. Staleness is a red gate instead of something a reader has to notice.
|
|
23
|
+
- A gate that the nine translated READMEs carry a byte-identical English body under their
|
|
24
|
+
"English canonical text follows" note. That identity is what makes the note true, and it was
|
|
25
|
+
silently breakable: a one-file edit to `README.md` left nine files claiming to reproduce a body
|
|
26
|
+
they no longer matched.
|
|
27
|
+
- `check-types.mjs` gained a phase that resolves the package **by name** out of a throwaway
|
|
28
|
+
`node_modules` in the OS temp dir, and requires the compiler to reject a deliberately wrong action
|
|
29
|
+
*by name*. The previous gate imported `../types/index.js` by relative path and never asked
|
|
30
|
+
`package.json` anything -- so deleting the `types` condition from `exports["."]` would have left
|
|
31
|
+
every gate green while every `nodenext` consumer broke with `TS7016`.
|
|
32
|
+
- A preflight assertion that both `types` and `exports["."].types` resolve to the shipped file and
|
|
33
|
+
that `files` includes `types/`. Measured: the two fields serve different resolvers and neither is
|
|
34
|
+
removable on the assumption that the other covers it.
|
|
35
|
+
|
|
36
|
+
### Notes
|
|
37
|
+
- Every new check was proven non-vacuous by injecting the fault it exists to catch: a stale release
|
|
38
|
+
line produced ten failures, one drifted line in a translation was reported with its exact line
|
|
39
|
+
number and both versions, a removed `types` condition turned the preflight red, and widening
|
|
40
|
+
`WpmAction` to `| string` silenced the instrument and turned the by-name phase red.
|
|
41
|
+
- `CHANGELOG.md` inside the 0.4.0 tarball cannot be changed retroactively; this is why the fixed
|
|
42
|
+
README reaches npm only from this version onward.
|
|
43
|
+
|
|
44
|
+
## 0.4.0 — 2026-11-23
|
|
45
|
+
|
|
46
|
+
> Published 2026-11-23T10:47:57.110Z (registry `time` for 0.4.0, read from the packument, not from a commit date).
|
|
47
|
+
|
|
48
|
+
**Nothing about the plugin changed; everything about proving it did.** 0.4.0 has no runtime change at
|
|
49
|
+
all -- the seven files under `lib/` differ from 0.3.0 by comments and JSDoc only, and that is verified
|
|
50
|
+
node by node against the previous revision (identical abstract syntax trees, 6739 nodes in `index.js`,
|
|
51
|
+
2625 in `engine.js`, 3154 in `proof-window.mjs`), not asserted in a commit message. What it adds is the
|
|
52
|
+
machinery that turns "this comment is true" into a gate instead of a promise.
|
|
53
|
+
|
|
54
|
+
### Added
|
|
55
|
+
- `tsconfig.checkjs.json` + `scripts/check-jsdoc.mjs`: the whole of `lib/` is checked under
|
|
56
|
+
`allowJs + checkJs + strict`. 107 errors before the annotations, 0 after. No new dependency: the
|
|
57
|
+
compiler is the workspace's own, and no `@types` path is written into a repo file -- it is derived
|
|
58
|
+
from where the compiler was found, so a machine without one gets a NAMED SKIP, never a red gate that
|
|
59
|
+
really means "this box lacks tsc".
|
|
60
|
+
- The hand-written `types/index.d.ts` is now the source of truth for the implementation as well: the
|
|
61
|
+
`lib/` annotations `import()` it, so renaming a field there turns `lib/index.js` red. Verified by
|
|
62
|
+
doing exactly that (2 errors) and reverting.
|
|
63
|
+
- `scripts/find-tsc.mjs`: the compiler search that `check-types.mjs` and `check-jsdoc.mjs` share, so the
|
|
64
|
+
two gates can never disagree about which compiler they tested against.
|
|
65
|
+
- `lib/peers-tools.js` and `lib/peers-schemastery.js` carry `// @ts-nocheck` with the reason written
|
|
66
|
+
down: they are the host-peer boundary, and a stub type there would assert a shape nobody verified.
|
|
67
|
+
|
|
68
|
+
### Fixed
|
|
69
|
+
- `test/uia-click-target.ps1` wrote an oracle BEFORE `ShowDialog()`, when `ActualWidth` is still 0 and
|
|
70
|
+
`PointToScreen` throws. The catch-all wrote `{-1,-1}` and the reader accepted the first parseable
|
|
71
|
+
snapshot, so on a loaded machine the arm reported four failures that looked like product defects.
|
|
72
|
+
The pre-show write is gone; the reader now only accepts a snapshot whose both centres are real.
|
|
73
|
+
- That same target came up with `Topmost="False"`, so it could sit BEHIND whatever held the foreground
|
|
74
|
+
and the engine's element probe correctly found a foreign window:
|
|
75
|
+
`unreachable ... the element under that point does not belong to the target window`. That refusal was
|
|
76
|
+
the product behaving properly -- a covered window SHOULD be refused -- and the harness was asserting
|
|
77
|
+
against a window it had never put on top. Fixed in the harness, not in the engine.
|
|
78
|
+
|
|
79
|
+
### Verification
|
|
80
|
+
- 16 gates, `GATE GREEN` on three consecutive runs.
|
|
81
|
+
- Desktop suites: hud 24/24, takeover 25/25, keyinject 11 with one named skip (host-managed terminal),
|
|
82
|
+
signal 6/6, overlay 16/16, marker 10/10.
|
|
83
|
+
- `uia-click-truth` 11 consecutive green runs after the two harness fixes; before them, 3 of 5 failed.
|
|
84
|
+
- Zero install dependencies unchanged: `dependencies` and `devDependencies` are still absent, and
|
|
85
|
+
`clone && install` still needs no toolchain.
|
|
86
|
+
|
|
87
|
+
## 0.3.0 — 2026-11-23
|
|
88
|
+
|
|
89
|
+
> Published 2026-11-23T09:21:29.737Z (registry `time` for 0.3.0, read from the packument, not from a commit date).
|
|
12
90
|
|
|
13
91
|
**Ten languages, and a typed public surface.** 0.2.0 was the capability release; 0.3.0 is the
|
|
14
92
|
reachability release. The documentation now ships in the ten DSH ecosystem languages
|
package/CHANGELOG.pt.md
CHANGED
|
@@ -8,7 +8,17 @@ Dates are the registry `time` values for each version, not git commit dates —
|
|
|
8
8
|
when someone typed, a publish time records when a version became installable, and only the second
|
|
9
9
|
one is a promise to anyone installing it.
|
|
10
10
|
|
|
11
|
-
## 0.
|
|
11
|
+
## 0.4.1 — 2026-11-23
|
|
12
|
+
|
|
13
|
+
> 0.4.1 é uma versão apenas de documentação e portões: sem mudanças em tempo de execução (`lib/`, `src/engine/` intactos byte a byte). Corrige o cabeçalho do README que ainda anunciava 0.2.0 e adiciona a secção sobre `types/index.d.ts`, que faltava por completo. Três portões novos: a linha de versão comparada com `package.json`, a identidade byte a byte do corpo inglês nas nove traduções, e um teste de consumidor que resolve pelo nome do pacote (o anterior usava apenas caminho relativo, pelo que remover a condição `types` deixava tudo verde). Veja a entrada em inglês.
|
|
14
|
+
|
|
15
|
+
## 0.4.0 — 2026-11-23
|
|
16
|
+
|
|
17
|
+
> Published 2026-11-23T10:47:57.110Z (registry `time` for 0.4.0, read from the packument, not from a commit date).
|
|
18
|
+
|
|
19
|
+
> Sem mudanças em tempo de execução: todo o trabalho torna verificável por máquina a afirmação «este comentário é verdadeiro». `lib/` totalmente anotado e verificado com checkJs (107 erros → 0), o `types/index.d.ts` escrito à mão passa a ser a única fonte de verdade no lado da implementação (alterá-lo fica vermelho), e a ausência de mudanças no código é provada nó a nó (ASTs idênticos). Corrigidas duas causas reais de instabilidade do banco de testes (corrida do oráculo pré-layout, janela alvo coberta). Sem novas dependências. Veja a entrada em inglês.
|
|
20
|
+
|
|
21
|
+
## 0.3.0 — 2026-11-23
|
|
12
22
|
|
|
13
23
|
> Dez idiomas e uma superfície pública tipada. Os documentos são publicados nos dez idiomas do ecossistema DSH, com o português como opção de primeiro nível ao lado do inglês. Dois casos de instalação: desktop (apenas pnpm integrado, nunca `dsh plugin add`) e não-desktop. Adicionado `types/index.d.ts`. Veja a entrada em inglês.
|
|
14
24
|
|
package/CHANGELOG.ru.md
CHANGED
|
@@ -8,7 +8,17 @@ Dates are the registry `time` values for each version, not git commit dates —
|
|
|
8
8
|
when someone typed, a publish time records when a version became installable, and only the second
|
|
9
9
|
one is a promise to anyone installing it.
|
|
10
10
|
|
|
11
|
-
## 0.
|
|
11
|
+
## 0.4.1 — 2026-11-23
|
|
12
|
+
|
|
13
|
+
> 0.4.1 — выпуск только документации и проверок, без изменений в рантайме (`lib/`, `src/engine/` побайтно не изменены). Исправлен заголовок README, который продолжал объявлять 0.2.0, и добавлен полностью отсутствовавший раздел о `types/index.d.ts`. Три новые проверки: строка версии сверяется с `package.json`, побайтное совпадение английского текста в девяти переводах, и потребительский тест, разрешающий пакет по имени (прежний использовал только относительный путь, поэтому удаление условия `types` оставляло всё зелёным). Подробнее — в английской записи.
|
|
14
|
+
|
|
15
|
+
## 0.4.0 — 2026-11-23
|
|
16
|
+
|
|
17
|
+
> Published 2026-11-23T10:47:57.110Z (registry `time` for 0.4.0, read from the packument, not from a commit date).
|
|
18
|
+
|
|
19
|
+
> Изменений в рантайме нет: вся работа делает утверждение «этот комментарий правдив» машинно проверяемым. Весь `lib/` размечен JSDoc и проверяется под checkJs (107 ошибок → 0), написанный вручную `types/index.d.ts` становится единственным источником истины на стороне реализации (правка в нём даёт красный), а неизменность кода доказана узел за узлом (идентичные AST). Исправлены две настоящие причины нестабильности тестового стенда (гонка вокруг pre-layout oracle, перекрытое целевое окно). Новых зависимостей нет. Подробнее — в английской записи.
|
|
20
|
+
|
|
21
|
+
## 0.3.0 — 2026-11-23
|
|
12
22
|
|
|
13
23
|
> Десять языков и типизированный публичный интерфейс. Документация выходит на десяти языках экосистемы DSH, русский — равноправный переключатель рядом с английским. Два варианта установки: desktop (только встроенный pnpm, никогда `dsh plugin add`) и не-desktop. Добавлен `types/index.d.ts`. Подробнее — в английской записи.
|
|
14
24
|
|
package/CHANGELOG.zh.md
CHANGED
|
@@ -8,7 +8,17 @@ Dates are the registry `time` values for each version, not git commit dates —
|
|
|
8
8
|
when someone typed, a publish time records when a version became installable, and only the second
|
|
9
9
|
one is a promise to anyone installing it.
|
|
10
10
|
|
|
11
|
-
## 0.
|
|
11
|
+
## 0.4.1 — 2026-11-23
|
|
12
|
+
|
|
13
|
+
> 0.4.1 是文档与门禁发布,运行时零改动(`lib/`、`src/engine/` 逐字节未动)。修掉 README 顶部仍宣告 0.2.0 的欠账、补上从未提及的 `types/index.d.ts` 章节,并新增三道门禁:发布行与 `package.json` 版本比对、九份译文的英文正文逐字节一致、以及按包名解析的消费者测试(此前门禁只按相对路径 import,删掉 `exports[""].types` 也能全绿)。详情见英文权威条目。
|
|
14
|
+
|
|
15
|
+
## 0.4.0 — 2026-11-23
|
|
16
|
+
|
|
17
|
+
> Published 2026-11-23T10:47:57.110Z (registry `time` for 0.4.0, read from the packument, not from a commit date).
|
|
18
|
+
|
|
19
|
+
> 没有运行时变更,全部工作用于让「注释是真的」可被机器验证。`lib/` 全量 JSDoc + checkJs(107 错 → 0),手写的 `types/index.d.ts` 成为实现侧唯一真源(改它就会红),并且代码未动是逐 AST 节点证明的而非声称的;另修掉测试夹具的两个不稳定真因(pre-layout oracle 竞态、目标窗口被遮挡)。未新增任何依赖。详情见英文权威条目。
|
|
20
|
+
|
|
21
|
+
## 0.3.0 — 2026-11-23
|
|
12
22
|
|
|
13
23
|
> 十种语言与类型化公开接口。文档现以 DSH 生态十语发布,中文为与英文并列的一等切换;安装明确为 desktop / 非desktop 两类(desktop 只能用内置 pnpm 手动补,禁 dsh plugin add);新增 types/index.d.ts 类型契约。详情见英文权威条目。
|
|
14
24
|
|
package/README.de.md
CHANGED
|
@@ -5,23 +5,21 @@
|
|
|
5
5
|
> Ein DSH-Plugin, mit dem ein Agent **seine eigenen** Windows-Fenster steuert — standardmäßig still, auf Anfrage sichtbar. Wenn ein Fenster Windows-Nachrichten akzeptiert, wird der Fokus nie entzogen. Wenn nur UI Automation es erreicht, gibt es einen einzigen begrenzten Fokus-Blitz, der automatisch rückgängig gemacht wird. Wenn Sie den Takeover-Modus ausdrücklich anfordern, bewegt sich der Cursor zum Aktionspunkt und wird immer wiederhergestellt; ein HUD bietet drei Möglichkeiten zum Abbruch. Überall anders wird mit Code und Grund abgelehnt.
|
|
6
6
|
|
|
7
7
|
> **English canonical text follows.** The localized summary above is the orientation; the text below is the authoritative specification (structure, commands and numbers are identical across all 10 languages).
|
|
8
|
-
> **0.
|
|
9
|
-
>
|
|
10
|
-
> with `takeoverAllowed` on and `takeover:true` on the call, the real cursor is moved to the action
|
|
11
|
-
> point (so you can see where the agent points) and always restored, the focus is held for the
|
|
12
|
-
> duration, and a three-phase HUD with a stop button and a global abort key is mandatory. Keyboard
|
|
13
|
-
> injection exists only inside that tier, only when asked (`keyInput:"inject"`), and only for
|
|
14
|
-
> targets with no other door — and, measured, it does **not** work on this host's terminal, so the
|
|
15
|
-
> terminal stays refused rather than becoming a promise. Both gates default off: an upgrade cannot
|
|
16
|
-
> start moving your cursor by itself. 0.1.6 split `unreachable` into `uia_tree_empty` and
|
|
17
|
-
> `uia_probe_failed`; 0.1.5 made a click act on the point it names; 0.1.3 added `effect=` — who
|
|
18
|
-
> reported the success — and let it enter the judgment. Full history: [CHANGELOG.md](CHANGELOG.md).
|
|
8
|
+
> **Current release: 0.4.1** — this document describes the contract as of that version. What
|
|
9
|
+
> changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
|
|
19
10
|
|
|
20
11
|
A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
|
|
21
12
|
on request. Where a window accepts a window message, you never lose focus at all. Where it only
|
|
22
13
|
exposes UI Automation, you lose focus for one bounded flash that is reversed automatically. Where you
|
|
23
14
|
explicitly ask for the takeover tier, the cursor moves to the point and is always restored, with a
|
|
24
|
-
HUD that can stop it three ways. Everywhere else it refuses, with a code and a reason
|
|
15
|
+
HUD that can stop it three ways. Everywhere else it refuses, with a code and a reason — never with
|
|
16
|
+
silence: every refusal carries a code from a closed set of thirteen and the next step.
|
|
17
|
+
|
|
18
|
+
**The takeover tier defaults off, and that is structural.** The cursor is only ever moved because you
|
|
19
|
+
opened `takeoverAllowed` **and** asked for it on the call (`takeover:true`), so an upgrade cannot
|
|
20
|
+
start moving your cursor by itself. Keyboard injection lives inside that tier only, only when asked
|
|
21
|
+
(`keyInput:"inject"`), and only for targets with no other door — and, measured, it does **not** work
|
|
22
|
+
on this host's terminal, so the terminal stays refused rather than becoming a promise.
|
|
25
23
|
|
|
26
24
|
Source, the measurement scripts behind every number below, and the release history live at
|
|
27
25
|
**<https://github.com/drscrewdriver/dsh-windows-parallel-mcp>** — issues are the right place for
|
|
@@ -188,6 +186,29 @@ call, not at plugin load.
|
|
|
188
186
|
`engines.dsh` is an explicit two-sided range. There is no runtime version probing and no silent
|
|
189
187
|
degradation.
|
|
190
188
|
|
|
189
|
+
## Typed surface
|
|
190
|
+
|
|
191
|
+
`types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
|
|
192
|
+
contract: the five actions, every argument including the takeover fields, and all thirteen refusal
|
|
193
|
+
codes as a closed union.
|
|
194
|
+
|
|
195
|
+
Its wiring is measured in both resolution modes a consumer can use, rather than assumed from the
|
|
196
|
+
presence of a file:
|
|
197
|
+
|
|
198
|
+
- a `nodenext` consumer resolves it through the `types` condition inside `exports`. That condition is
|
|
199
|
+
load-bearing: delete it and the same consumer fails with `TS7016`, because once `exports` exists it
|
|
200
|
+
is the only entry point and the legacy field below is never consulted;
|
|
201
|
+
- a classic resolver falls back to the top-level `types` field. Delete `exports` entirely and the
|
|
202
|
+
consumer still type-checks.
|
|
203
|
+
|
|
204
|
+
Neither field is decoration, so neither is removable on the assumption that the other covers it.
|
|
205
|
+
|
|
206
|
+
The declarations are also checked against the implementation, in the direction that catches drift:
|
|
207
|
+
`lib/` is type-checked under `allowJs + checkJs + strict` **against those same declarations**, so
|
|
208
|
+
renaming a field in one without the other fails a repo gate instead of a user's build. This stays
|
|
209
|
+
inside the package's zero-install-dependency promise — the compiler is borrowed from the workspace
|
|
210
|
+
when one is present, and the gate reports a named SKIP rather than a red when one is not.
|
|
211
|
+
|
|
191
212
|
## Settings
|
|
192
213
|
|
|
193
214
|
| key | default | effect |
|
package/README.es.md
CHANGED
|
@@ -5,23 +5,21 @@
|
|
|
5
5
|
> Un plugin DSH que permite a un agente controlar **sus propias** ventanas de Windows — silencioso por defecto, visible cuando se pide. Cuando una ventana acepta mensajes de Windows, el foco nunca se pierde. Cuando solo UI Automation puede alcanzarla, el foco sufre un único destello acotado que se revierte automáticamente. Cuando pides explícitamente el modo takeover, el cursor se mueve al punto de acción y siempre se restaura, con un HUD que ofrece tres formas de interrumpir. En cualquier otro caso, rechaza con un código y una razón.
|
|
6
6
|
|
|
7
7
|
> **English canonical text follows.** The localized summary above is the orientation; the text below is the authoritative specification (structure, commands and numbers are identical across all 10 languages).
|
|
8
|
-
> **0.
|
|
9
|
-
>
|
|
10
|
-
> with `takeoverAllowed` on and `takeover:true` on the call, the real cursor is moved to the action
|
|
11
|
-
> point (so you can see where the agent points) and always restored, the focus is held for the
|
|
12
|
-
> duration, and a three-phase HUD with a stop button and a global abort key is mandatory. Keyboard
|
|
13
|
-
> injection exists only inside that tier, only when asked (`keyInput:"inject"`), and only for
|
|
14
|
-
> targets with no other door — and, measured, it does **not** work on this host's terminal, so the
|
|
15
|
-
> terminal stays refused rather than becoming a promise. Both gates default off: an upgrade cannot
|
|
16
|
-
> start moving your cursor by itself. 0.1.6 split `unreachable` into `uia_tree_empty` and
|
|
17
|
-
> `uia_probe_failed`; 0.1.5 made a click act on the point it names; 0.1.3 added `effect=` — who
|
|
18
|
-
> reported the success — and let it enter the judgment. Full history: [CHANGELOG.md](CHANGELOG.md).
|
|
8
|
+
> **Current release: 0.4.1** — this document describes the contract as of that version. What
|
|
9
|
+
> changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
|
|
19
10
|
|
|
20
11
|
A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
|
|
21
12
|
on request. Where a window accepts a window message, you never lose focus at all. Where it only
|
|
22
13
|
exposes UI Automation, you lose focus for one bounded flash that is reversed automatically. Where you
|
|
23
14
|
explicitly ask for the takeover tier, the cursor moves to the point and is always restored, with a
|
|
24
|
-
HUD that can stop it three ways. Everywhere else it refuses, with a code and a reason
|
|
15
|
+
HUD that can stop it three ways. Everywhere else it refuses, with a code and a reason — never with
|
|
16
|
+
silence: every refusal carries a code from a closed set of thirteen and the next step.
|
|
17
|
+
|
|
18
|
+
**The takeover tier defaults off, and that is structural.** The cursor is only ever moved because you
|
|
19
|
+
opened `takeoverAllowed` **and** asked for it on the call (`takeover:true`), so an upgrade cannot
|
|
20
|
+
start moving your cursor by itself. Keyboard injection lives inside that tier only, only when asked
|
|
21
|
+
(`keyInput:"inject"`), and only for targets with no other door — and, measured, it does **not** work
|
|
22
|
+
on this host's terminal, so the terminal stays refused rather than becoming a promise.
|
|
25
23
|
|
|
26
24
|
Source, the measurement scripts behind every number below, and the release history live at
|
|
27
25
|
**<https://github.com/drscrewdriver/dsh-windows-parallel-mcp>** — issues are the right place for
|
|
@@ -188,6 +186,29 @@ call, not at plugin load.
|
|
|
188
186
|
`engines.dsh` is an explicit two-sided range. There is no runtime version probing and no silent
|
|
189
187
|
degradation.
|
|
190
188
|
|
|
189
|
+
## Typed surface
|
|
190
|
+
|
|
191
|
+
`types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
|
|
192
|
+
contract: the five actions, every argument including the takeover fields, and all thirteen refusal
|
|
193
|
+
codes as a closed union.
|
|
194
|
+
|
|
195
|
+
Its wiring is measured in both resolution modes a consumer can use, rather than assumed from the
|
|
196
|
+
presence of a file:
|
|
197
|
+
|
|
198
|
+
- a `nodenext` consumer resolves it through the `types` condition inside `exports`. That condition is
|
|
199
|
+
load-bearing: delete it and the same consumer fails with `TS7016`, because once `exports` exists it
|
|
200
|
+
is the only entry point and the legacy field below is never consulted;
|
|
201
|
+
- a classic resolver falls back to the top-level `types` field. Delete `exports` entirely and the
|
|
202
|
+
consumer still type-checks.
|
|
203
|
+
|
|
204
|
+
Neither field is decoration, so neither is removable on the assumption that the other covers it.
|
|
205
|
+
|
|
206
|
+
The declarations are also checked against the implementation, in the direction that catches drift:
|
|
207
|
+
`lib/` is type-checked under `allowJs + checkJs + strict` **against those same declarations**, so
|
|
208
|
+
renaming a field in one without the other fails a repo gate instead of a user's build. This stays
|
|
209
|
+
inside the package's zero-install-dependency promise — the compiler is borrowed from the workspace
|
|
210
|
+
when one is present, and the gate reports a named SKIP rather than a red when one is not.
|
|
211
|
+
|
|
191
212
|
## Settings
|
|
192
213
|
|
|
193
214
|
| key | default | effect |
|
package/README.fr.md
CHANGED
|
@@ -5,23 +5,21 @@
|
|
|
5
5
|
> Un plugin DSH qui laisse un agent piloter **ses propres** fenêtres Windows — discrètement par défaut, visiblement sur demande. Quand une fenêtre accepte un message Windows, le focus n'est jamais volé. Quand seule l'UI Automation peut l'atteindre, le focus connaît un seul flash borné, automatiquement réversible. Quand vous demandez explicitement le mode takeover, le curseur se déplace vers le point d'action et est toujours restauré, avec un HUD offrant trois façons d'interrompre. Partout ailleurs, le plugin refuse avec un code et une raison.
|
|
6
6
|
|
|
7
7
|
> **English canonical text follows.** The localized summary above is the orientation; the text below is the authoritative specification (structure, commands and numbers are identical across all 10 languages).
|
|
8
|
-
> **0.
|
|
9
|
-
>
|
|
10
|
-
> with `takeoverAllowed` on and `takeover:true` on the call, the real cursor is moved to the action
|
|
11
|
-
> point (so you can see where the agent points) and always restored, the focus is held for the
|
|
12
|
-
> duration, and a three-phase HUD with a stop button and a global abort key is mandatory. Keyboard
|
|
13
|
-
> injection exists only inside that tier, only when asked (`keyInput:"inject"`), and only for
|
|
14
|
-
> targets with no other door — and, measured, it does **not** work on this host's terminal, so the
|
|
15
|
-
> terminal stays refused rather than becoming a promise. Both gates default off: an upgrade cannot
|
|
16
|
-
> start moving your cursor by itself. 0.1.6 split `unreachable` into `uia_tree_empty` and
|
|
17
|
-
> `uia_probe_failed`; 0.1.5 made a click act on the point it names; 0.1.3 added `effect=` — who
|
|
18
|
-
> reported the success — and let it enter the judgment. Full history: [CHANGELOG.md](CHANGELOG.md).
|
|
8
|
+
> **Current release: 0.4.1** — this document describes the contract as of that version. What
|
|
9
|
+
> changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
|
|
19
10
|
|
|
20
11
|
A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
|
|
21
12
|
on request. Where a window accepts a window message, you never lose focus at all. Where it only
|
|
22
13
|
exposes UI Automation, you lose focus for one bounded flash that is reversed automatically. Where you
|
|
23
14
|
explicitly ask for the takeover tier, the cursor moves to the point and is always restored, with a
|
|
24
|
-
HUD that can stop it three ways. Everywhere else it refuses, with a code and a reason
|
|
15
|
+
HUD that can stop it three ways. Everywhere else it refuses, with a code and a reason — never with
|
|
16
|
+
silence: every refusal carries a code from a closed set of thirteen and the next step.
|
|
17
|
+
|
|
18
|
+
**The takeover tier defaults off, and that is structural.** The cursor is only ever moved because you
|
|
19
|
+
opened `takeoverAllowed` **and** asked for it on the call (`takeover:true`), so an upgrade cannot
|
|
20
|
+
start moving your cursor by itself. Keyboard injection lives inside that tier only, only when asked
|
|
21
|
+
(`keyInput:"inject"`), and only for targets with no other door — and, measured, it does **not** work
|
|
22
|
+
on this host's terminal, so the terminal stays refused rather than becoming a promise.
|
|
25
23
|
|
|
26
24
|
Source, the measurement scripts behind every number below, and the release history live at
|
|
27
25
|
**<https://github.com/drscrewdriver/dsh-windows-parallel-mcp>** — issues are the right place for
|
|
@@ -188,6 +186,29 @@ call, not at plugin load.
|
|
|
188
186
|
`engines.dsh` is an explicit two-sided range. There is no runtime version probing and no silent
|
|
189
187
|
degradation.
|
|
190
188
|
|
|
189
|
+
## Typed surface
|
|
190
|
+
|
|
191
|
+
`types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
|
|
192
|
+
contract: the five actions, every argument including the takeover fields, and all thirteen refusal
|
|
193
|
+
codes as a closed union.
|
|
194
|
+
|
|
195
|
+
Its wiring is measured in both resolution modes a consumer can use, rather than assumed from the
|
|
196
|
+
presence of a file:
|
|
197
|
+
|
|
198
|
+
- a `nodenext` consumer resolves it through the `types` condition inside `exports`. That condition is
|
|
199
|
+
load-bearing: delete it and the same consumer fails with `TS7016`, because once `exports` exists it
|
|
200
|
+
is the only entry point and the legacy field below is never consulted;
|
|
201
|
+
- a classic resolver falls back to the top-level `types` field. Delete `exports` entirely and the
|
|
202
|
+
consumer still type-checks.
|
|
203
|
+
|
|
204
|
+
Neither field is decoration, so neither is removable on the assumption that the other covers it.
|
|
205
|
+
|
|
206
|
+
The declarations are also checked against the implementation, in the direction that catches drift:
|
|
207
|
+
`lib/` is type-checked under `allowJs + checkJs + strict` **against those same declarations**, so
|
|
208
|
+
renaming a field in one without the other fails a repo gate instead of a user's build. This stays
|
|
209
|
+
inside the package's zero-install-dependency promise — the compiler is borrowed from the workspace
|
|
210
|
+
when one is present, and the gate reports a named SKIP rather than a red when one is not.
|
|
211
|
+
|
|
191
212
|
## Settings
|
|
192
213
|
|
|
193
214
|
| key | default | effect |
|
package/README.it.md
CHANGED
|
@@ -5,23 +5,21 @@
|
|
|
5
5
|
> Un plugin DSH che consente a un agente di pilotare **le proprie** finestre Windows — silenzioso per impostazione predefinita, visibile su richiesta. Quando una finestra accetta un messaggio Windows, il focus non viene mai sottratto. Quando solo UI Automation può raggiungerla, il focus subisce un solo lampo limitato e viene ripristinato automaticamente. Quando richiedi esplicitamente la modalità takeover, il cursore si sposta sul punto di azione e viene sempre ripristinato, con un HUD che offre tre modi per interrompere. In tutti gli altri casi rifiuta con un codice e una ragione.
|
|
6
6
|
|
|
7
7
|
> **English canonical text follows.** The localized summary above is the orientation; the text below is the authoritative specification (structure, commands and numbers are identical across all 10 languages).
|
|
8
|
-
> **0.
|
|
9
|
-
>
|
|
10
|
-
> with `takeoverAllowed` on and `takeover:true` on the call, the real cursor is moved to the action
|
|
11
|
-
> point (so you can see where the agent points) and always restored, the focus is held for the
|
|
12
|
-
> duration, and a three-phase HUD with a stop button and a global abort key is mandatory. Keyboard
|
|
13
|
-
> injection exists only inside that tier, only when asked (`keyInput:"inject"`), and only for
|
|
14
|
-
> targets with no other door — and, measured, it does **not** work on this host's terminal, so the
|
|
15
|
-
> terminal stays refused rather than becoming a promise. Both gates default off: an upgrade cannot
|
|
16
|
-
> start moving your cursor by itself. 0.1.6 split `unreachable` into `uia_tree_empty` and
|
|
17
|
-
> `uia_probe_failed`; 0.1.5 made a click act on the point it names; 0.1.3 added `effect=` — who
|
|
18
|
-
> reported the success — and let it enter the judgment. Full history: [CHANGELOG.md](CHANGELOG.md).
|
|
8
|
+
> **Current release: 0.4.1** — this document describes the contract as of that version. What
|
|
9
|
+
> changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
|
|
19
10
|
|
|
20
11
|
A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
|
|
21
12
|
on request. Where a window accepts a window message, you never lose focus at all. Where it only
|
|
22
13
|
exposes UI Automation, you lose focus for one bounded flash that is reversed automatically. Where you
|
|
23
14
|
explicitly ask for the takeover tier, the cursor moves to the point and is always restored, with a
|
|
24
|
-
HUD that can stop it three ways. Everywhere else it refuses, with a code and a reason
|
|
15
|
+
HUD that can stop it three ways. Everywhere else it refuses, with a code and a reason — never with
|
|
16
|
+
silence: every refusal carries a code from a closed set of thirteen and the next step.
|
|
17
|
+
|
|
18
|
+
**The takeover tier defaults off, and that is structural.** The cursor is only ever moved because you
|
|
19
|
+
opened `takeoverAllowed` **and** asked for it on the call (`takeover:true`), so an upgrade cannot
|
|
20
|
+
start moving your cursor by itself. Keyboard injection lives inside that tier only, only when asked
|
|
21
|
+
(`keyInput:"inject"`), and only for targets with no other door — and, measured, it does **not** work
|
|
22
|
+
on this host's terminal, so the terminal stays refused rather than becoming a promise.
|
|
25
23
|
|
|
26
24
|
Source, the measurement scripts behind every number below, and the release history live at
|
|
27
25
|
**<https://github.com/drscrewdriver/dsh-windows-parallel-mcp>** — issues are the right place for
|
|
@@ -188,6 +186,29 @@ call, not at plugin load.
|
|
|
188
186
|
`engines.dsh` is an explicit two-sided range. There is no runtime version probing and no silent
|
|
189
187
|
degradation.
|
|
190
188
|
|
|
189
|
+
## Typed surface
|
|
190
|
+
|
|
191
|
+
`types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
|
|
192
|
+
contract: the five actions, every argument including the takeover fields, and all thirteen refusal
|
|
193
|
+
codes as a closed union.
|
|
194
|
+
|
|
195
|
+
Its wiring is measured in both resolution modes a consumer can use, rather than assumed from the
|
|
196
|
+
presence of a file:
|
|
197
|
+
|
|
198
|
+
- a `nodenext` consumer resolves it through the `types` condition inside `exports`. That condition is
|
|
199
|
+
load-bearing: delete it and the same consumer fails with `TS7016`, because once `exports` exists it
|
|
200
|
+
is the only entry point and the legacy field below is never consulted;
|
|
201
|
+
- a classic resolver falls back to the top-level `types` field. Delete `exports` entirely and the
|
|
202
|
+
consumer still type-checks.
|
|
203
|
+
|
|
204
|
+
Neither field is decoration, so neither is removable on the assumption that the other covers it.
|
|
205
|
+
|
|
206
|
+
The declarations are also checked against the implementation, in the direction that catches drift:
|
|
207
|
+
`lib/` is type-checked under `allowJs + checkJs + strict` **against those same declarations**, so
|
|
208
|
+
renaming a field in one without the other fails a repo gate instead of a user's build. This stays
|
|
209
|
+
inside the package's zero-install-dependency promise — the compiler is borrowed from the workspace
|
|
210
|
+
when one is present, and the gate reports a named SKIP rather than a red when one is not.
|
|
211
|
+
|
|
191
212
|
## Settings
|
|
192
213
|
|
|
193
214
|
| key | default | effect |
|
package/README.ja.md
CHANGED
|
@@ -5,23 +5,21 @@
|
|
|
5
5
|
> エージェントが**自分の** Windows ウィンドウを操作するための DSH プラグインです。既定では静默、要求があれば可視化します。ウィンドウがウィンドウメッセージを受け付ける場合、フォーカスは一切奪われません。UI Automation 経由でしか届かない場合、フォーカスは一度だけ有界なフラッシュで移り自動で戻ります。明示的にテイクオーバーを要求した場合、カーソルは操作点へ移動し常に復元され、HUD が三つの中断手段を提供します。それ以外はコードと理由を添えて拒否します。
|
|
6
6
|
|
|
7
7
|
> **English canonical text follows.** The localized summary above is the orientation; the text below is the authoritative specification (structure, commands and numbers are identical across all 10 languages).
|
|
8
|
-
> **0.
|
|
9
|
-
>
|
|
10
|
-
> with `takeoverAllowed` on and `takeover:true` on the call, the real cursor is moved to the action
|
|
11
|
-
> point (so you can see where the agent points) and always restored, the focus is held for the
|
|
12
|
-
> duration, and a three-phase HUD with a stop button and a global abort key is mandatory. Keyboard
|
|
13
|
-
> injection exists only inside that tier, only when asked (`keyInput:"inject"`), and only for
|
|
14
|
-
> targets with no other door — and, measured, it does **not** work on this host's terminal, so the
|
|
15
|
-
> terminal stays refused rather than becoming a promise. Both gates default off: an upgrade cannot
|
|
16
|
-
> start moving your cursor by itself. 0.1.6 split `unreachable` into `uia_tree_empty` and
|
|
17
|
-
> `uia_probe_failed`; 0.1.5 made a click act on the point it names; 0.1.3 added `effect=` — who
|
|
18
|
-
> reported the success — and let it enter the judgment. Full history: [CHANGELOG.md](CHANGELOG.md).
|
|
8
|
+
> **Current release: 0.4.1** — this document describes the contract as of that version. What
|
|
9
|
+
> changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
|
|
19
10
|
|
|
20
11
|
A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
|
|
21
12
|
on request. Where a window accepts a window message, you never lose focus at all. Where it only
|
|
22
13
|
exposes UI Automation, you lose focus for one bounded flash that is reversed automatically. Where you
|
|
23
14
|
explicitly ask for the takeover tier, the cursor moves to the point and is always restored, with a
|
|
24
|
-
HUD that can stop it three ways. Everywhere else it refuses, with a code and a reason
|
|
15
|
+
HUD that can stop it three ways. Everywhere else it refuses, with a code and a reason — never with
|
|
16
|
+
silence: every refusal carries a code from a closed set of thirteen and the next step.
|
|
17
|
+
|
|
18
|
+
**The takeover tier defaults off, and that is structural.** The cursor is only ever moved because you
|
|
19
|
+
opened `takeoverAllowed` **and** asked for it on the call (`takeover:true`), so an upgrade cannot
|
|
20
|
+
start moving your cursor by itself. Keyboard injection lives inside that tier only, only when asked
|
|
21
|
+
(`keyInput:"inject"`), and only for targets with no other door — and, measured, it does **not** work
|
|
22
|
+
on this host's terminal, so the terminal stays refused rather than becoming a promise.
|
|
25
23
|
|
|
26
24
|
Source, the measurement scripts behind every number below, and the release history live at
|
|
27
25
|
**<https://github.com/drscrewdriver/dsh-windows-parallel-mcp>** — issues are the right place for
|
|
@@ -188,6 +186,29 @@ call, not at plugin load.
|
|
|
188
186
|
`engines.dsh` is an explicit two-sided range. There is no runtime version probing and no silent
|
|
189
187
|
degradation.
|
|
190
188
|
|
|
189
|
+
## Typed surface
|
|
190
|
+
|
|
191
|
+
`types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
|
|
192
|
+
contract: the five actions, every argument including the takeover fields, and all thirteen refusal
|
|
193
|
+
codes as a closed union.
|
|
194
|
+
|
|
195
|
+
Its wiring is measured in both resolution modes a consumer can use, rather than assumed from the
|
|
196
|
+
presence of a file:
|
|
197
|
+
|
|
198
|
+
- a `nodenext` consumer resolves it through the `types` condition inside `exports`. That condition is
|
|
199
|
+
load-bearing: delete it and the same consumer fails with `TS7016`, because once `exports` exists it
|
|
200
|
+
is the only entry point and the legacy field below is never consulted;
|
|
201
|
+
- a classic resolver falls back to the top-level `types` field. Delete `exports` entirely and the
|
|
202
|
+
consumer still type-checks.
|
|
203
|
+
|
|
204
|
+
Neither field is decoration, so neither is removable on the assumption that the other covers it.
|
|
205
|
+
|
|
206
|
+
The declarations are also checked against the implementation, in the direction that catches drift:
|
|
207
|
+
`lib/` is type-checked under `allowJs + checkJs + strict` **against those same declarations**, so
|
|
208
|
+
renaming a field in one without the other fails a repo gate instead of a user's build. This stays
|
|
209
|
+
inside the package's zero-install-dependency promise — the compiler is borrowed from the workspace
|
|
210
|
+
when one is present, and the gate reports a named SKIP rather than a red when one is not.
|
|
211
|
+
|
|
191
212
|
## Settings
|
|
192
213
|
|
|
193
214
|
| key | default | effect |
|