dsh-windows-parallel-mcp 0.8.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.de.md CHANGED
@@ -8,9 +8,21 @@ 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.8.0 — 2026-11-23
11
+ ## 0.8.2 — 2026-11-24
12
12
 
13
- > Published <REGISTRY-TIME> (registry `time` for 0.8.0, read from the packument, not from a commit date).
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.8.2, read from the packument, not from a commit date).
14
+
15
+ > 0.8.2 ändert einen Ablehnungssatz -- und dessen Wurzel auf der Testseite. Wenn der Punkt tatsächlich in einem Kindfenster des Ziels liegt, aber von einem anderen Fenster überdeckt wird, antwortete die Engine bisher „unter diesem Punkt liegt kein Kindfenster des Ziels“: zwei verschiedene Sachverhalte, ein Satz. Kein Ablehnungscode ändert sich (weiterhin siebzehn); der zweite Fall nennt jetzt die Klasse des überdeckenden Fensters und den einzigen hilfreichen nächsten Schritt (Ziel nach vorn holen). Das ist gemessen, nicht vermutet: Legt man den Browser des Besitzers über ein WinForms-Ziel (Ziel visible=true, das Rechteck seiner Schaltfläche enthält den Punkt) und schickt WM_LBUTTONDOWN/UP an diese Schaltfläche, kommt ok zurück und die Anwendung führt ihren Handler nie aus -- die Beschriftung bleibt Press, focusTaken=false. Ein Nachrichten-Klick braucht in diesem Toolkit die Mausaufzeichnung, und ein überdecktes Fenster bekommt sie nicht. Der zuerst versuchte Fix -- den Punkt akzeptieren, weil „eine Fensternachricht keine Sichtbarkeit braucht“ -- wurde daher zurückgenommen: er hätte Erfolg für einen Klick gemeldet, der nicht stattgefunden hat. Testseite: llm-action-battery lud still die installierte Kopie aus dem Desktop-Profil (0.2.0, während das Repo auf 0.8.1 stand); die beiden in den Findings notierten „Basislinien-Fehler“ waren diese Kopie, und beide verschwinden gegen das Repo. Läuft die getestete Oberfläche auf einer anderen Version, verweigert der Test jetzt den Start. Der Foreground-Zweig misst vor und nach JEDER Aktion statt je einmal am Anfang und Ende. Das Fixture erhält -Topmost (standardmäßig aus): nur Z-Reihenfolge, kein Vordergrund, weil die Vordergrundsperre SetForegroundWindow aus einem Hintergrundprozess tatsächlich verweigert. Die Batterie gibt ihren Worker frei und hat einen harten Stopp nach 240 s; ohne beides hing der zweite Lauf in Folge an einem geleakten Worker. Unter lib/ und src/schema/ ändert sich nichts.
16
+
17
+ ## 0.8.1 — 2026-11-24
18
+
19
+ > Published 2026-11-24T01:35:11.785Z (registry `time` for 0.8.1, read from the packument, not from a commit date).
20
+
21
+ > 0.8.1 repariert genau eine ausgelieferte Datei, die ein Registry abgewiesen hätte: 0.8.0s server.json hatte eine 800 Zeichen lange `description`, und das JSON-Schema des Registry (2025-12-11) begrenzt dieses Feld auf 100 -- ajv sagte das in einer Zeile. Am Verhalten des Plugins war nichts falsch -- MCP-Server, Aktionen, Tore und Audit sind bytegleich mit 0.8.0 -- aber das Manifest ist der Weg, wie ein Verzeichnis das Paket findet, und ein abgewiesenes Manifest ist eine Lieferform, die nur im Repository existiert. Die Korrektur: `description` ist jetzt ein Satz mit 92 Zeichen, und die Fähigkeitsprosa wandert nach `_meta` unter `publisher-provided` (das Feld, das das Registry tatsächlich erhält, Grenze 4 KB; hier rund 1,2 KB). schema-test prüft künftig die Registry-Grenzen selbst (description 1..100, title 1..100, name reverse-DNS innerhalb von 200 Zeichen, eine konkrete Version statt eines Bereichs, `_meta` unter 4096 Bytes, und jede deklarierte Umgebungsvariable mit einem Namen); die bidirektionale Prüfung «deklariert == gelesen» bleibt. package.json / dsh.plugin.json / server.json / README-Versionszeile stehen jetzt auf 0.8.1, und die Beschreibung von dsh.plugin.json nennt endlich die zweite Lieferform, die seit 0.8.0 fehlte -- ein Manifest, das eine ältere Version beschreibt, ist genau so etwas wie ein Urteil über etwas, das das Plugin nicht mehr tut. Gefunden wurde das, wie die meisten Defekte hier, indem die Prüfung gegen das echte Ding laufen gelassen wurde: Das Registry-Schema wurde für den 0.8.0-Release erneut geholt (Plan R7: Preview, Regeln können sich ändern) und mit dem im DSH-Baum vorhandenen ajv validiert -- «server.json validiert» ist damit ein Befehl mit Exit-Code, keine Meinung.
22
+
23
+ ## 0.8.0 — 2026-11-24
24
+
25
+ > Published 2026-11-24T01:21:32.334Z (registry `time` for 0.8.0, read from the packument, not from a commit date).
14
26
 
15
27
  > 0.8.0 öffnet einen zweiten Kanal über dieselbe Engine, ohne eine zweite Implementierung: ein MCP-Server über stdio (bin: wpm-mcp), während die DSH-Plugin-Form unangetastet bleibt — dasselbe apply(), dieselben elf Aktionen, dieselben siebzehn Verweigerungscodes, dieselbe Tor-Reihenfolge, derselbe Audit-Log. Das ist die bewusste Umkehr der Entscheidung vom 2026-11-19 („form = A, kein MCP“), und die Umkehr steht in der Vertragsdatei statt nur in einer Commit-Botschaft: tools.json trägt jetzt mcpProjection neben hostProjection, und die status-Zeile sagt, welche Entscheidung wann und warum umgekehrt wurde (das Registry nimmt nur MCP-Server, und DSH kann einen bridgen — eine Implementierung, zwei Kanäle). Keine Aktion und kein Code kamen dazu; unter src/engine/ wurde keine Datei geändert. tools/list wird aus tools.json ERZEUGT, nicht abgeschrieben: pro Aktion ein oneOf-Zweig, der properties/required/additionalProperties Feld für Feld übernimmt, ein action-Enum, das die Aktionsliste des Vertrags ist, und in der Beschreibung steht jede Aktion mit der von ihr erklärten Stufe und jeder Verweigerungscode mit der Zusammenfassung, die der Vertrag schon enthält. Es bleibt bei einem Werkzeug: wpm. Einstellungen kommen aus der Umgebung (WPM_*), nie aus dem Aufruf: ein Aufrufer, der seine eigene Decke anheben oder sich in die launch-Freigabeliste schreiben könnte, machte das Autorisierungsmodell dekorativ; die Defaults bleiben an genau einer Stelle (lib/index.js). Ein Screenshot hängt die Pixel als base64 image an, weil ein Pfad am Ende einer Pipe nichts bedeutet, screenRect/scale/identity/frame/captureBackend bleiben aber im Text; über die DSH-Brücke gemessen: ein Host ohne Anhang-Speicher projiziert das Bild auf einen [image unavailable: …]-Text und behält alle Zahlen — Pixel standardmäßig anzuhängen kann dem Aufrufer also nicht die Information kosten, weswegen er rief. server.json ist das Registry-Manifest (Namespace io.github.drscrewdriver/dsh-windows-parallel-mcp, die einzige npm-Basis, die das Registry zulässt, Transport stdio, 19 dokumentierte Umgebungsvariablen; schema-test prüft in beide Richtungen, dass jedes versprochene gelesen wird und jedes gelesene versprochen ist). Zwei echte Defekte sind behoben: ein ungültiges Argument drohte als -32603 (Serverfehler) beantwortet zu werden, jetzt ist es ein Werkzeugfehler, der das Argument nennt; und der DSH-Locator rief npm mit execFileSync, was auf Windows ENOENT gibt (npm ist eine .cmd) — „nicht installiert“ auf einer Maschine, die es ist. Gate 22 check-mcp-schema startet den echten Server, liest, was ein Client läse, und vergleicht Feld für Feld; der Selbsttest mutationiert BEIDE Seiten: vier Eingriffe ins Generator-Code müssen rot machen, zwei Eingriffe in den VERTRAG (Parameter umbenennen, additionalProperties kippen) müssen grün bleiben UND mitziehen — nur den Generator zu brechen unterscheidet „erzeugt“ nicht von einer Kopie, die heute zufällig passt. mcp-stdio: 38 Prüfungen (keine Nicht-JSON-Zeile auf stdout, Benachrichtigung ohne Antwort, eine Müllzeile tötet die Schleife nicht, parallele Aufrufe über id gepaart und nicht vertauscht, stdin geschlossen ⇒ exit 0). mcp-bridge: 17 Prüfungen mit dem mitgelieferten client-SDK und createMcpToolDefinition des Hosts; beide Formen im selben Prozess müssen dieselbe erste Zeile liefern, ohne DSH-Installation sagt der Arm SKIP ehrlich. Volles Gate: 22 Arme, GATE GREEN ×3. Maßgeblich ist der englische Eintrag.
16
28
 
package/CHANGELOG.es.md CHANGED
@@ -8,9 +8,21 @@ 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.8.0 — 2026-11-23
11
+ ## 0.8.2 — 2026-11-24
12
12
 
13
- > Published <REGISTRY-TIME> (registry `time` for 0.8.0, read from the packument, not from a commit date).
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.8.2, read from the packument, not from a commit date).
14
+
15
+ > La 0.8.2 cambia una sola frase de rechazo -- y su raíz en el lado de las pruebas. Cuando el punto está realmente dentro de un hijo del objetivo pero otra ventana lo recubre, el motor respondía «ningún hijo del objetivo está bajo ese punto»: dos situaciones distintas compartían una frase. Ningún código de rechazo cambia (siguen siendo diecisiete); el segundo caso ahora nombra la clase de la ventana que recubre y señala el único paso útil (traer el objetivo al frente). No es una suposición: con el navegador del propietario encima de un objetivo WinForms (objetivo visible=true, el rectángulo de su botón contiene el punto), enviar WM_LBUTTONDOWN/UP a ese botón responde ok y la aplicación nunca ejecuta su manejador -- el título sigue en Press, focusTaken=false. En este toolkit un clic por mensaje necesita la captura del ratón, y una ventana recubierta no la obtiene. Por eso se revirtió el primer arreglo probado -- aceptar el punto porque «un mensaje no necesita visibilidad» --: hacía que el producto informara éxito de un clic que no ocurrió. Lado de pruebas: llm-action-battery cargaba en silencio la copia instalada del perfil de escritorio (0.2.0, cuando el repositorio está en 0.8.1); los dos «fallos de referencia» de los findings eran esa copia hablando, y ambos desaparecen contra el repositorio. Ahora se niega a ejecutarse si la superficie probada es otra versión. Su rama de foreground muestrea antes y después de CADA acción en vez de una vez al inicio y al final. El fixture gana -Topmost (apagado por defecto): solo orden Z, sin tocar el primer plano, porque el bloqueo del primer plano rechaza de verdad SetForegroundWindow desde un proceso en segundo plano. La batería libera su worker y tiene un tope duro de 240 s: sin eso, la segunda ejecución consecutiva se colgaba con un worker filtrado. Bajo lib/ y src/schema/ no cambia nada.
16
+
17
+ ## 0.8.1 — 2026-11-24
18
+
19
+ > Published 2026-11-24T01:35:11.785Z (registry `time` for 0.8.1, read from the packument, not from a commit date).
20
+
21
+ > 0.8.1 corrige exactamente un archivo enviado que un registro habría rechazado: la `description` de server.json en 0.8.0 medía 800 caracteres y el JSON Schema del Registry (2025-12-11) limita ese campo a 100; ajv lo dijo en una línea. No había nada incorrecto en el comportamiento del plugin -- el servidor MCP, las acciones, las puertas y la auditoría son idénticos byte a byte a 0.8.0 -- pero el manifiesto es cómo un listado encuentra el paquete, y un manifiesto rechazado es una forma de entrega que solo existe en el repositorio. La corrección: `description` pasa a ser una frase de 92 caracteres y la prosa de capacidades se muda a `_meta` bajo `publisher-provided` (la clave que el Registry sí conserva, techo 4 KB; aquí unos 1,2 KB). schema-test verifica ahora los límites del propio registry (description 1..100, title 1..100, name reverse-DNS dentro de 200 caracteres, una versión concreta en lugar de un rango, `_meta` por debajo de 4096 bytes, y un name para cada variable de entorno declarada); sigue el control bidireccional «declarado == leído». package.json / dsh.plugin.json / server.json / la línea de versión del README quedan en 0.8.1, y la descripción de dsh.plugin.json por fin nombra la segunda forma de entrega, omitida desde 0.8.0. Encontrado como la mayoría de los defectos aquí: ejecutando la comprobación contra la cosa real. El schema del Registry se volvió a descargar para el lanzamiento de 0.8.0 (el plan R7 avisa de que el registro está en preview y sus reglas pueden moverse) y la validación corre con el ajv ya presente en el árbol de DSH, así que «server.json valida» es un comando con código de salida, no una opinión.
22
+
23
+ ## 0.8.0 — 2026-11-24
24
+
25
+ > Published 2026-11-24T01:21:32.334Z (registry `time` for 0.8.0, read from the packument, not from a commit date).
14
26
 
