dsh-windows-parallel-mcp 0.4.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 CHANGED
@@ -8,8 +8,14 @@ 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.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
+
11
15
  ## 0.4.0 — 2026-11-23
12
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
+
13
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.
14
20
 
15
21
  ## 0.3.0 — 2026-11-23
package/CHANGELOG.es.md CHANGED
@@ -8,8 +8,14 @@ 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.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
+
11
15
  ## 0.4.0 — 2026-11-23
12
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
+
13
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.
14
20
 
15
21
  ## 0.3.0 — 2026-11-23
package/CHANGELOG.fr.md CHANGED
@@ -8,8 +8,14 @@ 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.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
+
11
15
  ## 0.4.0 — 2026-11-23
12
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
+
13
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.
14
20
 
15
21
  ## 0.3.0 — 2026-11-23
package/CHANGELOG.it.md CHANGED
@@ -8,8 +8,14 @@ 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.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
+
11
15
  ## 0.4.0 — 2026-11-23
12
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
+
13
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.
14
20
 
15
21
  ## 0.3.0 — 2026-11-23
package/CHANGELOG.ja.md CHANGED
@@ -8,8 +8,14 @@ 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.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
+
11
15
  ## 0.4.0 — 2026-11-23
12
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
+
13
19
  > 実行時の変更はゼロ。作業のすべては「このコメントは正しい」を機械で検証可能にすることに使われました。`lib/` 全体を JSDoc + checkJs で検査(107 エラー → 0)、手書きの `types/index.d.ts` が実装側の唯一の真実源になり(変更すれば赤くなる)、コード未変更は AST のノード単位比較で証明。テスト側の不安定要因2件(pre-layout oracle 競合、対象ウィンドウの遮蔽)も修正。新しい依存はゼロ。詳細は英語版参照。
14
20
 
15
21
  ## 0.3.0 — 2026-11-23
package/CHANGELOG.ko.md CHANGED
@@ -8,8 +8,14 @@ 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.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
+
11
15
  ## 0.4.0 — 2026-11-23
12
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
+
13
19
  > 런타임 변경은 없습니다. 모든 작업은 "이 주석은 사실이다"를 기계가 검증할 수 있게 만드는 데 쓰였습니다. `lib/` 전체를 JSDoc + checkJs로 검사(107 오류 → 0), 수기 `types/index.d.ts`가 구현 측 단일 진실 원천이 되고(바꾸면 빨개짐), 코드 미변경은 AST 노드 단위 비교로 증명. 테스트 불안정 원인 2건(pre-layout oracle 경합, 대상 창 가림)도 수정. 새 의존성 없음. 자세한 내용은 영문 항목 참조.
14
20
 
15
21
  ## 0.3.0 — 2026-11-23
package/CHANGELOG.md CHANGED
@@ -5,8 +5,46 @@ 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.4.1 — 2026-11-23
9
+
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
+
8
44
  ## 0.4.0 — 2026-11-23
9
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
+
10
48
  **Nothing about the plugin changed; everything about proving it did.** 0.4.0 has no runtime change at
11
49
  all -- the seven files under `lib/` differ from 0.3.0 by comments and JSDoc only, and that is verified