15
27
  > 0.8.0 abre un segundo canal sobre el mismo motor sin segunda implementación: un servidor MCP por stdio (bin: wpm-mcp), mientras la forma plugin de DSH queda intacta — el mismo apply(), once acciones, diecisiete códigos de rechazo, el mismo orden de puertas y el mismo registro de auditoría. Es la reversión deliberada de la decisión del 2026-11-19 («form = A, no MCP»), escrita en el archivo de contrato y no solo en un commit: tools.json ahora lleva mcpProjection junto a hostProjection y su línea status dice qué decisión se invirtió, cuándo y por qué (el Registry solo acepta servidores MCP, y DSH puede tenderles puente: una implementación, dos canales). Sin acciones nuevas ni códigos nuevos; cero archivos tocados bajo src/engine/. tools/list se GENERA desde tools.json, no se transcribe: una rama oneOf por acción que hereda properties/required/additionalProperties campo por campo, un enum de acciones que es la tabla del contrato, y en la descripción cada acción lleva el peldaño que declara y cada código de rechazo el resumen que el contrato ya tiene. Sigue habiendo una sola herramienta: wpm. Los ajustes vienen del entorno (WPM_*), nunca de la llamada: un cliente que pudiera subirse su propio techo o añadirse a la lista blanca de launch volvería decorativo el modelo de autorización; los valores por defecto siguen en un solo lugar (lib/index.js). Una captura adjunta los píxeles en base64 además del texto (una ruta no significa nada al otro lado de una tubería), pero screenRect/scale/identity/frame/captureBackend quedan en el texto; medido a través del puente de DSH: un host sin almacén de adjuntos proyecta la imagen a un diagnóstico [image unavailable: …] y conserva todos los números, así que adjuntar píxeles por defecto no puede costarle al llamante la información para la que llamó. server.json es el manifiesto del Registry (namespace io.github.drscrewdriver/dsh-windows-parallel-mcp, la única base de npm que el Registry admite, transporte stdio, diecinueve variables de entorno documentadas; schema-test verifica en ambas direcciones que lo prometido se lee y lo leído está prometido). Dos defectos reales corregidos: un argumento inválido estaba a punto de responderse como -32603, un fallo del servidor — ahora es un error de herramienta que nombra el argumento; y el localizador de DSH llamaba npm con execFileSync, que en Windows da ENOENT (npm es .cmd) y declaraba «DSH no instalado» en una máquina que sí lo tiene. El gate 22 check-mcp-schema arranca el servidor real, lee lo que un cliente leería y compara campo por campo; su auto-test muta AMBOS lados: cuatro mutaciones del generador deben ponerse rojas, y dos mutaciones del CONTRATO (renombrar un parámetro, invertir un additionalProperties) deben quedarse verdes Y moverse — romper solo el generador no distingue un esquema generado de una copia que hoy casualmente coincide. mcp-stdio: 38 aserciones (ni una línea de stdout que no sea JSON, notificación sin respuesta, una línea basura no mata el ciclo, llamadas concurrentes emparejadas por id y no intercambiadas, stdin cerrado ⇒ exit 0). mcp-bridge: 17 aserciones con el SDK de cliente y createMcpToolDefinition que el propio host entrega; las dos formas llamadas en un mismo proceso deben dar la misma primera línea, y sin instalación de DSH el brazo dice SKIP. Gate completo: 22 brazos, GATE GREEN ×3. Autoritativa la entrada en inglés.
16
28
 
package/CHANGELOG.fr.md CHANGED
@@ -8,9 +8,21 @@ 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.8.0 — 2026-11-23
11
+ ## 0.8.2 — 2026-11-24
12
12
 
13
- > Published <REGISTRY-TIME> (registry `time` for 0.8.0, read from the packument, not from a commit date).
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.8.2, read from the packument, not from a commit date).
14
+
15
+ > La 0.8.2 ne change qu'une phrase de refus -- et la racine de cette phrase côté tests. Quand le point est bien dans un enfant de la cible mais qu'une autre fenêtre le recouvre, le moteur répondait « aucun enfant de la cible ne se trouve sous ce point » : deux situations distinctes partageaient une seule phrase. Aucun code de refus ne bouge (toujours dix-sept) ; c'est la seconde situation qui nomme désormais la classe de la fenêtre qui recouvre et indique la seule étape utile (mettre la cible au premier plan). Ce n'est pas une supposition : avec le navigateur du propriétaire posé sur une cible WinForms (cible visible=true, le rectangle de son bouton contenant le point), envoyer WM_LBUTTONDOWN/UP à ce bouton renvoie ok et l'application n'exécute jamais son gestionnaire -- la légende reste Press, focusTaken=false. Sur cette boîte à outils, un clic par message dépend de la capture de la souris, et une fenêtre recouverte ne l'obtient pas. Le premier correctif essayé -- accepter le point puisque « un message n'a pas besoin de visibilité » -- a donc été annulé : il faisait rapporter un succès pour un clic qui n'a pas eu lieu. Côté tests : llm-action-battery chargeait silencieusement la copie installée du profil desktop (0.2.0, quand le dépôt est en 0.8.1) ; les deux « échecs de référence » consignés dans les findings étaient cette copie qui parlait, et les deux disparaissent sur le dépôt. Il refuse maintenant de s'exécuter si la surface testée n'est pas la même version. Son volet foreground échantillonne avant et après CHAQUE action au lieu d'une fois au début et à la fin (l'ancienne forme mesurait qui détenait le premier plan à la fin). Le fixture gagne -Topmost, désactivé par défaut : ordre Z seulement, sans toucher au premier plan, car le verrou de premier plan refuse réellement SetForegroundWindow d'un processus en arrière-plan. Enfin la batterie libère son worker et possède un arrêt forcé à 240 s : sans cela, la deuxième exécution consécutive se bloquait sur un worker fuité. Rien ne change sous lib/ ni src/schema/.
16
+
17
+ ## 0.8.1 — 2026-11-24
18
+
19
+ > Published 2026-11-24T01:35:11.785Z (registry `time` for 0.8.1, read from the packument, not from a commit date).
20
+
21
+ > 0.8.1 ne corrige qu'un fichier livré qu'un registre aurait refusé. Le `description` de server.json de 0.8.0 faisait 800 caractères alors que le JSON Schema du Registry (2025-12-11) limite ce champ à 100 ; ajv l'a dit en une ligne. Rien dans le comportement du plugin n'était faux — le serveur MCP, les actions, les portes et l'audit sont identiques octet à octet à 0.8.0 — mais le manifeste est la façon dont une liste trouve le paquet, et un manifeste refusé est une forme de livraison qui n'existe que dans le dépôt. Correction : `description` devient une phrase de 92 caractères, et le texte de capacité passe dans `_meta` sous `publisher-provided` (la clé que le Registry conserve vraiment, plafond 4 Ko, ici environ 1,2 Ko). schema-test vérifie désormais les limites du registre elles-mêmes (description 1..100, title 1..100, name en reverse-DNS sous 200 caractères, une version concrète et non une plage, `_meta` sous 4096 octets, et un name pour chaque variable d'environnement déclarée) ; le contrôle bidirectionnel « déclaré == lu » reste. package.json / dsh.plugin.json / server.json / la ligne de version du README passent à 0.8.1, et la description de dsh.plugin.json nomme enfin la seconde forme de livraison, oubliée depuis 0.8.0. Trouvé comme la plupart des défauts ici : en lançant la vérification contre la chose réelle. Le schéma du Registry a été re-téléchargé pour la sortie de 0.8.0 (le plan R7 prévient que le registre est en preview et que ses règles peuvent bouger) et la validation tourne avec l'ajv déjà présent dans l'arborescence DSH, donc « server.json valide » est une commande avec un code de retour, pas une opinion.
22
+
23
+ ## 0.8.0 — 2026-11-24
24
+
25
+ > Published 2026-11-24T01:21:32.334Z (registry `time` for 0.8.0, read from the packument, not from a commit date).
14
26
 
15
27
  > 0.8.0 ouvre un second canal sur le même moteur sans seconde implémentation : un serveur MCP sur stdio (bin : wpm-mcp), et la forme plugin DSH reste intacte — même apply(), les onze actions, les dix-sept codes de refus, le même ordre de portes, le même journal d'audit. C'est le renversement volontaire de la décision du 2026-11-19 (« form = A, pas de MCP »), et le renversement est écrit dans le fichier de contrat, pas seulement dans un message de commit : tools.json porte désormais mcpProjection à côté de hostProjection, et sa ligne status dit quelle décision a été renversée, quand et pourquoi (le Registry n'accepte que des serveurs MCP, et DSH sait en faire le pont — une implémentation, deux canaux). Cette version n'ajoute ni action ni code de refus, et ne touche aucun fichier de src/engine/. tools/list est GENERE depuis tools.json, pas recopié : une branche oneOf par action qui reprend properties/required/additionalProperties champ par champ, un enum d'actions qui est la table du contrat, et une description où chaque action porte le barreau qu'elle déclare et chaque code de refus porte le résumé déjà présent dans le contrat. Un seul outil reste exposé : wpm. Les réglages viennent de l'environnement (WPM_*) et jamais d'un appel : un client qui pourrait relever son propre plafond ou s'ajouter à la liste blanche de lancement rendrait le modèle d'autorisation décoratif ; les valeurs par défaut restent au seul endroit où elles étaient (lib/index.js). Une capture joint des pixels en base64 en plus du texte (un chemin de fichier est vide de sens au bout d'un tube), et screenRect/scale/identity/frame/captureBackend restent dans le texte ; mesuré à travers le pont DSH : un hôte sans magasin de pièces jointes projette l'image en un diagnostic [image unavailable: …] et garde tous les nombres — joindre l'image par défaut ne peut donc pas coûter à l'appelant l'information pour laquelle il avait appelé. server.json est le manifeste Registry (namespace io.github.drscrewdriver/dsh-windows-parallel-mcp, la seule base npm que le Registry admet, transport stdio, dix-neuf variables d'environnement documentées ; schema-test vérifie dans les deux sens que ce qui est promis est lu et que ce qui est lu est promis). Deux vrais défauts corrigés : un argument invalide allait être rendu comme -32603, une panne de serveur — c'est désormais une erreur d'outil qui nomme l'argument ; et findDshTree, en appelant npm via execFileSync, recevait ENOENT sur Windows (npm est un .cmd) et déclarait « DSH non installé » sur une machine qui l'a. Le gate 22 check-mcp-schema démarre le vrai serveur, lit ce qu'un client lirait, et compare champ par champ ; son auto-test mute les DEUX côtés : quatre mutilations du générateur doivent rougir, deux mutilations du CONTRAT (renommer un paramètre, inverser un additionalProperties) doivent rester vertes ET bouger — casser seul le générateur ne distingue pas un schéma généré d'une copie qui tombe juste aujourd'hui. mcp-stdio : 38 assertions (aucune ligne de stdout qui ne soit du JSON, notification sans réponse, une ligne garbage ne tue pas la boucle, appels simultanés appariés par id et non échangés, stdin fermé ⇒ exit 0). mcp-bridge : 17 assertions, avec le SDK client et createMcpToolDefinition que l'hôte livre lui-même, et les deux formes appelées dans un même processus doivent donner la même première ligne ; sans installation DSH le bras le dit et fait SKIP. Gate complet : 22 bras, GATE GREEN ×3. Autoritaire : l'entrée anglaise.
16
28
 
package/CHANGELOG.it.md CHANGED
@@ -8,9 +8,21 @@ 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.8.0 — 2026-11-23
11
+ ## 0.8.2 — 2026-11-24
12
12
 
13
- > Published <REGISTRY-TIME> (registry `time` for 0.8.0, read from the packument, not from a commit date).
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.8.2, read from the packument, not from a commit date).
14
+
15
+ > La 0.8.2 cambia una sola frase di rifiuto -- e la sua radice sul lato test. Quando il punto è davvero dentro un figlio della destinazione ma un'altra finestra lo copre, il motore rispondeva «nessuna finestra figlia della destinazione si trova sotto quel punto»: due situazioni diverse con una frase sola. Nessun codice di rifiuto cambia (restano diciassette); il secondo caso ora nomina la classe della finestra che copre e indica l'unico passo utile (portare la destinazione davanti). Non è una supposizione: con il browser del proprietario sopra una destinazione WinForms (destinazione visible=true, il rettangolo del suo pulsante contiene il punto), inviare WM_LBUTTONDOWN/UP a quel pulsante risponde ok e l'applicazione non esegue mai il gestore -- la didascalia resta Press, focusTaken=false. Su questo toolkit un clic via messaggio richiede la cattura del mouse, e una finestra coperta non la ottiene. La prima correzione provata -- accettare il punto perché «un messaggio non ha bisogno di visibilità» -- è stata quindi annullata: avrebbe riportato successo per un clic mai avvenuto. Lato test: llm-action-battery caricava in silenzio la copia installata nel profilo desktop (0.2.0, mentre il repository è 0.8.1); i due «fallimenti di riferimento» nei findings erano quella copia che parlava, e entrambi spariscono sul repository. Ora rifiuta di partire se la superficie in prova è una versione diversa. Il ramo foreground campiona prima e dopo OGNI azione invece di una volta all'inizio e alla fine. Il fixture guadagna -Topmost (spento di default): solo ordine Z, nessun primo piano, perché il blocco del primo piano rifiuta davvero SetForegroundWindow da un processo in background. La batteria libera il worker e ha un arresto forzato a 240 s: senza, la seconda esecuzione consecutiva si bloccava su un worker rimasto appeso. Sotto lib/ e src/schema/ non cambia nulla.
16
+
17
+ ## 0.8.1 — 2026-11-24
18
+
19
+ > Published 2026-11-24T01:35:11.785Z (registry `time` for 0.8.1, read from the packument, not from a commit date).
20
+
21
+ > 0.8.1 corregge un solo file spedito che un registry avrebbe rifiutato: la `description` di server.json di 0.8.0 era di 800 caratteri e il JSON Schema del Registry (2025-12-11) limita quel campo a 100; ajv lo ha detto in una riga. Nel comportamento del plugin non c'era nulla di sbagliato -- server MCP, azioni, porte e audit sono identici byte a byte a 0.8.0 -- ma il manifesto è il modo in cui un elenco trova il pacchetto, e un manifesto rifiutato è una forma di consegna che esiste solo nel repository. Correzione: `description` diventa una frase di 92 caratteri, e la prosa sulle capacità passa in `_meta` sotto `publisher-provided` (la chiave che il Registry conserva davvero, tetto 4 KB; qui circa 1,2 KB). schema-test verifica ora i limiti del registry stessi (description 1..100, title 1..100, name reverse-DNS entro 200 caratteri, una versione concreta e non un range, `_meta` sotto 4096 byte, e un name per ogni variabile d'ambiente dichiarata); il controllo bidirezionale «dichiarato == letto» resta. package.json / dsh.plugin.json / server.json / la riga di versione del README passano a 0.8.1, e la descrizione di dsh.plugin.json nomina infine la seconda forma di consegna, omessa da 0.8.0. Trovato come la maggior parte dei difetti qui: eseguendo il controllo contro la cosa reale. Lo schema del Registry è stato ripresa per il rilascio 0.8.0 (il piano R7 avverte che il registro è in preview e le regole possono muoversi) e la validazione gira con l'ajv già presente nell'albero DSH, quindi «server.json valida» è un comando con un exit code, non un'opinione.
22
+
23
+ ## 0.8.0 — 2026-11-24
24
+
25
+ > Published 2026-11-24T01:21:32.334Z (registry `time` for 0.8.0, read from the packument, not from a commit date).
14
26
 
15
27
  > 0.8.0 apre un secondo canale sullo stesso motore senza seconda implementazione: un server MCP su stdio (bin: wpm-mcp), mentre la forma plugin DSH resta identica — stesso apply(), undici azioni, diciassette codici di rifiuto, stesso ordine di porte, stesso log di audit. È il rovesciamento deliberato della decisione 2026-11-19 («form = A, niente MCP»), scritto nel file di contratto e non solo in un commit: tools.json ora ha mcpProjection accanto a hostProjection e la riga status dice quale decisione è stata rovesciata, quando e perché (il Registry accetta solo server MCP, e DSH può farne da ponte: una implementazione, due canali). Nessuna azione e nessun codice nuovi; zero file toccati sotto src/engine/. tools/list è GENERATO da tools.json, non copiato: un ramo oneOf per azione che riprende properties/required/additionalProperties campo per campo, un enum di azioni che è la tabella del contratto, e nella descrizione ogni azione porta il gradino che dichiara e ogni codice di rifiuto porta il riassunto che il contratto già contiene. Resta un solo tool: wpm. Le impostazioni vengono dall'ambiente (WPM_*), mai dalla chiamata: un client che potesse alzarsi il proprio tetto o aggiungersi alla whitelist di launch renderebbe il modello di autorizzazione decorativo; i default restano in un solo posto (lib/index.js). Uno screenshot allega i pixel in base64 oltre al testo (un percorso non significa nulla dall'altra parte di una pipe), ma screenRect/scale/identity/frame/captureBackend restano nel testo; misurato attraverso il ponte DSH: un host senza archivio di allegati proietta l'immagine in un diagnostico [image unavailable: …] e conserva tutti i numeri, quindi allegare i pixel di default non può togliere all'appellante l'informazione per cui aveva chiamato. server.json è il manifesto Registry (namespace io.github.drscrewdriver/dsh-windows-parallel-mcp, la sola base npm che il Registry ammette, transport stdio, diciannove variabili d'ambiente documentate; schema-test verifica in entrambe le direzioni che ciò che è promesso è letto e ciò che è letto è promesso). Due difetti reali corretti: un argomento non valido stava per essere risposto come -32603, un errore del server — ora è un errore di tool che nomina l'argomento; e il localizzatore di DSH chiamava npm con execFileSync, che su Windows dà ENOENT (npm è un .cmd) e dichiarava «DSH non installato» su una macchina che lo ha. Il gate 22 check-mcp-schema avvia il server vero, legge ciò che un client leggerebbe e confronta campo per campo; il self-test muta ENTRAMBI i lati: quattro mutazioni del generatore devono diventare rosse, due mutazioni del CONTRATTO (rinominare un parametro, invertire un additionalProperties) devono restare verdi E muoversi — rompere solo il generatore non distingue uno schema generato da una copia che oggi coincide. mcp-stdio: 38 asserzioni (nessuna riga di stdout che non sia JSON, nessuna risposta a una notifica, una riga spazzatura non uccide il ciclo, chiamate concorrenti appaiate per id e non scambiate, stdin chiuso ⇒ exit 0). mcp-bridge: 17 asserzioni con l'SDK client e createMcpToolDefinition che l'host consegna da sé; le due forme chiamate nello stesso processo devono dare la stessa prima riga, e senza installazione DSH il braccio dice SKIP. Gate completo: 22 braccia, GATE GREEN ×3. Autoritaria la voce inglese.
16
28
 
package/CHANGELOG.ja.md CHANGED
@@ -8,9 +8,21 @@ 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.8.0 — 2026-11-23
11
+ ## 0.8.2 — 2026-11-24
12
12
 
13
- > Published <REGISTRY-TIME> (registry `time` for 0.8.0, read from the packument, not from a commit date).
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.8.2, read from the packument, not from a commit date).
14
+
15
+ > 0.8.2 が変えたのは拒否の一文と、そのテスト側の根だけ。点が実際には対象の子ウィンドウ内にあり、別のウィンドウに覆われているだけなのに、エンジンは「その点の下に対象の子ウィンドウは無い」と答えていた——別々の事柄が同じ言葉を共有していた。拒否コードは 17 個のまま一つも増減せず、変わったのは二つ目が遮っているウィンドウのクラスを名指しし、唯一機能する次の一歩(対象を前面へ)を示すこと。推測ではない:所有者のブラウザを WinForms の標的に重ね(標的は visible=true、ボタン矩形がその点を含む)、そのボタンへ WM_LBUTTONDOWN/UP を送ると ok が返るのに、アプリはハンドラを実行しなかった(caption は Press のまま、focusTaken=false)。この toolkit のメッセージクリックはマウスキャプチャを必要とし、覆われたウィンドウはそれを得られない。したがって先に試した「メッセージは可視性を要さないから点を受け入れる」は撤回した——起きていないクリックに成功を報告することになるから。テスト側:llm-action-battery は desktop profile のインストール版(0.2.0、リポジトリは 0.8.1)を黙って読み込んでいた。計画の findings にある「ベースライン失敗」二件はそれが話していたもので、リポジトリに替えると両方消える。いまは被測物のバージョンが違えば実行を拒否する。foreground の腕は各アクションの前後で測る形に変更(従来は前後一回だけで「最後に誰が前面か」を測っていた)。fixture に既定オフの -Topmost を追加(Z 順のみ、前面は動かさない。前面ロックがバックグラウンドプロセスの SetForegroundWindow を実際に拒否したため)。バッテリは dispose と 240 秒の強制終了を備えた(無いと二回目の連続実行が漏れた worker で固まる)。lib/ と src/schema/ は無変更。
16
+
17
+ ## 0.8.1 — 2026-11-24
18
+
19
+ > Published 2026-11-24T01:35:11.785Z (registry `time` for 0.8.1, read from the packument, not from a commit date).
20
+
21
+ > 0.8.1 はレジストリに拒否されうる出荷ファイル 1 個だけの修正。0.8.0 の server.json の description は 800 文字で、Registry の JSON Schema(2025-12-11)はこの欄を 100 文字に制限しており、ajv が 1 行でそれを言った。プラグインの挙動は問題なし——MCP サーバーもアクションもゲートも監査も 0.8.0 とバイト単位で同一——だがマニフェストは一覧がパッケージを見つける手段であり、拒否されるマニフェストはリポジトリの中にしか存在しない出荷形態になる。直し方:description を 92 文字の文に縮め、能力説明は Registry が実際に保持する欄(上限 4KB、今回は約 1.2KB)である _meta の publisher-provided へ移した。schema-test は以後、レジストリの制限そのものを検証する(description 1..100、title 1..100、name は reverse-DNS 書式で 200 字以内、版は範囲でなく具体値、_meta は 4096 バイト未満、宣言された環境変数すべてに name があること)。既存の「宣言==読み取り」双方向照合はそのまま。package.json / dsh.plugin.json / server.json / README の版表示を 0.8.1 に統一し、dsh.plugin.json の説明から 0.8.0 時点で抜け落ちていた第二の出荷形態を補った。見つかり方は本プロジェクトの多くの欠陥と同じく、実物を相手に検査を走らせたから。Registry スキーマは 0.8.0 のリリースために取り直したもの(計画 R7 は preview 中のため規則が動きうると言う)。検証は DSH インストールツリーにある ajv を使ったので、「server.json は通る」は意見ではなく終了コードを持つ一発のコマンドである。
22
+
23
+ ## 0.8.0 — 2026-11-24
24
+
25
+ > Published 2026-11-24T01:21:32.334Z (registry `time` for 0.8.0, read from the packument, not from a commit date).
14
26
 
15
27
  > 0.8.0 は同じエンジンに第二のチャネルを増やしたが、第二の実装は作っていない。stdio の MCP サーバー(bin: wpm-mcp)を新設し、DSH プラグイン形態は一切変えない——同じ apply()、同じ 11 アクション、同じ 17 の拒否コード、同じゲート順序と同じ監査ログ。これは 2026-11-19 の決定「form = A、MCP は作らない」の意図的な撤回で、撤回はコミットメッセージではなく契約ファイルに書かれた:tools.json に mcpProjection が hostProjection と並んで入り、status 行が「どの決定をいつ、なぜ撤回したか」(Registry は MCP サーバーしか受けず、DSH はそれをブリッジできるため、1 つの実装で 2 つのチャネルに届く)を明言する。本番はアクションも拒否コードも増やさず、src/engine/ は 0 ファイル変更。tools/list は tools.json から生成(転写ではない):アクションごとに 1 つの oneOf 分岐が properties/required/additionalProperties をフィールド単位で継承し、action の enum は契約のアクション表そのもの、説明では各アクションが宣言した段とともに載り、各拒否コードは契約が持つ要約をそのまま使う。公開するツールは依然 wpm 1 個だけ。設定は環境変数(WPM_*)のみで、呼び出し引数からは読まない——自分の天井を自分で上げたり launch 許可表に自分を加えられる呼び出し元は認証モデルを飾り物にするから。既定値は lib/index.js の 1 箇所にだけ残る。スクリーンショットはテキストに加えて base64 の image content を返す(パイプの向こうではこのマシンのパスを開けない)が、screenRect/scale/identity/frame/captureBackend は必ずテキスト側に残る。DSH ブリッジ経由で実測:添付ストアが無いホストでは画像は [image unavailable: …] のテキストに縮退し数値は全部残る。つまりピクセルを既定で添付することは、呼び出し元が本来必要とした情報を奪わない。server.json は Registry マニフェスト(namespace io.github.drscrewdriver/dsh-windows-parallel-mcp、Registry が認める唯一の npm 源、stdio 転送、19 の環境変数。schema-test は「宣言するものは読む/読むものは宣言する」を双方向で検証)。2 つを実際に修正:不正引数が -32603(サーバー障害)として返されかけていた点をツールレベルのエラーに分類し直し、引数名を本文に残す。Windows で npm は .cmd のため execFileSync が ENOENT を投げ「DSH が未インストール」に見える問題も解消。新ゲート 22 check-mcp-schema は実サーバーを起動して実応答を契約とフィールド単位で突き合わせ、self-test は両側を壊す:サーバー側 4 変更は必ず赤、契約側 2 変更(引数のリネーム、additionalProperties の反転)は必ず緑のまま、かつ必ず追随する——生成器だけを壊す検査では「生成」と「今日たまたま一致する転写」を区別できない。mcp-stdio は 38 検証(stdout に非 JSON 行が 1 つもない、通知は無応答、ゴミ行で殺れない、同時実行は id で対応づき交換されない、stdin クローズで exit 0)、mcp-bridge は 17 検証(ホスト同梱の client SDK と createMcpToolDefinition を使い、両形態を同一プロセスで呼んで先頭行が一致することを確認。DSH が無い環境では正直に SKIP)。全体ゲート 22 腕 ×3 GATE GREEN。権威あるのは英語版。
16
28
 
package/CHANGELOG.ko.md CHANGED
@@ -8,9 +8,21 @@ 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.8.0 — 2026-11-23
11
+ ## 0.8.2 — 2026-11-24
12
12
 