12
50
  node by node against the previous revision (identical abstract syntax trees, 6739 nodes in `index.js`,
package/CHANGELOG.pt.md CHANGED
@@ -8,8 +8,14 @@ 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.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
+
11
15
  ## 0.4.0 — 2026-11-23
12
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
+
13
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.
14
20
 
15
21
  ## 0.3.0 — 2026-11-23
package/CHANGELOG.ru.md CHANGED
@@ -8,8 +8,14 @@ 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.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
+
11
15
  ## 0.4.0 — 2026-11-23
12
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
+
13
19
  > Изменений в рантайме нет: вся работа делает утверждение «этот комментарий правдив» машинно проверяемым. Весь `lib/` размечен JSDoc и проверяется под checkJs (107 ошибок → 0), написанный вручную `types/index.d.ts` становится единственным источником истины на стороне реализации (правка в нём даёт красный), а неизменность кода доказана узел за узлом (идентичные AST). Исправлены две настоящие причины нестабильности тестового стенда (гонка вокруг pre-layout oracle, перекрытое целевое окно). Новых зависимостей нет. Подробнее — в английской записи.
14
20
 
15
21
  ## 0.3.0 — 2026-11-23
package/CHANGELOG.zh.md CHANGED
@@ -8,8 +8,14 @@ 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.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
+
11
15
  ## 0.4.0 — 2026-11-23
12
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
+
13
19
  > 没有运行时变更,全部工作用于让「注释是真的」可被机器验证。`lib/` 全量 JSDoc + checkJs(107 错 → 0),手写的 `types/index.d.ts` 成为实现侧唯一真源(改它就会红),并且代码未动是逐 AST 节点证明的而非声称的;另修掉测试夹具的两个不稳定真因(pre-layout oracle 竞态、目标窗口被遮挡)。未新增任何依赖。详情见英文权威条目。
14
20
 
15
21
  ## 0.3.0 — 2026-11-23
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.2.0 — the promise changes shape, deliberately.** Through 0.1.x this plugin's claim was "no
9
- > physical input at all". 0.2.0 keeps that as the **default** and adds an **opt-in takeover tier**:
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.2.0 — the promise changes shape, deliberately.** Through 0.1.x this plugin's claim was "no
9
- > physical input at all". 0.2.0 keeps that as the **default** and adds an **opt-in takeover tier**:
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.2.0 — the promise changes shape, deliberately.** Through 0.1.x this plugin's claim was "no
9
- > physical input at all". 0.2.0 keeps that as the **default** and adds an **opt-in takeover tier**:
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.2.0 — the promise changes shape, deliberately.** Through 0.1.x this plugin's claim was "no
9
- > physical input at all". 0.2.0 keeps that as the **default** and adds an **opt-in takeover tier**:
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.2.0 — the promise changes shape, deliberately.** Through 0.1.x this plugin's claim was "no
9
- > physical input at all". 0.2.0 keeps that as the **default** and adds an **opt-in takeover tier**:
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.ko.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.2.0 — the promise changes shape, deliberately.** Through 0.1.x this plugin's claim was "no
9
- > physical input at all". 0.2.0 keeps that as the **default** and adds an **opt-in takeover tier**:
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.md CHANGED
@@ -1,23 +1,21 @@
1
1
  # dsh-windows-parallel-mcp
2
2
 
3
3
  **English** · [中文](README.zh.md) · [日本語](README.ja.md) · [한국어](README.ko.md) · [Français](README.fr.md) · [Deutsch](README.de.md) · [Italiano](README.it.md) · [Español](README.es.md) · [Português](README.pt.md) · [Русский](README.ru.md)
4
- > **0.2.0 — the promise changes shape, deliberately.** Through 0.1.x this plugin's claim was "no
5
- > physical input at all". 0.2.0 keeps that as the **default** and adds an **opt-in takeover tier**:
6
- > with `takeoverAllowed` on and `takeover:true` on the call, the real cursor is moved to the action
7
- > point (so you can see where the agent points) and always restored, the focus is held for the
8
- > duration, and a three-phase HUD with a stop button and a global abort key is mandatory. Keyboard
9
- > injection exists only inside that tier, only when asked (`keyInput:"inject"`), and only for
10
- > targets with no other door — and, measured, it does **not** work on this host's terminal, so the
11
- > terminal stays refused rather than becoming a promise. Both gates default off: an upgrade cannot
12
- > start moving your cursor by itself. 0.1.6 split `unreachable` into `uia_tree_empty` and
13
- > `uia_probe_failed`; 0.1.5 made a click act on the point it names; 0.1.3 added `effect=` — who
14
- > reported the success — and let it enter the judgment. Full history: [CHANGELOG.md](CHANGELOG.md).
4
+ > **Current release: 0.4.1** — this document describes the contract as of that version. What
5
+ > changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
15
6
 
16
7
  A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
17
8
  on request. Where a window accepts a window message, you never lose focus at all. Where it only
18
9
  exposes UI Automation, you lose focus for one bounded flash that is reversed automatically. Where you
19
10
  explicitly ask for the takeover tier, the cursor moves to the point and is always restored, with a
20
- HUD that can stop it three ways. Everywhere else it refuses, with a code and a reason.
11
+ HUD that can stop it three ways. Everywhere else it refuses, with a code and a reason — never with
12
+ silence: every refusal carries a code from a closed set of thirteen and the next step.
13
+
14
+ **The takeover tier defaults off, and that is structural.** The cursor is only ever moved because you
15
+ opened `takeoverAllowed` **and** asked for it on the call (`takeover:true`), so an upgrade cannot
16
+ start moving your cursor by itself. Keyboard injection lives inside that tier only, only when asked
17
+ (`keyInput:"inject"`), and only for targets with no other door — and, measured, it does **not** work
18
+ on this host's terminal, so the terminal stays refused rather than becoming a promise.
21
19
 
22
20
  Source, the measurement scripts behind every number below, and the release history live at
23
21
  **<https://github.com/drscrewdriver/dsh-windows-parallel-mcp>** — issues are the right place for
@@ -184,6 +182,29 @@ call, not at plugin load.
184
182
  `engines.dsh` is an explicit two-sided range. There is no runtime version probing and no silent
185
183
  degradation.
186
184
 
185
+ ## Typed surface
186
+
187
+ `types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
188
+ contract: the five actions, every argument including the takeover fields, and all thirteen refusal
189
+ codes as a closed union.
190
+
191
+ Its wiring is measured in both resolution modes a consumer can use, rather than assumed from the
192
+ presence of a file:
193
+
194
+ - a `nodenext` consumer resolves it through the `types` condition inside `exports`. That condition is
195
+ load-bearing: delete it and the same consumer fails with `TS7016`, because once `exports` exists it
196
+ is the only entry point and the legacy field below is never consulted;
197
+ - a classic resolver falls back to the top-level `types` field. Delete `exports` entirely and the
198
+ consumer still type-checks.
199
+
200
+ Neither field is decoration, so neither is removable on the assumption that the other covers it.
201
+
202
+ The declarations are also checked against the implementation, in the direction that catches drift:
203
+ `lib/` is type-checked under `allowJs + checkJs + strict` **against those same declarations**, so
204
+ renaming a field in one without the other fails a repo gate instead of a user's build. This stays
205
+ inside the package's zero-install-dependency promise — the compiler is borrowed from the workspace
206
+ when one is present, and the gate reports a named SKIP rather than a red when one is not.
207
+
187
208
  ## Settings
188
209
 
189
210
  | key | default | effect |
package/README.pt.md CHANGED
@@ -5,23 +5,21 @@
5
5
  > Um plugin DSH que permite a um agente controlar **as suas próprias** janelas Windows — silencioso por padrão, visível sob demanda. Quando uma janela aceita mensagens do Windows, o foco nunca é roubado. Quando apenas a Automação de UI a alcança, o foco sofre um único lampejo limitado, revertido automaticamente. Quando você solicita explicitamente o modo takeover, o cursor move-se para o ponto de ação e é sempre restaurado, com um HUD que oferece três formas de interrupção. Em todos os outros casos, recusa com um código e um motivo.
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.2.0 — the promise changes shape, deliberately.** Through 0.1.x this plugin's claim was "no
9
- > physical input at all". 0.2.0 keeps that as the **default** and adds an **opt-in takeover tier**:
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.ru.md CHANGED
@@ -5,23 +5,21 @@
5
5
  > Плагин DSH, позволяющий агенту управлять **своими** окнами Windows — по умолчанию тихо, по запросу видимо. Когда окно принимает сообщения Windows, фокус никогда не перехватывается. Когда доступен только UI Automation, фокус претерпевает одну ограниченную вспышку и автоматически возвращается. При явном запросе режима takeover курсор перемещается в точку действия и всегда восстанавливается, а 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.2.0 — the promise changes shape, deliberately.** Through 0.1.x this plugin's claim was "no
9
- > physical input at all". 0.2.0 keeps that as the **default** and adds an **opt-in takeover tier**:
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.zh.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.2.0 — the promise changes shape, deliberately.** Through 0.1.x this plugin's claim was "no
9
- > physical input at all". 0.2.0 keeps that as the **default** and adds an **opt-in takeover tier**:
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-windows-parallel-mcp",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "tag": "latest",