13
- > Published <REGISTRY-TIME> (registry `time` for 0.8.0, read from the packument, not from a commit date).
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.8.2, read from the packument, not from a commit date).
14
+
15
+ > 0.8.2 는 거절 문장 하나와 그 테스트 쪽 뿌리만 고친다. 점이 실제로는 대상의 자식 창 안에 있는데 다른 창에 가려져 있을 때, 엔진은 «그 점 아래에 대상의 자식 창이 없다»고 답했다 — 서로 다른 두 상황이 같은 말을 쓰고 있었다. 거절 코드는 17개 그대로이고, 달라진 것은 두 번째 경우가 가리고 있는 창 클래스를 지목하고 유일하게 통하는 다음 단계(대상을 앞으로 가져오기)를 제시한다는 점이다. 추측이 아니다: 소유자의 브라우저를 WinForms 대상 위에 덮고(대상 visible=true, 버튼 사각형이 그 점을 포함) 그 버튼에 WM_LBUTTONDOWN/UP 을 보내면 ok 가 오지만 애플리케이션은 핸들러를 실행하지 않았다(caption 은 Press 그대로, focusTaken=false). 이 툴킷의 메시지 클릭은 마우스 캡처를 필요로 하고, 가려진 창은 그것을 얻지 못한다. 그래서 먼저 시도한 «메시지는 가시성을 요구하지 않으니 점을 받아들이자»는 되돌렸다 — 일어나지 않은 클릭에 성공을 보고하는 일이기 때문이다. 테스트 쪽: llm-action-battery 는 desktop profile 의 설치본(0.2.0, 저장소는 0.8.1)을 조용히 읽고 있었다. 계획 findings 의 «기준 실패» 두 건은 그 복사본이 말한 것이고, 저장소로 바꾸면 둘 다 사라진다. 이제 피시험물 버전이 다르면 실행을 거절한다. foreground 갈래는 각 동작 전후로 표본을 뜨게 바꿨다(예전에는 처음과 끝 한 번씩, 즉 ‘마지막에 누가 앞에 있는가’를 쟀다). fixture 에 기본 꺼짐인 -Topmost 를 추가했다(Z 순서만 바꾸고 앞단은 건드리지 않는다. 앞단 잠금이 백그라운드 프로세스의 SetForegroundWindow 를 실제로 거절했다). 배터리는 dispose 와 240초 강제 종료를 갖췄다(없으면 연속 두 번째 실행이 누수된 worker 에서 멈춘다). lib/ 와 src/schema/ 는 무변경.
16
+
17
+ ## 0.8.1 — 2026-11-24
18
+
19
+ > Published 2026-11-24T01:35:11.785Z (registry `time` for 0.8.1, read from the packument, not from a commit date).
20
+
21
+ > 0.8.1 은 레지스트리가 거절할 수 있는 출하 파일 하나만 고친다. 0.8.0 의 server.json description 은 800 자였고 Registry JSON Schema(2025-12-11) 는 이 칸을 100 자로 막아 ajv 가 한 줄로 말했다. 동작상 문제는 없다 — MCP 서버도 액션도 게이트도 감사도 0.8.0 과 바이트 단위 동일 — 하지만 매니페스트는 목록이 패키지를 찾는 통로이고, 거절되는 매니페스트는 저장소 안에만 존재하는 출하 형태다. 고친 방법: description 을 92 자 한 문장으로 줄이고 능력 설명은 Registry 가 실제로 보존하는 자리(_meta publisher-provided, 4KB 상한, 이번 것은 약 1.2KB) 로 옮겼다. schema-test 는 이후 레지스트리 제한 자체를 검증한다(description 1..100, title 1..100, name 은 reverse-DNS 형식에 200 자 이내, 버전은 범위가 아닌 구체값, _meta 4096 바이트 미만, 선언된 모든 환경 변수에 name 이 존재). 기존 '선언==읽기' 양방향 대조는 그대로. package.json / dsh.plugin.json / server.json / README 버전 표기를 0.8.1 로 통일하고, 0.8.0 부터 빠져 있던 두 번째 출하 형태를 dsh.plugin.json 설명에 보탰다. 발견은 이 프로젝트 대다수 결함처럼 진짜를 상대로 검사를 돌려서였다. Registry 스키마는 0.8.0 출시를 위해 다시 가져왔고(계획 R7: preview 라 규정이 움직일 수 있다), 검증은 DSH 설치 트리에 있는 ajv 로 했으므로 'server.json 검증 통과'는 의견이 아니라 종료 코드를 가진 한 번의 명령이다.
22
+
23
+ ## 0.8.0 — 2026-11-24
24
+
25
+ > Published 2026-11-24T01:21:32.334Z (registry `time` for 0.8.0, read from the packument, not from a commit date).
14
26
 
15
27
  > 0.8.0 은 같은 엔진에 두 번째 채널을 열었지만 두 번째 구현은 만들지 않았다. stdio MCP 서버(bin: wpm-mcp)를 추가했고 DSH 플러그인 형태는 그대로다 — 같은 apply(), 같은 11 액션, 같은 17 거절 코드, 같은 게이트 순서와 같은 감사 로그. 이는 2026-11-19 결정 "form = A, MCP 는 만들지 않는다"를 의도로 뒤집은 것이며, 되돌림은 커밋 메시지가 아니라 계약 파일에 적혔다: tools.json 에 mcpProjection 이 hostProjection 옆에 들어가고 status 행이 '어떤 결정을 언제, 왜 뒤집었는지'(Registry 는 MCP 서버만 받고 DSH 는 브리지할 수 있으므로 구현 하나로 두 채널에 닿는다)를 밝힌다. 이번 판은 액션도 거절 코드도 추가하지 않았고 src/engine/ 는 0 개 파일 변경이다. tools/list 는 tools.json 에서 생성(필사가 아니다): 액션마다 oneOf 분기 하나가 properties/required/additionalProperties 를 필드 단위로 물려받고, action enum 은 계약의 액션표 그 자체이며, 설명에서 각 액션은 자기가 선언한 단과, 각 거절 코드는 계약이 이미 가진 요약과 함께 실린다. 공개하는 도구는 여전히 wpm 하나. 설정은 환경 변수(WPM_*) 에서만 읽고 호출 인자에서는 읽지 않는다 — 자기 천장을 스스로 올리거나 launch 허용 목록에 자기를 추가할 수 있는 호출자는 권한 모델을 장식으로 만든다. 기본값은 lib/index.js 한 곳에만 남는다. 스크린샷은 텍스트 외에 base64 image content 를 첨부한다(파이프 저쪽에서는 이 기계의 경로를 열 수 없다)만, screenRect/scale/identity/frame/captureBackend 는 항상 텍스트 쪽에 남는다. DSH 브리지를 통해 실측: 첨부 저장이 없는 호스트에서는 이미지를 [image unavailable: …] 텍스트로 강등하고 수치는 전부 남긴다. 그래서 픽셀을 기본 첨부하는 것이 호출자가 실제로 필요로 하던 정보를 앗아가지는 않는다. server.json 은 Registry 매니페스트(네임스페이스 io.github.drscrewdriver/dsh-windows-parallel-mcp, Registry 가 승인하는 유일한 npm 소스, stdio transport, 환경 변수 19 개; schema-test 는 '선언한 것은 읽고, 읽는 것은 선언한다'를 양방향으로 검증) 이다. 실제로 고친 두 가지: 잘못된 인자가 -32603(서버 고장) 으로 답될 뻔한 것을 도구 수준 오류로 다시 분류해 WHICH 인자인지 본문에 남긴다. Windows 에서 npm 은 .cmd 라 execFileSync 가 ENOENT 를 던져 'DSH 미설치'로 보이던 문제도 잡았다. 새 게이트 22 check-mcp-schema 는 실제 서버를 띄워 실제 응답을 계약과 필드 단위로 비교하고, self-test 는 양쪽을 변형한다: 서버 쪽 4 개는 반드시 빨강, 계약 쪽 2 개(매개변수 이름 변경, additionalProperties 반전)는 반드시 초록을 유지하면서 반드시 따라 움직여야 한다 — 생성기만 망가뜨리는 검사로는 '생성'과 '오늘 우연히 들어맞는 필사'를 구분할 수 없다. mcp-stdio 38 검증(stdout 에 JSON 이 아닌 줄이 하나도 없음, 알림은 답이 없음, 쓰레기 줄로 죽지 않음, 동시 호출은 id 로 짝지어 뒤바뀌지 않음, stdin 닫힘 시 exit 0), mcp-bridge 17 검증(호스트가 번들한 client SDK 와 createMcpToolDefinition 을 쓰고, 두 형태를 한 프로세스에서 호출해 첫 행이 같음을 확인; DSH 가 없는 환경에서는 없는 그대로 SKIP). 전체 게이트 22 팔 ×3 GATE GREEN. 권위는 영어본.
16
28
 
package/CHANGELOG.md CHANGED
@@ -5,9 +5,76 @@ 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 — 2026-11-23
8
+ ## 0.8.2 — 2026-11-24
9
9
 
10
- > Published <REGISTRY-TIME> (registry `time` for 0.8.0, read from the packument, not from a commit date).
10
+ > Published <REGISTRY-TIME> (registry `time` for 0.8.2, read from the packument, not from a commit date).
11
+
12
+ **A refusal that said "no child window sits under that point" when the truth was "something is painted over
13
+ it".** Both are refusals and neither verdict changed; what changed is that the second now says so, names the
14
+ blocking window class, and gives the only next step that works. The distinction earns its own sentence because
15
+ the two have nothing in common: a wrong coordinate is the caller's mistake, and a covered point is a desktop
16
+ state the caller can fix by bringing the target forward.
17
+
18
+ The behaviour behind it was measured rather than assumed. With the owner's browser covering a WinForms target
19
+ (target `visible=true`, its own button rectangle holding the point), `WM_LBUTTONDOWN`/`WM_LBUTTONUP` delivered
20
+ to that button answered `ok` and the application never ran its handler -- the caption stayed `Press`,
21
+ `focusTaken=false`. A message press needs the mouse capture on this toolkit, and a covered window does not get
22
+ it. So the first fix attempted here -- accept the point, because "a window message needs no visibility" --
23
+ was reverted: it made the product report success for a click that did not happen. `unreachable` stays the code
24
+ for both worlds; only the reason now tells them apart.
25
+
26
+ ### Fixed
27
+
28
+ - The covered-point refusal names the blocker (`blocker class=...`) and points at the next step instead of
29
+ reusing the wrong-coordinate sentence. No new refusal code: the vocabulary is unchanged at seventeen.
30
+ - `test/llm-action-battery.mjs` measures THIS repository. It used to load the desktop profile's installed copy
31
+ silently, which sat at 0.2.0 while the repo was 0.8.1 -- the two "baseline failures" recorded in the plan's
32
+ findings were that copy talking, and both disappear against the checkout. It now refuses to run when the
33
+ surface under test is a different version.
34
+ - Its foreground arm samples before and after EACH action instead of once at each end. The old shape measured
35
+ who held the foreground at the end, which the fixture's own `Show()`, the OS hand-back, and an app taking
36
+ focus while handling a click all move.
37
+ - `scripts/winforms-target.ps1` gains `-Topmost` (default off): Z-order only, no foreground permission. The
38
+ foreground lock refuses a background process's `SetForegroundWindow` -- measured twice here -- so a test
39
+ that needs its own pixels visible cannot get them by asking to be raised.
40
+ - The battery disposes its sidecar and has a 240 s hard stop; without them the second consecutive run hung on
41
+ a leaked worker.
42
+
43
+ Nothing under `lib/` or `src/schema/` changed: eleven actions, seventeen codes, the policy ceiling and the
44
+ audit line are byte-identical to 0.8.1.
45
+
46
+ ## 0.8.1 — 2026-11-24
47
+
48
+ > Published 2026-11-24T01:35:11.785Z (registry `time` for 0.8.1, read from the packument, not from a commit date).
49
+
50
+ **One shipped file that a registry would have refused.** 0.8.0's `server.json` carried an 800-character
51
+ `description`; the Registry's own JSON Schema (2025-12-11) caps that field at 100 characters, and ajv said
52
+ so in one line. Nothing about the plugin's behaviour was wrong -- the MCP server, the actions, the gates
53
+ and the audit are byte-identical to 0.8.0 -- but the manifest is how a listing finds the package, and a
54
+ manifest a registry rejects is a delivery form that exists only in the repository.
55
+
56
+ ### Fixed
57
+
58
+ - `server.json` `description` is now a 92-character sentence, and the capability prose moved to
59
+ `_meta["io.modelcontextprotocol.registry/publisher-provided"].capabilitySummary`, which is the field the
60
+ Registry actually preserves for it (under its 4 KB limit; this one is ~1.2 KB).
61
+ - `test/schema-test.mjs` asserts the Registry's limits rather than remembering them: `description` 1..100,
62
+ `title` 1..100, `name` matching the reverse-DNS pattern within 200 characters, a concrete version rather
63
+ than a range, `_meta` publisher-provided under 4096 bytes, and every declared environment variable
64
+ carrying a name. The pre-existing two-way check (declared == read) stays.
65
+ - `package.json` / `dsh.plugin.json` / `server.json` / README release line all now say 0.8.1, and
66
+ `dsh.plugin.json`'s description mentions the second delivery form, which it had been omitting since
67
+ 0.8.0 -- a manifest that describes an older release is how a plugin gets judged for something it no
68
+ longer does.
69
+
70
+ Found the way most of this project's defects are found: by running the check against the real thing. The
71
+ Registry schema was fetched for the 0.8.0 release (the plan's R7 says the registry is in preview and its
72
+ rules may move before general availability) and validated with the ajv already present in the DSH install
73
+ tree, so the claim "`server.json` validates" is a command with an exit code, not an opinion.
74
+
75
+ ## 0.8.0 — 2026-11-24
76
+
77
+ > Published 2026-11-24T01:21:32.334Z (registry `time` for 0.8.0, read from the packument, not from a commit date).
11
78
 
12
79
  **One engine, two channels, and the second one is not a second implementation.** The package is now also
13
80
  an MCP server over stdio (`bin: wpm-mcp`), while the DSH plugin form is untouched: same `apply()`, same
package/CHANGELOG.pt.md CHANGED
@@ -8,9 +8,21 @@ 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.8.0 — 2026-11-23
11
+ ## 0.8.2 — 2026-11-24
12
12
 
13
- > Published <REGISTRY-TIME> (registry `time` for 0.8.0, read from the packument, not from a commit date).
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.8.2, read from the packument, not from a commit date).
14
+
15
+ > A 0.8.2 muda uma única frase de recusa -- e a raiz dela no lado dos testes. Quando o ponto está de fato dentro de um filho do alvo mas outra janela o cobre, o motor respondia «nenhum filho do alvo está sob esse ponto»: duas situações distintas dividiam uma frase. Nenhum código de recusa muda (seguem dezessete); o segundo caso agora nomeia a classe da janela que cobre e aponta o único passo útil (trazer o alvo para a frente). Não é suposição: com o navegador do dono por cima de um alvo WinForms (alvo visible=true, o retângulo do seu botão contendo o ponto), enviar WM_LBUTTONDOWN/UP a esse botão responde ok e a aplicação nunca executa o handler -- a legenda continua Press, focusTaken=false. Neste toolkit um clique por mensagem depende da captura do mouse, e uma janela coberta não a obtém. Por isso a primeira correção tentada -- aceitar o ponto porque «uma mensagem não precisa de visibilidade» -- foi revertida: ela fazia o produto relatar sucesso de um clique que não aconteceu. Lado dos testes: llm-action-battery carregava em silêncio a cópia instalada no perfil desktop (0.2.0, enquanto o repositório está em 0.8.1); as duas «falhas de linha de base» dos findings eram essa cópia falando, e ambas desaparecem contra o repositório. Agora ele se recusa a rodar se a superfície testada for outra versão. O braço de foreground passa a amostrar antes e depois de CADA ação em vez de uma vez no início e no fim. O fixture ganha -Topmost (desligado por padrão): só ordem Z, sem tocar no primeiro plano, porque o bloqueio de primeiro plano recusa mesmo SetForegroundWindow de um processo em segundo plano. A bateria libera o worker e tem um limite rígido de 240 s: sem isso, a segunda execução consecutiva travava num worker vazado. Sob lib/ e src/schema/ nada muda.
16
+
17
+ ## 0.8.1 — 2026-11-24
18
+
19
+ > Published 2026-11-24T01:35:11.785Z (registry `time` for 0.8.1, read from the packument, not from a commit date).
20
+
21
+ > 0.8.1 corrige exatamente um arquivo enviado que um registry recusaria: a `description` do server.json na 0.8.0 tinha 800 caracteres e o JSON Schema do Registry (2025-12-11) limita esse campo a 100; o ajv disse isso em uma linha. Não havia nada errado no comportamento do plugin -- o servidor MCP, as ações, os portões e a auditoria são idênticos byte a byte aos da 0.8.0 -- mas o manifesto é como uma listagem encontra o pacote, e um manifesto recusado é uma forma de entrega que só existe no repositório. A correção: `description` vira uma frase de 92 caracteres, e a prosa de capacidades muda para `_meta` sob `publisher-provided` (a chave que o Registry de fato preserva, teto de 4 KB; aqui cerca de 1,2 KB). O schema-test agora verifica os próprios limites do registry (description 1..100, title 1..100, name reverse-DNS dentro de 200 caracteres, uma versão concreta em vez de intervalo, `_meta` abaixo de 4096 bytes, e um name para cada variável de ambiente declarada); a checagem bidirecional «declarado == lido» continua. package.json / dsh.plugin.json / server.json / a linha de versão do README passam a 0.8.1, e a descrição do dsh.plugin.json finalmente nomeia a segunda forma de entrega, omitida desde a 0.8.0. Descoberto como a maioria dos defeitos aqui: rodando a verificação contra a coisa real. O schema do Registry foi baixado de novo para o lançamento da 0.8.0 (o plano R7 avisa que o registry está em preview e as regras podem mudar) e a validação roda com o ajv já presente na árvore do DSH, então «server.json valida» é um comando com código de saída, não uma opinião.
22
+
23
+ ## 0.8.0 — 2026-11-24
24
+
25
+ > Published 2026-11-24T01:21:32.334Z (registry `time` for 0.8.0, read from the packument, not from a commit date).
14
26
 
15
27
  > 0.8.0 abre um segundo canal sobre o mesmo motor sem segunda implementação: um servidor MCP por stdio (bin: wpm-mcp), enquanto a forma de plugin DSH fica intacta — o mesmo apply(), onze ações, dezessete códigos de recusa, a mesma ordem de portões e o mesmo registro de auditoria. É a reversão deliberada da decisão de 2026-11-19 («form = A, sem MCP»), escrita no arquivo de contrato e não só num commit: tools.json agora traz mcpProjection ao lado de hostProjection e a linha status diz qual decisão foi invertida, quando e por quê (o Registry só aceita servidores MCP, e o DSH faz ponte com um: uma implementação, dois canais). Nenhuma ação e nenhum código novos; zero arquivos alterados sob src/engine/. tools/list é GERADO a partir de tools.json, não transcrito: um ramo oneOf por ação que herda properties/required/additionalProperties campo a campo, um enum de ações que é a tabela do contrato, e na descrição cada ação vem com o degrau que declara e cada código de recusa com o resumo que o contrato já traz. Continua uma única ferramenta: wpm. As configurações vêm do ambiente (WPM_*), nunca da chamada: um cliente que pudesse levantar o próprio teto ou se incluir na lista de permissão de launch deixaria o modelo de autorização decorativo; os padrões seguem num só lugar (lib/index.js). Um screenshot anexa os pixels em base64 além do texto (um caminho não significa nada do outro lado de um tubo), mas screenRect/scale/identity/frame/captureBackend permanecem no texto; medido pela ponte do DSH: um host sem depósito de anexos projeta a imagem num diagnóstico [image unavailable: …] e conserva todos os números, então anexar pixels por padrão não pode tirar de quem chamou a informação para a qual chamou. server.json é o manifesto do Registry (namespace io.github.drscrewdriver/dsh-windows-parallel-mcp, a única base de npm que o Registry aceita, transporte stdio, dezenove variáveis de ambiente documentadas; o schema-test verifica nos dois sentidos que o prometido é lido e o lido está prometido). Dois defeitos reais corrigidos: um argumento inválido estava a ponto de ser respondido como -32603, uma falha do servidor — agora é um erro de ferramenta que nomeia o argumento; e o localizador do DSH chamava npm por execFileSync, que no Windows dá ENOENT (npm é .cmd) e declarava «DSH não instalado» numa máquina que o tem. O gate 22 check-mcp-schema sobe o servidor de verdade, lê o que um cliente leria e compara campo a campo; o self-test muta OS DOIS lados: quatro mutações do gerador precisam ficar vermelhas, e duas mutações do CONTRATO (renomear um parâmetro, inverter um additionalProperties) precisam continuar verdes E se mover — quebrar só o gerador não distingue um esquema gerado de uma cópia que hoje por acaso bate. mcp-stdio: 38 asserções (nenhuma linha de stdout fora do JSON, notificação sem resposta, uma linha lixo não mata o laço, chamadas concorrentes pareadas por id e não trocadas, stdin fechado ⇒ exit 0). mcp-bridge: 17 asserções com o SDK de cliente e o createMcpToolDefinition que o próprio host entrega; as duas formas chamadas no mesmo processo têm de dar a mesma primeira linha, e sem instalação do DSH o braço diz SKIP. Gate completo: 22 braços, GATE GREEN ×3. Autoritativo o verbete em inglês.
16
28
 
package/CHANGELOG.ru.md CHANGED
@@ -8,9 +8,21 @@ 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.8.0 — 2026-11-23
11
+ ## 0.8.2 — 2026-11-24
12
12
 
13
- > Published <REGISTRY-TIME> (registry `time` for 0.8.0, read from the packument, not from a commit date).
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.8.2, read from the packument, not from a commit date).
14
+
15
+ > 0.8.2 меняет одну фразу отказа — и её корень на стороне тестов. Когда точка действительно лежит внутри дочернего окна цели, но перекрыта другим окном, движок отвечал «под этой точкой нет дочернего окна цели»: две разные ситуации делили одну фразу. Ни один код отказа не меняется (их по-прежнему семнадцать); во втором случае теперь называется класс перекрывающего окна и единственный работающий следующий шаг (вывести цель вперёд). Это измерено, а не предположено: если накрыть цель WinForms браузером владельца (цель visible=true, прямоугольник её кнопки содержит точку) и отправить этой кнопке WM_LBUTTONDOWN/UP, ответ будет ok, а приложение ни разу не выполнит обработчик — подпись остаётся Press, focusTaken=false. В этом toolkit клик сообщением требует захвата мыши, а перекрытое окно его не получает. Поэтому первая попытка исправления — принимать точку, раз «сообщению не нужна видимость», — отменена: она заставляла продукт сообщать об успехе клика, которого не было. Сторона тестов: llm-action-battery молча загружал установленную копию из профиля desktop (0.2.0, тогда как репозиторий на 0.8.1); две «базовые ошибки» в findings — это говорила та копия, и обе исчезают на репозитории. Теперь тест отказывается запускаться, если тестируемая поверхность другой версии. Плечо foreground теперь снимает показания до и после КАЖДОГО действия, а не по одному разу в начале и в конце. У фикстуры появился -Topmost (по умолчанию выключен): только Z-порядок, без переднего плана, потому что блокировка переднего плана действительно отвергает SetForegroundWindow из фонового процесса. Батарея освобождает worker и имеет жёсткий предел 240 с: без этого второй запуск подряд зависал на утёкшем worker. В lib/ и src/schema/ ничего не меняется.
16
+
17
+ ## 0.8.1 — 2026-11-24
18
+
19
+ > Published 2026-11-24T01:35:11.785Z (registry `time` for 0.8.1, read from the packument, not from a commit date).
20
+
21
+ > 0.8.1 исправляет ровно один поставляемый файл, который реестр отверг бы: в 0.8.0 поле `description` в server.json занимало 800 символов, а JSON Schema реестра (2025-12-11) ограничивает его 100 -- ajv сказал это одной строкой. В поведении плагина не было ничего неверного -- MCP-сервер, действия, заслонки и аудит побайтово совпадают с 0.8.0, -- но манифест это то, как каталог находит пакет, а отвергнутый манифест есть форма поставки, существующая только внутри репозитория. Исправление: `description` стала фразой в 92 символа, а описание возможностей переехало в `_meta` под `publisher-provided` (ключ, который реестр действительно сохраняет, потолок 4 КБ; здесь около 1,2 КБ). schema-test теперь проверяет сами лимиты реестра (description 1..100, title 1..100, name в форме reverse-DNS не длиннее 200 символов, конкретная версия вместо диапазона, `_meta` меньше 4096 байт, и у каждой объявленной переменной окружения есть name); прежнее двустороннее сравнение «объявлено == читается» осталось. package.json / dsh.plugin.json / server.json / строка релиза в README теперь 0.8.1, и описание dsh.plugin.json наконец упоминает вторую форму поставки, пропущенную ещё в 0.8.0. Найдено так же, как большинство дефектов здесь: проверкой против настоящей вещи. Schema реестра был скачан заново перед выпуском 0.8.0 (в плане R7 сказано, что реестр в preview и правила могут меняться), а валидация идёт на ajv из дерева установки DSH, поэтому «server.json проходит» -- это команда с кодом возврата, а не мнение.
22
+
23
+ ## 0.8.0 — 2026-11-24
24
+
25
+ > Published 2026-11-24T01:21:32.334Z (registry `time` for 0.8.0, read from the packument, not from a commit date).
14
26
 
15
27
  > 0.8.0 открывает второй канал для того же движка, не делая второй реализации: MCP-сервер поверх stdio (bin: wpm-mcp), а форма плагина DSH остаётся нетронутой — тот же apply(), те же одиннадцать действий, те же семнадцать кодов отказа, тот же порядок заслонок и тот же журнал аудита. Это сознательная отмена решения от 2026-11-19 («form = A, MCP не делать»), записанная в файл-контракт, а не только в сообщение коммита: в tools.json появился mcpProjection рядом с hostProjection, а строка status говорит, какое решение отменено, когда и зачем (Registry принимает только MCP-серверы, а DSH умеет их подключать — одна реализация, два канала). Ни нового действия, ни нового кода; в src/engine/ не изменён ни один файл. tools/list ГЕНЕРИРУЕТСЯ из tools.json, а не переписывается: по ветке oneOf на действие, наследующей properties/required/additionalProperties поле в поле, enum действий равный таблице контракта, и в описании каждое действие идёт с тем уровнем, который оно объявляет, а каждый код отказа — с тем summary, который в контракте уже есть. Инструмент по-прежнему один: wpm. Настройки берутся из окружения (WPM_*), никогда из вызова: вызывающий, который мог бы сам поднять себе потолок или вписать себя в белый список launch, превращает модель авторизации в декорацию; значения по умолчанию остаются в одном месте (lib/index.js). Скриншот прикладывает пиксели в base64 помимо текста (путь по ту сторону pipe ничего не значит), но screenRect/scale/identity/frame/captureBackend остаются в тексте; измерено через мост DSH: у хоста без хранилища вложений изображение сворачивается в диагностику [image unavailable: …], а все числа сохраняются — значит, прикрепление пикселей по умолчанию не может лишить вызывающего той информации, ради которой он звал. server.json — манифест Registry (пространство имён io.github.drscrewdriver/dsh-windows-parallel-mcp, единственный разрешённый npm-адрес, транспорт stdio, девятнадцать описанных переменных окружения; schema-test проверяет в обе стороны, что обещанное читается и читаемое обещано). Исправлены два настоящих дефекта: неверный аргумент собирался ответиться как -32603, то есть как сбой сервера, — теперь это ошибка инструмента, в тексте которой назван аргумент; а поисковик DSH вызывал npm через execFileSync, что на Windows даёт ENOENT (npm — это .cmd), и заявлял «DSH не установлен» на машине, где он стоит. Gate 22 check-mcp-schema запускает настоящий сервер, читает то, что прочтёт клиент, и сверяет поле в поле; самоспроверка мутирует ОБЕ стороны: четыре правки генератора обязаны покраснеть, две правки КОНТРАКТА (переименовать параметр, перевернуть additionalProperties) обязаны остаться зелёными И сдвинуться — ломать только генератор значит не отличить порождённую схему от скопированной, которая сегодня случайно совпадает. mcp-stdio: 38 проверок (ни одной строки stdout вне JSON, уведомление без ответа, мусор не убивает цикл, параллельные вызовы сопоставлены по id и не перепутаны, закрытие stdin ⇒ exit 0). mcp-bridge: 17 проверок тем самым client SDK и createMcpToolDefinition, которые поставляет хост; обе формы, вызванные в одном процессе, обязаны дать одинаковую первую строку, а без установки DSH рука честно говорит SKIP. Полный gate: 22 руки, GATE GREEN ×3. Авторитетна английская запись.
16
28
 
package/CHANGELOG.zh.md CHANGED
@@ -8,9 +8,21 @@ 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.8.0 — 2026-11-23
11
+ ## 0.8.2 — 2026-11-24
12
12
 
13
- > Published <REGISTRY-TIME> (registry `time` for 0.8.0, read from the packument, not from a commit date).
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.8.2, read from the packument, not from a commit date).
14
+
15
+ > 0.8.2 只改一句拒绝的话,以及它在测试侧的根。当点其实落在目标的子窗内、只是被别的窗口盖住时,引擎过去说「那个点下面没有目标的子窗」——两件事共用一个词。拒绝码一个没动(仍是十七个),变的是第二句现在会点名挡住它的是哪个窗口类,并给出唯一能走的下一步:把目标带到前面。这条不是推测:把 owner 的浏览器盖在 WinForms 靶窗上(靶窗 visible=true、按钮矩形确实含着该点),向那个按钮投递 WM_LBUTTONDOWN/UP 得到 ok,而应用从未执行 handler(caption 停在 Press、focusTaken=false)。消息点击在这个 toolkit 上依赖鼠标捕获,被盖住的窗口拿不到。所以先试过的「消息门不需要可见,就接受这个点」已回退——它等于为一个没发生的点击报成功。测试侧:llm-action-battery 过去静默加载 desktop profile 里的安装版(停在 0.2.0,而仓库是 0.8.1),计划 findings 里那两条「基线失败」正是它在说话,换成仓库后两条都消失;现在被测物版本不一致会直接拒绝运行。foreground 臂改成逐动作前后配对(原来只比首尾,测的是「末尾谁在前台」)。fixture 新增默认关的 -Topmost(只改 Z 序、不动前台,因为前台锁实测拒绝了后台进程的 SetForegroundWindow),电池补 dispose 与 240s 硬超时(否则连续第二次会挂在泄漏的 worker 上)。lib/ 与 src/schema/ 零改动。
16
+
17
+ ## 0.8.1 — 2026-11-24
18
+
19
+ > Published 2026-11-24T01:35:11.785Z (registry `time` for 0.8.1, read from the packument, not from a commit date).
20
+
21
+ > 0.8.1 只修一个被注册中心会拒绝的文件:0.8.0 的 server.json 里 description 写了 800 字符,而 Registry 的 JSON Schema(2025-12-11)把这个字段上限设为 100,ajv 一行就说明白了。插件行为没有任何问题——MCP 服务、动作、闸、审计与 0.8.0 逐字节相同——但清单是列表找到包的方式,被拒收的清单等于一个只存在于仓库里的交付形态。修法:description 缩成 92 字符的一句话,能力说明移到 _meta 的 publisher-provided(Registry 真正保留的位置,上限 4KB,这里约 1.2KB);schema-test 从此断言 Registry 的限制本身(description 1..100、title 1..100、name 反向 DNS 形式且 ≤200、版本必须是具体值而不是范围、_meta ≤4096 字节、每个声明的环境变量都要有 name),原有的「声明==读取」双向核对保留;package.json / dsh.plugin.json / server.json / README 版本行统一 0.8.1,dsh.plugin.json 的描述补上 0.8.0 起就漏掉的第二种交付形态。发现方式和本仓大多数缺陷一样:拿真的东西跑一次检查——Registry schema 是为 0.8.0 发版重新抓取的(计划 R7 说它处于 preview,规则可能变),校验用的是 DSH 安装树里已有的 ajv,所以「server.json 通过校验」是一条有退出码的命令,不是一个意见。
22
+
23
+ ## 0.8.0 — 2026-11-24
24
+
25
+ > Published 2026-11-24T01:21:32.334Z (registry `time` for 0.8.0, read from the packument, not from a commit date).
14
26
 
15
27
  > 0.8.0 让同一个引擎多开一条通道,而第二条不是第二份实现:新增 stdio MCP server(bin: wpm-mcp),DSH 插件形态一行未改——同一个 apply()、同样的 11 个动作、同样的 17 个拒绝码、同样的闸序与审计。这是对 2026-11-19「form = A,不做 MCP」的有意反转,并且反转写进契约文件而不是只留在提交信息里:tools.json 新增 mcpProjection 与 hostProjection 并列,status 行明写哪条决定被反转、何时、为何(Registry 只收 MCP server,而 DSH 能桥接一个,于是一份实现触达两个渠道)。本批未新增动作、未新增拒绝码,src/engine/ 下零改动。tools/list 由 tools.json 生成而非抄写:每个动作一个 oneOf 分支,其 properties/required/additionalProperties 逐字段来自该动作的声明,action 枚举即契约动作表,描述里每个动作都带自己声明的档位、每个拒绝码都带契约已有的那句摘要。仍只暴露 1 个工具 wpm。设置只来自环境变量(WPM_*),绝不来自调用参数——能自己抬天花板或往白名单里加自己的调用方会让授权模型形同虚设;默认值仍只在 lib/index.js 一处。截图除文本外附带 base64 image 内容(管道那端打不开本机路径),而 screenRect/scale/identity/frame/captureBackend 始终在文本里;实测过 DSH 桥:宿主没有附件存储时会把图片降级成 [image unavailable: …] 文本而数字全部保留,因此默认附图为像素不会让调用方丢掉它真正需要的信息。server.json 为 Registry 清单(命名空间 io.github.drscrewdriver/dsh-windows-parallel-mcp、唯一可接受的 npm 源、stdio 传输、19 个环境变量,schema-test 双向断言「声明的都会读、读的都声明」)。修掉两处:非法参数本会被当成 -32603 服务端故障(现为题级错误并明写是哪个参数),以及 execFileSync 找 npm 在 Windows 上 ENOENT 导致「本机没装 DSH」的假象。第 22 道门禁 check-mcp-schema 起真服务读真响应并与契约逐字段比对,self-test 同时变异两侧:4 个服务端改动必须见红,2 个契约侧改动(改名一个参数、翻转一个 additionalProperties)必须保持绿且必须跟着变——只破坏生成器无法区分「生成」与「今天恰好一致的抄写」。mcp-stdio 38 条断言(stdout 无一行非 JSON、通知不回复、垃圾行不杀进程、并发按 id 配对不串号、stdin 关闭 exit 0),mcp-bridge 17 条(用宿主自带的 client SDK 与 createMcpToolDefinition,两形态同进程调用首行输出必须相同;无 DSH 安装时如实 SKIP)。全量门禁 22 臂 ×3 GATE GREEN。详情见英文权威条目。
16
28
 
package/README.de.md CHANGED
@@ -5,7 +5,7 @@
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
- > **Current release: 0.8.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.8.2** — this document describes the contract as of that version. What
9
9
  > changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
10
10
 
11
11
  A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
@@ -471,6 +471,13 @@ package as its ownership proof. A DSH profile can bridge it instead of loading t
471
471
  (`@deepseek-ai/dsh-mcp-client`, stdio transport), which registers the tool as `mcp__<serverName>__wpm`;
472
472
  `test/mcp-bridge.mjs` drives that bridge with the host's own client SDK and tool-definition code.
473
473
 
474
+ **The manifest is validated, not guessed.** `server.json` is checked against the Registry's own JSON
475
+ Schema (2025-12-11) and `test/schema-test.mjs` keeps the limits in the gate: `description` at most 100
476
+ characters, `title` at most 100, a reverse-DNS `name`, one concrete version rather than a range,
477
+ `_meta` under 4 KB, and every environment variable declared that the server actually reads. The reason
478
+ those lines exist is that 0.8.0 shipped an 800-character `description` and the validator refused it: a
479
+ manifest a registry rejects is a form nobody can install from a listing, and 0.8.1 is that correction.
480
+
474
481
  ## Typed surface
475
482
 
476
483
  `types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
package/README.es.md CHANGED
@@ -5,7 +5,7 @@
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
- > **Current release: 0.8.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.8.2** — this document describes the contract as of that version. What
9
9
  > changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
10
10
 
11
11
  A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
@@ -471,6 +471,13 @@ package as its ownership proof. A DSH profile can bridge it instead of loading t
471
471
  (`@deepseek-ai/dsh-mcp-client`, stdio transport), which registers the tool as `mcp__<serverName>__wpm`;
472
472
  `test/mcp-bridge.mjs` drives that bridge with the host's own client SDK and tool-definition code.
473
473
 
474
+ **The manifest is validated, not guessed.** `server.json` is checked against the Registry's own JSON
475
+ Schema (2025-12-11) and `test/schema-test.mjs` keeps the limits in the gate: `description` at most 100
476
+ characters, `title` at most 100, a reverse-DNS `name`, one concrete version rather than a range,
477
+ `_meta` under 4 KB, and every environment variable declared that the server actually reads. The reason
478
+ those lines exist is that 0.8.0 shipped an 800-character `description` and the validator refused it: a
479
+ manifest a registry rejects is a form nobody can install from a listing, and 0.8.1 is that correction.
480
+
474
481
  ## Typed surface
475
482
 
476
483
  `types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
package/README.fr.md CHANGED
@@ -5,7 +5,7 @@
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
- > **Current release: 0.8.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.8.2** — this document describes the contract as of that version. What
9
9
  > changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
10
10
 
11
11
  A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
@@ -471,6 +471,13 @@ package as its ownership proof. A DSH profile can bridge it instead of loading t
471
471
  (`@deepseek-ai/dsh-mcp-client`, stdio transport), which registers the tool as `mcp__<serverName>__wpm`;
472
472
  `test/mcp-bridge.mjs` drives that bridge with the host's own client SDK and tool-definition code.
473
473
 
474
+ **The manifest is validated, not guessed.** `server.json` is checked against the Registry's own JSON
475
+ Schema (2025-12-11) and `test/schema-test.mjs` keeps the limits in the gate: `description` at most 100
476
+ characters, `title` at most 100, a reverse-DNS `name`, one concrete version rather than a range,
477
+ `_meta` under 4 KB, and every environment variable declared that the server actually reads. The reason
478
+ those lines exist is that 0.8.0 shipped an 800-character `description` and the validator refused it: a
479
+ manifest a registry rejects is a form nobody can install from a listing, and 0.8.1 is that correction.
480
+
474
481
  ## Typed surface
475
482
 
476
483
  `types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
package/README.it.md CHANGED
@@ -5,7 +5,7 @@
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
- > **Current release: 0.8.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.8.2** — this document describes the contract as of that version. What
9
9
  > changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
10
10
 
11
11
  A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
@@ -471,6 +471,13 @@ package as its ownership proof. A DSH profile can bridge it instead of loading t
471
471
  (`@deepseek-ai/dsh-mcp-client`, stdio transport), which registers the tool as `mcp__<serverName>__wpm`;
472
472
  `test/mcp-bridge.mjs` drives that bridge with the host's own client SDK and tool-definition code.
473
473
 
474
+ **The manifest is validated, not guessed.** `server.json` is checked against the Registry's own JSON
475
+ Schema (2025-12-11) and `test/schema-test.mjs` keeps the limits in the gate: `description` at most 100
476
+ characters, `title` at most 100, a reverse-DNS `name`, one concrete version rather than a range,
477
+ `_meta` under 4 KB, and every environment variable declared that the server actually reads. The reason
478
+ those lines exist is that 0.8.0 shipped an 800-character `description` and the validator refused it: a
479
+ manifest a registry rejects is a form nobody can install from a listing, and 0.8.1 is that correction.
480
+
474
481
  ## Typed surface
475
482
 
476
483
  `types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
package/README.ja.md CHANGED
@@ -5,7 +5,7 @@
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
- > **Current release: 0.8.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.8.2** — this document describes the contract as of that version. What
9
9
  > changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
10
10
 
11
11
  A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
@@ -471,6 +471,13 @@ package as its ownership proof. A DSH profile can bridge it instead of loading t
471
471
  (`@deepseek-ai/dsh-mcp-client`, stdio transport), which registers the tool as `mcp__<serverName>__wpm`;
472
472
  `test/mcp-bridge.mjs` drives that bridge with the host's own client SDK and tool-definition code.
473
473
 
474
+ **The manifest is validated, not guessed.** `server.json` is checked against the Registry's own JSON
475
+ Schema (2025-12-11) and `test/schema-test.mjs` keeps the limits in the gate: `description` at most 100
476
+ characters, `title` at most 100, a reverse-DNS `name`, one concrete version rather than a range,
477
+ `_meta` under 4 KB, and every environment variable declared that the server actually reads. The reason
478
+ those lines exist is that 0.8.0 shipped an 800-character `description` and the validator refused it: a
479
+ manifest a registry rejects is a form nobody can install from a listing, and 0.8.1 is that correction.
480
+
474
481
  ## Typed surface
475
482
 
476
483
  `types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
package/README.ko.md CHANGED
@@ -5,7 +5,7 @@
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
- > **Current release: 0.8.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.8.2** — this document describes the contract as of that version. What
9
9
  > changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
10
10
 
11
11
  A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
@@ -471,6 +471,13 @@ package as its ownership proof. A DSH profile can bridge it instead of loading t
471
471
  (`@deepseek-ai/dsh-mcp-client`, stdio transport), which registers the tool as `mcp__<serverName>__wpm`;
472
472
  `test/mcp-bridge.mjs` drives that bridge with the host's own client SDK and tool-definition code.
473
473
 
474
+ **The manifest is validated, not guessed.** `server.json` is checked against the Registry's own JSON
475
+ Schema (2025-12-11) and `test/schema-test.mjs` keeps the limits in the gate: `description` at most 100
476
+ characters, `title` at most 100, a reverse-DNS `name`, one concrete version rather than a range,
477
+ `_meta` under 4 KB, and every environment variable declared that the server actually reads. The reason
478
+ those lines exist is that 0.8.0 shipped an 800-character `description` and the validator refused it: a
479
+ manifest a registry rejects is a form nobody can install from a listing, and 0.8.1 is that correction.
480
+
474
481
  ## Typed surface
475
482
 
476
483
  `types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
package/README.md CHANGED
@@ -1,7 +1,7 @@
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
- > **Current release: 0.8.0** — this document describes the contract as of that version. What
4
+ > **Current release: 0.8.2** — this document describes the contract as of that version. What
5
5
  > changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
6
6
 
7
7
  A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
@@ -467,6 +467,13 @@ package as its ownership proof. A DSH profile can bridge it instead of loading t
467
467
  (`@deepseek-ai/dsh-mcp-client`, stdio transport), which registers the tool as `mcp__<serverName>__wpm`;
468
468
  `test/mcp-bridge.mjs` drives that bridge with the host's own client SDK and tool-definition code.
469
469
 
470
+ **The manifest is validated, not guessed.** `server.json` is checked against the Registry's own JSON
471
+ Schema (2025-12-11) and `test/schema-test.mjs` keeps the limits in the gate: `description` at most 100
472
+ characters, `title` at most 100, a reverse-DNS `name`, one concrete version rather than a range,
473
+ `_meta` under 4 KB, and every environment variable declared that the server actually reads. The reason
474
+ those lines exist is that 0.8.0 shipped an 800-character `description` and the validator refused it: a
475
+ manifest a registry rejects is a form nobody can install from a listing, and 0.8.1 is that correction.
476
+
470
477
  ## Typed surface
471
478
 
472
479
  `types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
package/README.pt.md CHANGED
@@ -5,7 +5,7 @@
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
- > **Current release: 0.8.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.8.2** — this document describes the contract as of that version. What
9
9
  > changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
10
10
 
11
11
  A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
@@ -471,6 +471,13 @@ package as its ownership proof. A DSH profile can bridge it instead of loading t
471
471
  (`@deepseek-ai/dsh-mcp-client`, stdio transport), which registers the tool as `mcp__<serverName>__wpm`;
472
472
  `test/mcp-bridge.mjs` drives that bridge with the host's own client SDK and tool-definition code.
473
473
 
474
+ **The manifest is validated, not guessed.** `server.json` is checked against the Registry's own JSON
475
+ Schema (2025-12-11) and `test/schema-test.mjs` keeps the limits in the gate: `description` at most 100
476
+ characters, `title` at most 100, a reverse-DNS `name`, one concrete version rather than a range,
477
+ `_meta` under 4 KB, and every environment variable declared that the server actually reads. The reason
478
+ those lines exist is that 0.8.0 shipped an 800-character `description` and the validator refused it: a
479
+ manifest a registry rejects is a form nobody can install from a listing, and 0.8.1 is that correction.
480
+
474
481
  ## Typed surface
475
482
 
476
483
  `types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
package/README.ru.md CHANGED
@@ -5,7 +5,7 @@
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
- > **Current release: 0.8.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.8.2** — this document describes the contract as of that version. What
9
9
  > changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
10
10
 
11
11
  A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
@@ -471,6 +471,13 @@ package as its ownership proof. A DSH profile can bridge it instead of loading t
471
471
  (`@deepseek-ai/dsh-mcp-client`, stdio transport), which registers the tool as `mcp__<serverName>__wpm`;
472
472
  `test/mcp-bridge.mjs` drives that bridge with the host's own client SDK and tool-definition code.
473
473
 
474
+ **The manifest is validated, not guessed.** `server.json` is checked against the Registry's own JSON
475
+ Schema (2025-12-11) and `test/schema-test.mjs` keeps the limits in the gate: `description` at most 100
476
+ characters, `title` at most 100, a reverse-DNS `name`, one concrete version rather than a range,
477
+ `_meta` under 4 KB, and every environment variable declared that the server actually reads. The reason
478
+ those lines exist is that 0.8.0 shipped an 800-character `description` and the validator refused it: a
479
+ manifest a registry rejects is a form nobody can install from a listing, and 0.8.1 is that correction.
480
+
474
481
  ## Typed surface
475
482
 
476
483
  `types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
package/README.zh.md CHANGED
@@ -5,7 +5,7 @@
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
- > **Current release: 0.8.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.8.2** — this document describes the contract as of that version. What
9
9
  > changed in it, and in every version before it, is in [CHANGELOG.md](CHANGELOG.md), newest first.
10
10
 
11
11
  A DSH plugin that lets an agent drive **its own** Windows windows — quietly by default, and visibly
@@ -471,6 +471,13 @@ package as its ownership proof. A DSH profile can bridge it instead of loading t
471
471
  (`@deepseek-ai/dsh-mcp-client`, stdio transport), which registers the tool as `mcp__<serverName>__wpm`;
472
472
  `test/mcp-bridge.mjs` drives that bridge with the host's own client SDK and tool-definition code.
473
473
 
474
+ **The manifest is validated, not guessed.** `server.json` is checked against the Registry's own JSON
475
+ Schema (2025-12-11) and `test/schema-test.mjs` keeps the limits in the gate: `description` at most 100
476
+ characters, `title` at most 100, a reverse-DNS `name`, one concrete version rather than a range,
477
+ `_meta` under 4 KB, and every environment variable declared that the server actually reads. The reason
478
+ those lines exist is that 0.8.0 shipped an 800-character `description` and the validator refused it: a
479
+ manifest a registry rejects is a form nobody can install from a listing, and 0.8.1 is that correction.
480
+
474
481
  ## Typed surface
475
482
 
476
483
  `types/index.d.ts` is written by hand, not emitted from an implementation. It covers the whole
package/dsh.plugin.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "id": "dsh-external/dsh-windows-parallel-mcp",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "main": "./lib/index.js",
5
- "description": "One tool, eleven actions: drive a Windows window quietly by default, read the target as a numbered element frame, and since 0.7.0 start a whitelisted program, touch the clipboard, and change one named window. Prefers window messages (zero foreground change); falls back to UI Automation with a bounded, self-reversing focus flash (measured net return 15-95 ms); offers an opt-in takeover tier (policy:'full' AND takeoverAllowed) where the cursor moves to the action point and is always restored, with a mandatory three-phase HUD and three interruption paths; adds snapshot/screenshot/preview, where labels address the UIA element itself and image coordinates are converted by the engine; reads a write back (effect=readback-verified only when the field's own value matches a prediction built from the control's measurements) with caretPosition, disabled/focus reporting and a BitBlt capture path named as captureBackend; and gates everything through one ceiling (policy) plus a per-program launch whitelist, an idle check that refuses instead of interrupting, and an append-only JSONL audit log.",
5
+ "description": "One tool, eleven actions: drive a Windows window quietly by default, read the target as a numbered element frame, and since 0.7.0 start a whitelisted program, touch the clipboard, and change one named window. Prefers window messages (zero foreground change); falls back to UI Automation with a bounded, self-reversing focus flash (measured net return 15-95 ms); offers an opt-in takeover tier (policy:'full' AND takeoverAllowed) where the cursor moves to the action point and is always restored, with a mandatory three-phase HUD and three interruption paths; adds snapshot/screenshot/preview, where labels address the UIA element itself and image coordinates are converted by the engine; reads a write back (effect=readback-verified only when the field's own value matches a prediction built from the control's measurements) with caretPosition, disabled/focus reporting and a BitBlt capture path named as captureBackend; and gates everything through one ceiling (policy) plus a per-program launch whitelist, an idle check that refuses instead of interrupting, and an append-only JSONL audit log. Since 0.8.0 the same engine also answers as an MCP server over stdio (bin: wpm-mcp), with the tool list generated from the same contract file.",
6
6
  "engines": {
7
7
  "dsh": ">=0.1.7-0 <0.3.0-0"
8
8
  },
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "dsh-windows-parallel-mcp",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "tag": "latest",
7
7
  "registry": "https://registry.npmjs.org/"
8
8
  },
9
- "description": "Drive a Windows window quietly by default and visibly on request: one tool, eleven actions (windows, status, click, type, focus, snapshot, screenshot, preview, launch, clipboard, window), a channel decision table that prefers the quiet door, a bounded self-reversing focus flash when only UI Automation can reach the control, an opt-in takeover tier (policy full AND takeoverAllowed) where the real cursor moves to the action point and is always restored, a read surface that hands the model a numbered element frame plus screenshot coordinates as data so it never multiplies a scale factor, and since 0.6.0 a read-back of every write: effect=readback-verified only when the field's own value matches a prediction built from the control's measurements, with caretPosition, disabled/focus reporting and the capture path named as captureBackend. 0.7.0 adds the three desktop capabilities behind one ceiling (policy), an exact launch whitelist, an idle check that refuses instead of interrupting the owner, and an append-only JSONL audit log that records decisions and lengths but never payloads. Windows PowerShell 5.1 sidecar, zero install dependencies, no mouse injection.",
9
+ "description": "Drive a Windows window quietly by default and visibly on request: one tool, eleven actions (windows, status, click, type, focus, snapshot, screenshot, preview, launch, clipboard, window), a channel decision table that prefers the quiet door, a bounded self-reversing focus flash when only UI Automation can reach the control, an opt-in takeover tier (policy full AND takeoverAllowed) where the real cursor moves to the action point and is always restored, a read surface that hands the model a numbered element frame plus screenshot coordinates as data so it never multiplies a scale factor, and since 0.6.0 a read-back of every write: effect=readback-verified only when the field's own value matches a prediction built from the control's measurements, with caretPosition, disabled/focus reporting and the capture path named as captureBackend. 0.7.0 adds the three desktop capabilities behind one ceiling (policy), an exact launch whitelist, an idle check that refuses instead of interrupting the owner, and an append-only JSONL audit log that records decisions and lengths but never payloads. Since 0.8.0 the same engine also answers as an MCP server over stdio (bin: wpm-mcp, zero dependencies), whose tools/list is generated from the same contract file and whose settings come from the environment rather than from the call. Windows PowerShell 5.1 sidecar, zero install dependencies, no mouse injection.",
10
10
  "keywords": [
11
11
  "deepseek",
12
12
  "deepseek-harness",
@@ -16,6 +16,9 @@
16
16
  "parallel",
17
17
  "hwnd",
18
18
  "ui-automation",
19
+ "mcp",
20
+ "mcp-server",
21
+ "stdio",
19
22
  "computer-use"
20
23
  ],
21
24
  "license": "MIT",
package/server.json CHANGED
@@ -1,109 +1,110 @@
1
- {
2
- "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
- "name": "io.github.drscrewdriver/dsh-windows-parallel-mcp",
4
- "title": "Windows Parallel",
5
- "description": "Drive one Windows window through eleven declared actions, choosing the cheapest door that can reach the target: window messages for a classic control (zero foreground changes), one bounded self-reversing UI Automation flash when only a pattern can reach it, and an opt-in takeover tier where the real cursor moves and is always restored. Writes are read back and the effect value names who reported success; screenshots name the capture path that painted them. Refusals carry a code that names the switch or the missing fact, the policy ceiling is set by the process owner and never by a call, and every action appends one audit row that records decisions and lengths but never the content typed or copied. Windows only, PowerShell 5.1 sidecar, zero install dependencies, no mouse-event injection.",
6
- "version": "0.8.0",
7
- "repository": {
8
- "url": "https://github.com/drscrewdriver/dsh-windows-parallel-mcp",
9
- "source": "github"
10
- },
11
- "websiteUrl": "https://github.com/drscrewdriver/dsh-windows-parallel-mcp#readme",
12
- "packages": [
13
- {
14
- "registryType": "npm",
15
- "registryBaseUrl": "https://registry.npmjs.org",
16
- "identifier": "dsh-windows-parallel-mcp",
17
- "version": "0.8.0",
18
- "transport": {
19
- "type": "stdio"
20
- },
21
- "environmentVariables": [
22
- {
23
- "name": "WPM_POLICY",
24
- "description": "Authorization ceiling over all eleven actions: readonly | quiet | balanced | full. Default balanced. A call above it is refused with policy_denied, and the next step is to raise this setting, not to retry."
25
- },
26
- {
27
- "name": "WPM_TAKEOVER_ALLOWED",
28
- "description": "Capability switch for the takeover tier (the real cursor moving to the action point). Default false, and it is not implied by WPM_POLICY=full: both are needed."
29
- },
30
- {
31
- "name": "WPM_KEY_INJECT_ALLOWED",
32
- "description": "Capability switch for keyInput:'inject' (synthetic keyboard input into the foreground target). Default false."
33
- },
34
- {
35
- "name": "WPM_APP_LAUNCH_ALLOWED",
36
- "description": "Capability switch for the launch action. Default false; nothing may start while it is off."
37
- },
38
- {
39
- "name": "WPM_APP_LAUNCH_ALLOW",
40
- "description": "Comma-separated exact-name whitelist for launch (case-folded, no wildcard, no prefix match). Empty by default. A whitelist vouches for a program, not for the arguments it is given; both the target and the arguments are written to the audit log."
41
- },
42
- {
43
- "name": "WPM_POLICY_IDLE_MS",
44
- "description": "How long the owner must have been away from the keyboard before a takeover-grade action is allowed. Default 3000. While they are active the call is refused with user_active rather than interrupting them; no dialog is offered instead."
45
- },
46
- {
47
- "name": "WPM_OVERLAY",
48
- "description": "The click-through overlay and the global pause chord (Ctrl+Alt+Q). Default true -- a visible aid that tells the human something is being driven. Set false only if the hotkey cannot be registered on this machine."
49
- },
50
- {
51
- "name": "WPM_ENABLED",
52
- "description": "Master switch. Default true. False refuses every action with paused before anything is touched -- a switched-off plugin does not so much as start its sidecar."
53
- },
54
- {
55
- "name": "WPM_SETTLE_MS",
56
- "description": "How long the engine waits after a write before it reads the control back. Default 350. The read-back prediction is built after this window, so a value that is too small reports readbackMismatch rather than lying about success."
57
- },
58
- {
59
- "name": "WPM_REQUEST_TIMEOUT_MS",
60
- "description": "Budget for one sidecar round trip. Default 20000."
61
- },
62
- {
63
- "name": "WPM_POWERSHELL_PATH",
64
- "description": "Absolute path to the PowerShell executable, for a machine where powershell.exe is not on PATH. Default empty (find it the usual way)."
65
- },
66
- {
67
- "name": "WPM_LOG_WORKER_STDERR",
68
- "description": "Forward the sidecar's stderr to this server's stderr. Default false; switch it on when a worker dies before answering."
69
- },
70
- {
71
- "name": "WPM_TAKEOVER_MAX_MS",
72
- "description": "Longest a single takeover may hold the cursor. Default 10000, clamped 500-60000; it is a ceiling on the tier, not a way to opt in."
73
- },
74
- {
75
- "name": "WPM_TAKEOVER_ARM_MS",
76
- "description": "The HUD's arm phase before the cursor moves. Default 800, so a human sees it coming and can use the stop button or the pause chord."
77
- },
78
- {
79
- "name": "WPM_SNAPSHOT_MAX_ELEMENTS",
80
- "description": "Element cap for one snapshot. Default 300, clamped 1-5000, and the number actually used is reported back on the result rather than assumed."
81
- },
82
- {
83
- "name": "WPM_SCREENSHOT_MAX_WIDTH",
84
- "description": "Resize width for screenshots. Default 0 = no scaling, because a silently rescaled picture makes every coordinate the model reads wrong. Any scaling is stated on the result as scale/identity."
85
- },
86
- {
87
- "name": "WPM_SHOTS_KEEP",
88
- "description": "How many recent screenshots to retain. Default 10, clamped 1-200."
89
- },
90
- {
91
- "name": "WPM_AUDIT_KEEP",
92
- "description": "How many newest rows of %LOCALAPPDATA%\\wpm\\audit.log to retain. Default 2000."
93
- },
94
- {
95
- "name": "WPM_MCP_NO_IMAGE",
96
- "description": "Set to 1 to stop attaching screenshot pixels as base64 image content; the text result still names the file, the rect, the scale and the capture backend."
97
- }
98
- ]
99
- }
100
- ],
101
- "_meta": {
102
- "io.modelcontextprotocol.registry/publisher-provided": {
103
- "platform": "windows",
104
- "requires": "Windows PowerShell 5.1 (ships with Windows) and Node >= 20. No install dependencies; no build step.",
105
- "sameEngineTwoForms": "lib/index.js is the DSH plugin half and lib/mcp-server.mjs is this stdio half; both drive one PowerShell engine, so the actions, the refusal vocabulary, the gates and the audit log are identical in either form.",
106
- "schemaSource": "tools/list is generated from src/schema/tools.json at start-up -- the action surface is declared once."
107
- }
108
- }
109
- }
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.drscrewdriver/dsh-windows-parallel-mcp",
4
+ "title": "Windows Parallel",
5
+ "description": "Drive a Windows window over MCP stdio: quiet by default, one policy ceiling, coded refusals.",
6
+ "version": "0.8.2",
7
+ "repository": {
8
+ "url": "https://github.com/drscrewdriver/dsh-windows-parallel-mcp",
9
+ "source": "github"
10
+ },
11
+ "websiteUrl": "https://github.com/drscrewdriver/dsh-windows-parallel-mcp#readme",
12
+ "packages": [
13
+ {
14
+ "registryType": "npm",
15
+ "registryBaseUrl": "https://registry.npmjs.org",
16
+ "identifier": "dsh-windows-parallel-mcp",
17
+ "version": "0.8.2",
18
+ "transport": {
19
+ "type": "stdio"
20
+ },
21
+ "environmentVariables": [
22
+ {
23
+ "name": "WPM_POLICY",
24
+ "description": "Authorization ceiling over all eleven actions: readonly | quiet | balanced | full. Default balanced. A call above it is refused with policy_denied, and the next step is to raise this setting, not to retry."
25
+ },
26
+ {
27
+ "name": "WPM_TAKEOVER_ALLOWED",
28
+ "description": "Capability switch for the takeover tier (the real cursor moving to the action point). Default false, and it is not implied by WPM_POLICY=full: both are needed."
29
+ },
30
+ {
31
+ "name": "WPM_KEY_INJECT_ALLOWED",
32
+ "description": "Capability switch for keyInput:'inject' (synthetic keyboard input into the foreground target). Default false."
33
+ },
34
+ {
35
+ "name": "WPM_APP_LAUNCH_ALLOWED",
36
+ "description": "Capability switch for the launch action. Default false; nothing may start while it is off."
37
+ },
38
+ {
39
+ "name": "WPM_APP_LAUNCH_ALLOW",
40
+ "description": "Comma-separated exact-name whitelist for launch (case-folded, no wildcard, no prefix match). Empty by default. A whitelist vouches for a program, not for the arguments it is given; both the target and the arguments are written to the audit log."
41
+ },
42
+ {
43
+ "name": "WPM_POLICY_IDLE_MS",
44
+ "description": "How long the owner must have been away from the keyboard before a takeover-grade action is allowed. Default 3000. While they are active the call is refused with user_active rather than interrupting them; no dialog is offered instead."
45
+ },
46
+ {
47
+ "name": "WPM_OVERLAY",
48
+ "description": "The click-through overlay and the global pause chord (Ctrl+Alt+Q). Default true -- a visible aid that tells the human something is being driven. Set false only if the hotkey cannot be registered on this machine."
49
+ },
50
+ {
51
+ "name": "WPM_ENABLED",
52
+ "description": "Master switch. Default true. False refuses every action with paused before anything is touched -- a switched-off plugin does not so much as start its sidecar."
53
+ },
54
+ {
55
+ "name": "WPM_SETTLE_MS",
56
+ "description": "How long the engine waits after a write before it reads the control back. Default 350. The read-back prediction is built after this window, so a value that is too small reports readbackMismatch rather than lying about success."
57
+ },
58
+ {
59
+ "name": "WPM_REQUEST_TIMEOUT_MS",
60
+ "description": "Budget for one sidecar round trip. Default 20000."
61
+ },
62
+ {
63
+ "name": "WPM_POWERSHELL_PATH",
64
+ "description": "Absolute path to the PowerShell executable, for a machine where powershell.exe is not on PATH. Default empty (find it the usual way)."
65
+ },
66
+ {
67
+ "name": "WPM_LOG_WORKER_STDERR",
68
+ "description": "Forward the sidecar's stderr to this server's stderr. Default false; switch it on when a worker dies before answering."
69
+ },
70
+ {
71
+ "name": "WPM_TAKEOVER_MAX_MS",
72
+ "description": "Longest a single takeover may hold the cursor. Default 10000, clamped 500-60000; it is a ceiling on the tier, not a way to opt in."
73
+ },
74
+ {
75
+ "name": "WPM_TAKEOVER_ARM_MS",
76
+ "description": "The HUD's arm phase before the cursor moves. Default 800, so a human sees it coming and can use the stop button or the pause chord."
77
+ },
78
+ {
79
+ "name": "WPM_SNAPSHOT_MAX_ELEMENTS",
80
+ "description": "Element cap for one snapshot. Default 300, clamped 1-5000, and the number actually used is reported back on the result rather than assumed."
81
+ },
82
+ {
83
+ "name": "WPM_SCREENSHOT_MAX_WIDTH",
84
+ "description": "Resize width for screenshots. Default 0 = no scaling, because a silently rescaled picture makes every coordinate the model reads wrong. Any scaling is stated on the result as scale/identity."
85
+ },
86
+ {
87
+ "name": "WPM_SHOTS_KEEP",
88
+ "description": "How many recent screenshots to retain. Default 10, clamped 1-200."
89
+ },
90
+ {
91
+ "name": "WPM_AUDIT_KEEP",
92
+ "description": "How many newest rows of %LOCALAPPDATA%\\wpm\\audit.log to retain. Default 2000."
93
+ },
94
+ {
95
+ "name": "WPM_MCP_NO_IMAGE",
96
+ "description": "Set to 1 to stop attaching screenshot pixels as base64 image content; the text result still names the file, the rect, the scale and the capture backend."
97
+ }
98
+ ]
99
+ }
100
+ ],
101
+ "_meta": {
102
+ "io.modelcontextprotocol.registry/publisher-provided": {
103
+ "platform": "windows",
104
+ "requires": "Windows PowerShell 5.1 (ships with Windows) and Node >= 20. No install dependencies; no build step.",
105
+ "sameEngineTwoForms": "lib/index.js is the DSH plugin half and lib/mcp-server.mjs is this stdio half; both drive one PowerShell engine, so the actions, the refusal vocabulary, the gates and the audit log are identical in either form.",
106
+ "schemaSource": "tools/list is generated from src/schema/tools.json at start-up -- the action surface is declared once.",
107
+ "capabilitySummary": "Eleven declared actions over one engine: window messages for a classic control (zero foreground changes), one bounded self-reversing UI Automation flash when only a pattern can reach it, and an opt-in takeover tier where the real cursor moves and is always restored. Writes are read back and the effect value names who reported success; screenshots name the capture path that painted them. Every refusal names the switch or the missing fact, and every action appends one audit row recording decisions and lengths but never the content typed or copied. Windows only, PowerShell 5.1 sidecar, zero install dependencies, no mouse-event injection."
108
+ }
109
+ }
110
+ }
@@ -89,21 +89,40 @@ function Get-WpmWindowList {
89
89
  }
90
90
 
91
91
  function Resolve-WpmChildAtPoint([IntPtr]$Hwnd, [int]$X, [int]$Y) {
92
- # Which child HWND actually sits under a screen point. Uses ChildWindowFromPointEx (the same
93
- # approach the competitor uses) instead of trusting a fixed child index: index order is not a
94
- # contract, and clicking the wrong child is indistinguishable from clicking the right one until
95
- # the app does something else.
92
+ # Which child HWND sits under a screen point, or Zero with the REASON recorded.
93
+ #
94
+ # The hit test refuses two different worlds with the same word, and the refusal text has to keep
95
+ # them apart because their next steps do not overlap: a point outside every child of the named
96
+ # window is a wrong coordinate; a point that IS inside one of our children but has a foreign window
97
+ # on top is COVERAGE.
98
+ #
99
+ # WHY COVERAGE STILL REFUSES, when SendMessageW needs no visibility. Measured 2026-11-24: with the
100
+ # owner's browser covering the target (target visible=true, rect 120,120,540,420; WindowFromPoint
101
+ # over its own button returned Chrome_WidgetWin_1), delivering WM_LBUTTONDOWN/UP to the button
102
+ # returned ok and the application NEVER RAN THE HANDLER -- focusTaken=false, button caption
103
+ # unchanged. A click the app silently ignores is worse than a refusal that says why: the first
104
+ # reports success for something that did not happen. So this refuses, names the blocker class, and
105
+ # points at the only next step that works (bring the target forward).
106
+ #
107
+ # Index order is still not a contract (the original note): when the point is ours, the child is
108
+ # chosen by which RECT holds it, never by its position in the enumeration.
96
109
  $p = New-Object 'WpmWin+POINT'
97
110
  $p.X = $X; $p.Y = $Y
98
111
  $hit = [WpmWin]::WindowFromPoint($p)
99
- if ($hit -eq [IntPtr]::Zero) { return [IntPtr]::Zero }
100
- $root = [WpmWin]::Root($hit)
101
- if ($root -ne $Hwnd) {
102
- # The point belongs to some other top-level window; acting there would be acting on a window
103
- # the caller did not name.
104
- return [IntPtr]::Zero
112
+ $script:WpmPointCovered = $false
113
+ $script:WpmPointBlocker = ''
114
+ if ($hit -ne [IntPtr]::Zero -and [WpmWin]::Root($hit) -eq $Hwnd) { return $hit }
115
+ foreach ($c in @([WpmWin]::Children($Hwnd))) {
116
+ $child = [IntPtr]$c
117
+ $r = New-Object 'WpmWin+RECT'
118
+ if (-not [WpmWin]::GetWindowRect($child, [ref]$r)) { continue }
119
+ if ($X -ge $r.Left -and $X -lt $r.Right -and $Y -ge $r.Top -and $Y -lt $r.Bottom) {
120
+ $script:WpmPointCovered = $true
121
+ if ($hit -ne [IntPtr]::Zero) { $script:WpmPointBlocker = [WpmWin]::Cls([WpmWin]::Root($hit)) }
122
+ return [IntPtr]::Zero
123
+ }
105
124
  }
106
- return $hit
125
+ return [IntPtr]::Zero
107
126
  }
108
127
 
109
128
  function Get-WpmProofWindow {
@@ -692,7 +711,10 @@ function Invoke-WpmAction {
692
711
  }
693
712
  $child = Resolve-WpmChildAtPoint $h $X $Y
694
713
  if ($child -eq [IntPtr]::Zero) {
695
- $result.refusal = 'unreachable'; $result.reason = 'no child window of the target sits under that point'
714
+ $result.refusal = 'unreachable'
715
+ $result.reason = $(if ($script:WpmPointCovered) {
716
+ "the point is inside a child of the target but another window is on top (blocker class=$($script:WpmPointBlocker)); a message press there is accepted and ignored -- the application never runs the handler. Next step: bring the target to the front, or choose a point that is visible"
717
+ } else { 'no child window of the target sits under that point' })
696
718
  $result.latencyMs = [DateTimeOffset]::UtcNow.ToUnixTimeMilliseconds() - $started
697
719
  return $result
698
720
  }