dsh-windows-parallel-mcp 0.4.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.de.md CHANGED
@@ -8,8 +8,20 @@ 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.6.0 — 2026-11-23
12
+
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.6.0, read from the packument, not from a commit date).
14
+
15
+ > 0.6.0 hebt `type` von „gesendet“ auf „das Feld enthält wirklich diesen Wert“: vierter `effect=readback-verified`, nur wenn der zurückgelesene Wert mit der Vorhersage übereinstimmt, die aus den Messungen DES CONTROLS gebaut wurde (Vorwert, WM_GETTEXTLENGTH, EM_GETSEL-Einfügepunkt); ein maskiertes Feld meldet `readback=unavailable`, eine umformatierende Anwendung `readbackMismatch=true` — beides ohne Hochstufung und doch `ok:true`. `caretPosition: idle|start|end` — gemessen ist `EM_SETSEL(-1,-1)` auf WinForms-EDIT ein No-op, daher nutzt `end` (len,len), und das Ergebnis trennt `asked=` und `applied=`. Fokus direkt vor/nach dem Senden erneut gemessen (`focusMoved`); deaktiviertes Ziel meldet `disabled=true` und `effect` auf `unverified` festgelegt. Screenshot nimmt bevorzugt BitBlt und meldet `captureBackend=bitblt|gdiplus` (Standbild: 0 Kanal-Differenz, byteidentische PNGs; der Engpass ist die Kodierung, nicht die Aufnahme). Gate 20 `check-shot-backend` (sieben Mutationen, jede rot) und `test/readback-truth.mjs` (36 Assertions, gegen die Selbstauskunft der App geprüft). Ein alter Defekt ist behoben: `SendMessageStrW` existiert nicht in user32.dll, darum scheiterte `replace:true` auf jedem Ziel. Keine neuen Verweigerungscodes. Autoritativ ist der englische Eintrag.
16
+
17
+ ## 0.5.0 — 2026-11-23
18
+
19
+ > 0.5.0 macht den „Rahmen“ für Aufrufer lesbar und nimmt die Koordinatenrechnung aus der Hand des Modells: drei Lese-Aktionen (`snapshot` als nummerierte Elementtabelle, `screenshot` mit der Zuordnung als Daten, `preview` mit dem Element unter einem Punkt als Text), `label`-Adressierung über die RuntimeId auf das Element zurückgeführt, `space:"image"` vom Motor umgerechnet, und ein vierzehnter Ablehnungscode `stale_ref`. Die geplante Invariante „jedes Element-Rect liegt in screenRect“ wurde durch Messung widerlegt (Überstände von 3/18/287/2720px; ein Rect ist eine absolute Bildschirmkoordinate und hängt gar nicht vom Rahmen ab) — ersetzt durch gezähltes Ausschließen nicht überlappender Elemente, einen Kreuzvergleich des Rahmens mit dem vom Baum gemeldeten Fenster-Rect (frameCheck/frameInset) und ein Struktur-Gate für die einzige Rahmenquelle. Gates 17→19, zwei unabhängige Oracle-Suiten. Details im englischen Eintrag. Zwei weitere Korrekturen: `uia_tree_empty` wird nicht mehr für Fenster gemeldet, die eine Tür haben, deren Tür aber durch `elementName` unterdrückt wurde (WinForms antwortet jetzt `unreachable`), und die Cursor-Drift-Assertion, die das Gate sporadisch rot färbte, schließt die Bewegung des Besitzers über `GetLastInputInfo` aus (SKIP mit age/Fenster bei Eingabe; der exakte Read-back des Motors bleibt eine harte Assertion).
20
+
11
21
  ## 0.4.1 — 2026-11-23
12
22
 
23
+ > Published 2026-11-23T11:07:25.234Z (registry `time` for 0.4.1, read from the packument, not from a commit date).
24
+
13
25
  > 0.4.1 ist ein Dokumentations- und Gate-Release ohne Laufzeitänderung (`lib/`, `src/engine/` byteweise unverändert). Behebt die README-Kopfzeile, die weiterhin 0.2.0 verkündete, und ergänzt den völlig fehlenden Abschnitt zu `types/index.d.ts`. Drei neue Gates: die Release-Zeile gegen `package.json` geprüft, byteweise Identität des englischen Texts in den neun Übersetzungen, und ein Consumer-Test, der über den Paketnamen auflöst (der alte nutzte nur einen relativen Pfad, sodass das Entfernen der `types`-Bedingung alles grün ließ). Siehe englischen Eintrag.
14
26
 
15
27
  ## 0.4.0 — 2026-11-23
package/CHANGELOG.es.md CHANGED
@@ -8,8 +8,20 @@ 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.6.0 — 2026-11-23
12
+
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.6.0, read from the packument, not from a commit date).
14
+
15
+ > 0.6.0 eleva `type` de «lo envié» a «el campo contiene este valor»: cuarto `effect=readback-verified`, concedido solo cuando el valor releído coincide con la predicción construida sobre las medidas QUE EL CONTROL reportó (valor previo, WM_GETTEXTLENGTH, punto de EM_GETSEL); un campo enmascarado dice `readback=unavailable` y una app que reformatea dice `readbackMismatch=true`, ninguno se promueve y ninguno es un fallo. `caretPosition: idle|start|end` — medido: `EM_SETSEL(-1,-1)` no hace nada en EDIT de WinForms, así que `end` usa (len,len) y el resultado separa `asked=` de `applied=`. Foco re-medido en el instante del envío (`focusMoved`); objetivo deshabilitado reporta `disabled=true` con `effect` fijado a `unverified`. La captura prefiere BitBlt y declara `captureBackend=bitblt|gdiplus` (escena fija: 0 diferencia por canal, PNG idénticos byte a byte; el cuello es la codificación, no la captura). Nuevo gate 20 `check-shot-backend` (siete mutaciones, todas en rojo) y `test/readback-truth.mjs` (36 afirmaciones, juzgadas contra el auto-reporte de la app). Corregido un defecto antiguo: `SendMessageStrW` no está exportado por user32.dll, así que `replace:true` fallaba en cada objetivo. Sin nuevos códigos de rechazo. La entrada inglesa es la autoritativa.
16
+
17
+ ## 0.5.0 — 2026-11-23
18
+
19
+ > 0.5.0 hace legible el «marco» para quien llama y saca el cálculo de coordenadas de manos del modelo: tres acciones de solo lectura (`snapshot` como tabla numerada de elementos, `screenshot` que devuelve la tabla de correspondencia, `preview` que informa en texto el elemento bajo un punto), direccionamiento por `label` resuelto al elemento por su RuntimeId, `space:"image"` convertido por el motor, y un decimocuarto código de rechazo `stale_ref`. El invariante previsto «todo rect de elemento está contenido en screenRect» quedó refutado por la medición (desbordes de 3/18/287/2720px, y un rect es una coordenada absoluta de pantalla, independiente del marco): se sustituye por exclusión contada de elementos fuera de la captura, comprobación cruzada del marco con el rect que declara el árbol (frameCheck/frameInset) y una puerta estructural de fuente única. Puertas 17→19, dos suites con oráculo independiente. Detalle en la entrada inglesa. Dos correcciones más: `uia_tree_empty` ya no se informa para ventanas que sí tienen una puerta pero la suprimieron con `elementName` (WinForms responde ahora `unreachable`), y la aserción de deriva del cursor que ponía la puerta en rojo de forma intermitente ahora excluye el movimiento del dueño mediante `GetLastInputInfo` (SKIP con age/ventana si hubo entrada; el read-back exacto del motor sigue siendo una aserción estricta).
20
+
11
21
  ## 0.4.1 — 2026-11-23
12
22
 
23
+ > Published 2026-11-23T11:07:25.234Z (registry `time` for 0.4.1, read from the packument, not from a commit date).
24
+
13
25
  > 0.4.1 es una publicación solo de documentación y puertas: sin cambios en tiempo de ejecución (`lib/`, `src/engine/` intactos byte a byte). Corrige el encabezado del README que seguía anunciando 0.2.0 y añade la sección sobre `types/index.d.ts`, que faltaba por completo. Tres puertas nuevas: la línea de versión comparada con `package.json`, la identidad byte a byte del cuerpo inglés en las nueve traducciones, y una prueba de consumidor que resuelve por nombre de paquete (la anterior solo usaba una ruta relativa, así que quitar la condición `types` dejaba todo en verde). Véase la entrada en inglés.
14
26
 
15
27
  ## 0.4.0 — 2026-11-23
package/CHANGELOG.fr.md CHANGED
@@ -8,8 +8,20 @@ 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.6.0 — 2026-11-23
12
+
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.6.0, read from the packument, not from a commit date).
14
+
15
+ > 0.6.0 fait passer `type` de « envoyé » à « le champ contient bien cette valeur » : quatrième `effect=readback-verified`, accordé seulement quand la valeur relue après coup correspond à la prédiction bâtie sur les mesures que LE CONTRÔLE a rapportées (valeur précédente, WM_GETTEXTLENGTH, position EM_GETSEL) ; un champ masqué dit `readback=unavailable`, une application qui reformate dit `readbackMismatch=true`, sans promotion dans les deux cas et sans échec. `caretPosition: idle|start|end` — mesuré, `EM_SETSEL(-1,-1)` ne fait rien sur un EDIT WinForms, donc `end` utilise (len,len) et le résultat distingue `asked=` de `applied=`. Reprobe du focus à l’instant de l’envoi (`focusMoved`), cible désactivée signalée (`disabled=true`, `effect` figé à `unverified`). La capture passe en priorité par BitBlt et déclare `captureBackend=bitblt|gdiplus` (scène fixe : différence de canal 0, PNG identiques au bit près ; le goulot est l’encodage, pas la capture). Nouveau gate 20 `check-shot-backend` (sept mutations vues rouges) et `test/readback-truth.mjs` (36 assertions, jugées contre le valeur que l’application écrit elle-même). Un défaut de longue date est corrigé : `SendMessageStrW` n’est pas exporté par user32.dll, donc `replace:true` échouait sur chaque cible. Aucun nouveau code de refus. Voir l’entrée anglaise, autoritaire.
16
+
17
+ ## 0.5.0 — 2026-11-23
18
+
19
+ > 0.5.0 rend le « cadre » lisible par l'appelant et retire le calcul des coordonnées des mains du modèle : trois actions en lecture seule (`snapshot` en table d'éléments numérotée, `screenshot` qui renvoie la table de correspondance, `preview` qui rapporte en texte l'élément sous un point), l'adressage par `label` résolu vers l'élément via son RuntimeId, `space:"image"` converti par le moteur, et un quatorzième code de refus `stale_ref`. L'invariant prévu « chaque rect d'élément est contenu dans screenRect » a été réfuté par la mesure (dépassements de 3/18/287/2720px, et un rect est une coordonnée écran absolue, indépendante du cadre) : remplacé par l'exclusion comptée des éléments hors capture, un contrôle croisé du cadre avec le rect que l'arbre déclare (frameCheck/frameInset), et un garde-fou structurel de source unique. Portes 17→19 ; deux suites d'oracle indépendantes ajoutées. Voir l'entrée anglaise pour le détail. Deux corrections supplémentaires : `uia_tree_empty` n'est plus rapporté pour une fenêtre qui a bien une porte mais dont la porte a été supprimée par `elementName` (WinForms répond désormais `unreachable`), et l'assertion de dérive du curseur qui rendait la porte rouge par intermittence exclut maintenant l'action du propriétaire via `GetLastInputInfo` (SKIP avec age/fenêtre si une saisie est arrivée ; le read-back exact du moteur reste une assertion stricte).
20
+
11
21
  ## 0.4.1 — 2026-11-23
12
22
 
23
+ > Published 2026-11-23T11:07:25.234Z (registry `time` for 0.4.1, read from the packument, not from a commit date).
24
+
13
25
  > 0.4.1 ne touche qu'à la documentation et aux garde-fous : aucun changement d'exécution (`lib/`, `src/engine/` inchangés à l'octet). Corrige l'en-tête du README qui annonçait encore 0.2.0 et ajoute la section `types/index.d.ts` qui manquait totalement. Trois garde-fous ajoutés : la ligne de version comparée à `package.json`, l'identité octet pour octet du corps anglais des neuf traductions, et un test consommateur qui résout par nom de paquet (l'ancien n'utilisait qu'un chemin relatif, si bien que supprimer la condition `types` laissait tout au vert). Voir l'entrée anglaise.
14
26
 
15
27
  ## 0.4.0 — 2026-11-23
package/CHANGELOG.it.md CHANGED
@@ -8,8 +8,20 @@ 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.6.0 — 2026-11-23
12
+
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.6.0, read from the packument, not from a commit date).
14
+
15
+ > 0.6.0 porta `type` da «inviato» a «il campo contiene davvero questo valore»: quarto `effect=readback-verified`, concesso solo quando il valore riletto corrisponde alla previsione costruita sulle misure CHE IL CONTROLLO ha riportato (valore precedente, WM_GETTEXTLENGTH, punto EM_GETSEL); un campo mascherato dice `readback=unavailable`, un’app che riformatta dice `readbackMismatch=true`, nessuno dei due viene promosso e nessuno dei due è un errore. `caretPosition: idle|start|end` — misurato: `EM_SETSEL(-1,-1)` su EDIT WinForms non fa nulla, quindi `end` usa (len,len) e il risultato distingue `asked=` da `applied=`. Focus rimisurato nell’istante dell’invio (`focusMoved`); target disabilitato riporta `disabled=true` con `effect` bloccato a `unverified`. Lo screenshot preferisce BitBlt e dichiara `captureBackend=bitblt|gdiplus` (scena fissa: differenza di canale 0, PNG byte identici; il collo è la codifica, non la cattura). Nuovo gate 20 `check-shot-backend` ( sette mutazioni, tutte rosse) e `test/readback-truth.mjs` (36 asserzioni, verificate sull’auto-denuncia dell’app). Corretto un difetto antico: `SendMessageStrW` non è esportato da user32.dll, quindi `replace:true` falliva su ogni target. Nessun nuovo codice di rifiuto. Autoritaria la voce inglese.
16
+
17
+ ## 0.5.0 — 2026-11-23
18
+
19
+ > 0.5.0 rende il «frame» leggibile dal chiamante e toglie il calcolo delle coordinate dalle mani del modello: tre azioni di sola lettura (`snapshot` come tabella numerata di elementi, `screenshot` che restituisce la mappatura, `preview` che riporta in testo l'elemento sotto un punto), indirizzamento `label` risolto sull'elemento tramite RuntimeId, `space:"image"` convertito dal motore, e un quattordicesimo codice di rifiuto `stale_ref`. L'invariante previsto «ogni rect di elemento è contenuto in screenRect» è stato smentito dalla misura (sconfinamenti di 3/18/287/2720px; un rect è una coordinata schermo assoluta, indipendente dal frame): sostituito dall'esclusione conteggiata degli elementi fuori cattura, da un controllo incrociato tra frame e rect dichiarato dall'albero (frameCheck/frameInset) e da un gate strutturale della fonte unica. Gate 17→19, due suite oracle indipendenti. Dettagli nella voce inglese. Due ulteriori correzioni: `uia_tree_empty` non viene più riportato per finestre che hanno una porta ma l'hanno soppressa con `elementName` (WinForms ora risponde `unreachable`), e l'asserzione di deriva del cursore che rendeva il gate rosso a intermittenza ora esclude il movimento del proprietario via `GetLastInputInfo` (SKIP con age/finestra se arriva un input; il read-back esatto del motore resta un'asserzione rigida).
20
+
11
21
  ## 0.4.1 — 2026-11-23
12
22
 
23
+ > Published 2026-11-23T11:07:25.234Z (registry `time` for 0.4.1, read from the packument, not from a commit date).
24
+
13
25
  > 0.4.1 è un rilascio di sola documentazione e gate, senza modifiche a runtime (`lib/`, `src/engine/` invariati byte per byte). Corregge l'intestazione del README che annunciava ancora 0.2.0 e aggiunge la sezione su `types/index.d.ts`, prima del tutto assente. Tre nuovi gate: la riga di versione confrontata con `package.json`, l'identità byte per byte del corpo inglese nelle nove traduzioni, e un test consumer che risolve per nome del pacchetto (il precedente usava solo un percorso relativo, quindi rimuovere la condizione `types` lasciava tutto verde). Vedi la voce inglese.
14
26
 
15
27
  ## 0.4.0 — 2026-11-23
package/CHANGELOG.ja.md CHANGED
@@ -8,8 +8,20 @@ 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.6.0 — 2026-11-23
12
+
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.6.0, read from the packument, not from a commit date).
14
+
15
+ > 0.6.0 は `type` を「送信した」から「欄に実際にその値が入った」へ引き上げる。第4の `effect=readback-verified` を追加(書き込み後に読み戻した値が、コントロール自身が報告したデータ——元の値・WM_GETTEXTLENGTH・EM_GETSEL の着地点——から作った予測と完全一致した場合だけが認定される。マスクされた欄は `readback=unavailable`、アプリが入力を整形し直した場合は `readbackMismatch=true` で、どちらも昇格しないが ok:true のまま)。`caretPosition: idle|start|end`(実測では WinForms EDIT の `EM_SETSEL(-1,-1)` は無効だったため end は (len,len) を使い、asked= と applied= を分けて報告)。送信直前の焦点再測定 `focusMoved`、無効化された対象は `disabled=true` かつ effect を unverified に固定。スクリーンショットは BitBlt を優先し `captureBackend=bitblt|gdiplus` を報告(静止シーンで两経路のチャンネル差 0・PNG バイト一致が実測済み。ボトルネックは符号化であり取得ではない)。第20ゲート check-shot-backend(7 変異すべて赤)と test/readback-truth.mjs(36 検証、アプリ側自己報告値と照合)を追加。長年の欠陥も修正:`SendMessageStrW` は user32.dll のエクスポートではないため、`replace:true` はあらゆる対象で action_failed になっていた。拒否コードの追加はゼロ。詳細は英語版が権威。
16
+
17
+ ## 0.5.0 — 2026-11-23
18
+
19
+ > 0.5.0 は「フレーム」を呼び出し側が読めるものにし、座標計算をモデルの手から取り上げるリリース。読み取り専用の 3 アクション(`snapshot` の番号付き要素表、`screenshot` は対応表ごと返す、`preview` は点の下の要素をテキストで報告)、`label` を RuntimeId で要素に戻す仕組み、`space:"image"` のエンジン側換算、14 番目の拒否コード `stale_ref` を追加。計画にあった「要素 rect は screenRect に含まれる」不変条件は実測で否定された(3/18/287/2720px のはみ出し、かつ rect は絶対スクリーン座標でフレーム非依存)ため、はみ出し要素の除外+計数、フレームとツリー自己申告矩形の相互検査、単一フレーム源の構造ゲートに置き換えた。ゲートは 17→19。詳細は英語の正式項目を参照。さらに 2 件修正:`uia_tree_empty` が「本来ドアがあるのに elementName で抑制されただけ」の窓に誤って出なくなり(WinForms は `unreachable` を返す)、ゲートを稀に赤くしていたカーソル移動量の判定は `GetLastInputInfo` で操作者の入力を除外(入力があれば age/window を添えて SKIP、エンジン自身の read-back は厳格なまま)した。
20
+
11
21
  ## 0.4.1 — 2026-11-23
12
22
 
23
+ > Published 2026-11-23T11:07:25.234Z (registry `time` for 0.4.1, read from the packument, not from a commit date).
24
+
13
25
  > 0.4.1 はドキュメントとゲートのみのリリースで、ランタイム変更はありません(`lib/`、`src/engine/` はバイト単位で未変更)。README 冒頭が 0.2.0 を名乗り続けていた件を修正し、一切言及のなかった `types/index.d.ts` の節を追加。さらに三道のゲートを追加:リリース行と `package.json` の版の照合、9 言語の英本文のバイト一致、パッケージ名で解決する消費者テスト(従来は相対パスのみで、`types` 条件を削っても全緑だった)。詳細は英語版参照。
14
26
 
15
27
  ## 0.4.0 — 2026-11-23
package/CHANGELOG.ko.md CHANGED
@@ -8,8 +8,20 @@ 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.6.0 — 2026-11-23
12
+
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.6.0, read from the packument, not from a commit date).
14
+
15
+ > 0.6.0은 `type`을 "보냈다"에서 "필드에 실제로 이 값이 들어갔다"로 끌어올린다. 네 번째 `effect=readback-verified`를 추가했다 — 쓸 뒤 다시 읽은 값이 컨트롤 스스로 보고한 데이터(원래 값, WM_GETTEXTLENGTH, EM_GETSEL 착점)로 만든 예측과 완전히 맞을 때만 인정된다. 가려진 필드는 `readback=unavailable`, 앱이 입력을 다시整形한 경우는 `readbackMismatch=true`이며 둘 다 승격하지 않으되 ok:true는 유지된다. `caretPosition: idle|start|end`(실측 결과 WinForms EDIT에서 `EM_SETSEL(-1,-1)`는 동작하지 않으므로 end는 (len,len)를 쓰고, asked=와 applied=를 나눠 보고한다). 전송 직전 초점 재측정 `focusMoved`, 비활성화 대상은 `disabled=true`와 effect를 unverified로 고정. 스크린샷은 BitBlt를 먼저 쓰고 `captureBackend=bitblt|gdiplus`를 보고한다(정지 장면에서 두 경로가 채널 차 0·PNG 바이트 동일을 실측, 병목은 인코딩이지 캡처가 아니다). 20번째 게이트 check-shot-backend(7개 변이 모두 빨강)와 test/readback-truth.mjs(36 검증, 앱 자체 보고 값과 대조)를 추가했다. 오래된 결함도 고쳤다: `SendMessageStrW`는 user32.dll 내보내기 기호가 아니라 `replace:true`가 모든 대상에서 action_failed였다. 거절 코드 추가는 없다. 상세는 영어본이 권위이다.
16
+
17
+ ## 0.5.0 — 2026-11-23
18
+
19
+ > 0.5.0은 「프레임」을 호출자가 읽을 수 있게 만들고 좌표 계산을 모델의 손에서 떼어낸 릴리스입니다. 읽기 전용 액션 3종(`snapshot` 번호 요소표, `screenshot`은 매핑까지 반환, `preview`는 지점 아래 요소를 텍스트로 보고), `label`을 RuntimeId로 요소에 되돌리는 방식, `space:"image"`의 엔진 환산, 14번째 거부 코드 `stale_ref`를 추가했습니다. 계획의 「모든 요소 rect는 screenRect 안에 있어야 한다」 불변식은 실측으로 반박되었습니다(3/18/287/2720px 초과, rect는 절대 화면 좌표라 프레임과 무관). 대신 초과 요소 제외·계수, 프레임과 트리 자기신고 사각형의 상호 검사, 단일 프레임 소스 구조 게이트로 바꿨습니다. 게이트 17→19. 자세한 내용은 영어 정본 항목 참조.두 가지 추가 수정: `uia_tree_empty`가 「원래 문이 있는데 elementName 때문에 억제된」 창에 더 이상 잘못 나오지 않고(WinForms는 `unreachable`), 게이트를 간헐적으로 붉히던 커서 이동량 판정은 `GetLastInputInfo`로 사용자의 입력을 제외(입력이 있으면 age/window를 출력하고 SKIP, 엔진 자체 read-back은 여전히 엄격)했다.
20
+
11
21
  ## 0.4.1 — 2026-11-23
12
22
 
23
+ > Published 2026-11-23T11:07:25.234Z (registry `time` for 0.4.1, read from the packument, not from a commit date).
24
+
13
25
  > 0.4.1은 문서와 게이트만의 릴리스이며 런타임 변경은 없습니다(`lib/`, `src/engine/` 바이트 단위 그대로). README 첫머리가 계속 0.2.0을 선언하던 문제를 고치고, 언급조차 없던 `types/index.d.ts` 절을 추가했습니다. 게이트 세 개 추가: 릴리스 줄과 `package.json` 버전 대조, 9개 언어 영문 본문 바이트 일치, 패키지 이름으로 해석하는 소비자 테스트(기존에는 상대 경로만 써서 `types` 조건을 지워도 전부 초록이었습니다). 자세한 내용은 영문 항목 참조.
14
26
 
15
27
  ## 0.4.0 — 2026-11-23
package/CHANGELOG.md CHANGED
@@ -5,8 +5,210 @@ 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.6.0 — 2026-11-23
9
+
10
+ > Published <REGISTRY-TIME> (registry `time` for 0.6.0, read from the packument, not from a commit date).
11
+
12
+ **`type` stops reporting the send and starts reporting the field, and the screenshot says which path
13
+ painted it.** Four input-reliability additions on the existing `type` path, one capture swap, one gate,
14
+ and a shipped defect that only this batch's test found. No refusal code changed anywhere in this
15
+ release, deliberately: every new fact is a state of the target or of the read, not an error in the
16
+ call, and a caller that branches on codes must keep branching on the same twelve.
17
+
18
+ ### Added — reading the write back
19
+
20
+ - **`effect=readback-verified`, the fourth value.** After the settle window the engine reads the value
21
+ back — `WM_GETTEXT` on the message door, `Current.Value` on the UIA `value`/`legacy` patterns — and
22
+ grants the value only when the read equals a prediction built from measurements **the control
23
+ itself** reported: the value it held before, its own `WM_GETTEXTLENGTH`, its own `EM_GETSEL` answer
24
+ for where a typed character lands. A field that does not expose its text (measured: `ES_PASSWORD`
25
+ returns an empty string while the length stays real) says `readback=unavailable` and is not upgraded;
26
+ a value that comes back different says `readbackMismatch=true` and is not upgraded — and the call is
27
+ still `ok:true`, because an application that reformats input has not failed.
28
+ - **`caretPosition: idle | start | end`** on `type`, message door. `idle` touches nothing; `start` is
29
+ `EM_SETSEL(0,0)`; `end` is `EM_SETSEL(len,len)` with `len` read from the control — **not** the
30
+ documented `-1`, which measured as a no-op on WinForms EDIT (the typed character went to the front).
31
+ The result reports `asked=` and `applied=` separately because on a buffer holding newlines the
32
+ numeric end can land inside the text (`asked=6 applied=4,4`); that is stated, not smoothed over. The
33
+ UIA `value` channel replaces the whole value and has no caret to move, so it answers
34
+ `caretIgnored=value-pattern` instead of pretending.
35
+ - **Focus re-measured at the moment of sending**: two `Get-WpmFocusEntry` readings around the door call;
36
+ a difference reports `focusMoved=true`. A warning, never a refusal — refusing here would kill correct
37
+ writes to be safe about a fact the readback already judges better.
38
+ - **Disabled-target detection** via `IsWindowEnabled`: `disabled=true` in `detail` and `effect` pinned
39
+ to `unverified`. Measured reason: a disabled window answers every message we send — `WM_SETTEXT` even
40
+ still lands — while Windows throws a click at it away, so the one thing it must not earn is an effect
41
+ claim.
42
+ - **`captureBackend=bitblt|gdiplus`** on every screenshot, in the text and the structured result.
43
+
44
+ ### Changed — the capture path
45
+
46
+ - `Get-WpmScreenshot` now prefers a direct GDI `BitBlt` off the **screen** DC and falls back to
47
+ `Graphics.CopyFromScreen`. Same source semantics on purpose (an occluding window stays visible in the
48
+ picture, the coordinates stay the ones a click uses); `GetWindowDC`/`PrintWindow` would have been a
49
+ different product. Measured on this host: capture 16–21 ms against 22–33 ms for 1920×1080, PNG encode
50
+ 37–39 ms in both paths — **the encoder is the bottleneck, not the capture**, which is why JPEG (6 ms,
51
+ and text smears), WIC (158 ms) and 24bpp (7 % smaller) were each measured and each rejected. A
52
+ separate probe established equivalence on a **still** scene rather than by file hash, because two
53
+ captures of a live desktop cannot match by construction: identical size, both non-blank, 0 maximum
54
+ per-channel difference over 17 388 sampled points, byte-identical PNGs — with the reported difference
55
+ that `FromHbitmap` yields `Format32bppRgb` where `CopyFromScreen` yields `Format32bppArgb`.
56
+
57
+ ### Fixed
58
+
59
+ - **`type` with `replace:true` threw on every target since the message door existed.** The `WM_SETTEXT`
60
+ binding was declared as `SendMessageStrW`, an export `user32.dll` does not have, so the first call
61
+ raised `EntryPointNotFoundException` and surfaced as `action_failed`. No gate could see it — the parse
62
+ gate checks syntax, and no test in the repository drove `replace:true` through the door. The entry
63
+ point is now pinned explicitly and the arm ships in `test/readback-truth.mjs`.
64
+ - `scripts/check-types.mjs` reported "all 8 actions, 14 refusal codes" from a hardcoded string; the
65
+ counts are read from `src/schema/tools.json` now, so growing the contract cannot leave a green gate
66
+ reciting an outdated number.
67
+
68
+ ### Gates and tests
69
+
70
+ - Gate 20: `scripts/check-shot-backend.mjs --self-test` — fast path called, GDI objects released in a
71
+ `finally`, the fallback reachable and guarded, `captureBackend` produced → forwarded → printed. Seven
72
+ mutations, each seen red; the first run of the gate caught two of its own vacuous assertions this way.
73
+ - `test/readback-truth.mjs` (new, 36 assertions) grades against the value the **application** wrote
74
+ about itself from inside its own process, never against our own read. Its falsification arm is a
75
+ read-only WinForms edit — which silently refuses `WM_CHAR` while honouring `WM_SETTEXT` — so the run
76
+ contains both a refusal that must not upgrade and, on the same control, a write that must.
77
+ Two other falsification candidates were eliminated by measurement first (a bare `LF` is preserved
78
+ verbatim; WinForms enforces `MaxLength` in its own handler, not through `EM_SETLIMITTEXT`).
79
+ - `test/plugin-test.mjs` carries the four-value `effect` list and asserts the host never upgrades an
80
+ engine result on its own. Full gate: **20 arms, `GATE GREEN` ×3**; desktop regression
81
+ hud / takeover / keyinject / signal / overlay / marker all pass.
82
+ - Zero install dependencies unchanged: no new package, no network surface, no mouse injection
83
+ (`check-no-cursor-control` still green with the same two whitelisted uses).
84
+
85
+ ## 0.5.0 — 2026-11-23
86
+
87
+ > Published 2026-11-23T14:19:37.293Z (registry `time` for 0.5.0, read from the packument, not from a commit date).
88
+
89
+ **The frame becomes something the caller can read, and the coordinate arithmetic leaves the model.**
90
+ Three read actions, one new refusal code, and one planned invariant that measurement destroyed — kept
91
+ in this entry rather than quietly dropped.
92
+
93
+ ### Added — the read paths
94
+
95
+ - **`snapshot`**: one `FindAll(Descendants)` + `IsOffscreen` pass, numbered from 1, each row carrying
96
+ control type, name, automation id, screen rect and the UIA patterns it exposes. Measured: 816
97
+ descendants / 71 visible / 291 ms on an Electron window; 626 / 173 / 45 excluded on a browser page.
98
+ `0 element(s)` is reported as a real state and deliberately does **not** reuse `uia_tree_empty`
99
+ (that code means the application has accessibility switched off, and its next step is a relaunch).
100
+ - **`label` addressing**: `click`/`type`/`focus` accept `label` + `snapId`. The label is resolved back
101
+ to the UIA **element** by runtime id (measured stable across queries, 71/71), so a labelled action
102
+ keeps the silent pattern path instead of degrading into a coordinate click. A labelled `click` still
103
+ requires its point, and the point must fall inside the labelled element.
104
+ - **`screenshot`**: `CopyFromScreen` over the DWM frame, PNG to `%LOCALAPPDATA%\wpm\shots\` (newest
105
+ `shotsKeep` kept, older files deleted), and the mapping returned as DATA — `screenRect`,
106
+ `imageSize`, `scale`, `identity`, `frame`, `dpiAware`. The image itself is not inline: a plugin
107
+ cannot mint an image block without the host's attachment service (measured), so the caller reads
108
+ the file.
109
+ - **`space:"image"`**: `click` accepts image pixels plus a `shotId` and the ENGINE converts them
110
+ (`screen = rect.left + round(imageX / scale)`), then runs the unchanged point-ownership assertion,
111
+ proof window and `effect=` reporting. A shotId that was never issued, or already pruned, is
112
+ `stale_ref` — never reinterpreted as screen pixels.
113
+ - **`preview`**: draws the marker at a point and reports, as TEXT, the element the OS says is under
114
+ it (name / control type / automation id / rect). A preview writes no input-queue entry, takes no
115
+ focus, produces no proof window, and answers with text so confirming a point never depends on a
116
+ picture.
117
+ - **`stale_ref`**, the fourteenth refusal code: a reference to a previous generation of engine output
118
+ (a pruned shotId, a superseded snapId, or `space:"image"` with no shotId, which is refused before
119
+ any worker request). `needs_facts` was not reused: mixing the two would make `check-refusals`'
120
+ case binding a lie.
121
+ - Three settings: `snapshotMaxElements` (300), `screenshotMaxWidth` (0 = unscaled), `shotsKeep` (10).
122
+
123
+ ### Corrected — the invariant measurement refuted
124
+
125
+ The plan proposed a runtime self-check: *every reported element rect must be contained in
126
+ `screenRect`*. Measured on eight live windows, it is false for ordinary trees: Chromium/Electron
127
+ report virtualized content far outside the viewport (overhangs of 3px, 18px, 287px and **2720px**),
128
+ so the rule would refuse whole classes of windows. The deeper reason it cannot work: element rects are
129
+ absolute screen pixels; they do not depend on the frame at all, and `GetWindowRect` is *larger* than
130
+ the DWM frame, so a wrong frame is still "containing" everything.
131
+
132
+ What replaced it, with each part tested for non-vacuity:
133
+
134
+ - elements that do not overlap the capture are **excluded and counted** (`outsideFrame=N`) — a number
135
+ you cannot point at would be a trap;
136
+ - the frame is cross-checked against the window rect the accessibility tree itself reports
137
+ (`frameCheck=pass|fail|unknown`, tolerance 2px; measured insets are exactly `0,0,0,0` for borderless
138
+ windows and `8,8,8,8` for shadowed ones), and `frameInset` prints those numbers as data;
139
+ - `scripts/check-frame-single-source.mjs` pins the property that *can* be enforced: exactly one
140
+ function decides the capture rectangle, both consumers use it, only one `CopyFromScreen` site
141
+ exists, and the snapshot's self-check is wired to a refusal.
142
+
143
+ ### Added — gates and suites
144
+
145
+ - `scripts/check-shots.mjs`: retention cannot overflow, and a file named `.png` must actually be a
146
+ PNG (magic + IHDR + non-zero dimensions). Validates the real shots directory and plants its own
147
+ defects under `--self-test`.
148
+ - `scripts/check-frame-single-source.mjs`: the single-source property above, with four mutations
149
+ proven red under `--self-test`.
150
+ - Full gate count 17 → **19** (the plan said 18; refuting the runtime invariant made a second
151
+ structural gate necessary, because a structural claim with no gate rots).
152
+ - `test/geometry-truth.mjs` (45 assertions) and `test/snapshot-test.mjs` (26 assertions), both driven
153
+ by an app-side oracle plus `test/geometry-oracle.ps1`, an independent DWM/PNG measurement that
154
+ shares no code with `src/engine`.
155
+
156
+ ### Fixed
157
+
158
+ - **`uia_tree_empty` was being reported for windows that plainly have a door.** The diagnosis ran
159
+ whenever the UIA probe found no pattern, including the case where it found no pattern *because the
160
+ caller named an element*: naming one suppresses a WinForms message door (a window message cannot
161
+ address "the control called X"), the scan then finds nothing drivable, and the engine answered
162
+ `uia_tree_empty` — "the application has accessibility switched off; relaunch it with
163
+ `--force-renderer-accessibility`". That advice is wrong about the cause and does not apply to
164
+ WinForms at all: we had measured a real door on that window and shut it ourselves. The diagnosis now
165
+ requires the target to have **no door at all**; a target with a door gets `unreachable` ("nothing
166
+ addressable at that name"), whose next step exists. Non-vacuity was checked in both directions: the
167
+ genuine accessibility-off sample (uTools) still answers `uia_tree_empty` from a click, and the
168
+ WinForms positive control now answers `unreachable`.
169
+ - `test/refusals-test.ps1` could not run three documented decision cases: its facts map never learned
170
+ R3's `takeoverRequested` / `keyInjectRequested` / `keyInjectAllowed` / `hudReady` /
171
+ `foregroundIsTarget`, so they threw `unknown facts field` instead of exercising the code. Found by
172
+ running the suite at HEAD, where it was already red.
173
+ - **The cursor-drift assertions were flake generators, and one of them was hiding in the gate.**
174
+ "Is the pointer back" is graded from two external reads, and the pointer is shared with the owner.
175
+ Measured with a human at the desk: the same assertion produced drift of 11 px, then 213, then 649,
176
+ while re-running with nobody touching the mouse passed every time — the instrument was reading
177
+ somebody else's motion. `signal-test` and `takeover-test` now grade that assertion only when
178
+ `GetLastInputInfo` shows no physical input inside the measured window, and SKIP with the age and the
179
+ window printed otherwise (the same discipline `overlay-test` already used for its desktop-sensitive
180
+ arms). Both halves were verified: with input present it SKIPs and says why; after a 7-second lull it
181
+ PASSes and actually grades. The interference-free half — the engine's own `cursorAfterX/Y` read-back
182
+ must equal `cursorBeforeX/Y` exactly — stays a hard assertion in both suites.
183
+ - `Invoke-WpmAction` no longer makes `-Hwnd` mandatory: PowerShell refuses to bind an empty string to
184
+ a mandatory `[string]`, which turned a legitimate full-screen capture into a binding error. Every
185
+ windowed action still checks liveness and answers `no_hwnd`.
186
+
187
+ ### Notes
188
+
189
+ - Non-vacuity was proven by injection, not asserted: the rect comparison rejects the `GetWindowRect`
190
+ rect and a +10px shift; a generated all-white PNG reads blank; the frame predicate says yes to the
191
+ measured pair and no to a frame that pokes outside it; every structural mutation turns its gate red.
192
+ - The `CHANGELOG.md` **inside the 0.5.0 tarball** still carries the pre-publish "working date" line,
193
+ because the tarball is frozen at publish time and the registry time was written back afterwards.
194
+ This entry (in the repository) carries the real one: `2026-11-23T14:19:37.293Z`. The same
195
+ retroactivity applied to 0.4.0's README, and is recorded there for the same reason.
196
+ - Two things this release did **not** fix, stated rather than hidden:
197
+ - This host's `UIAutomationClient` has no `LegacyIAccessiblePattern` type at all (measured:
198
+ `Unable to find type`), so any target that exposes only the MSAA bridge — WinForms among them —
199
+ can never yield a pattern here. The engine already treats a missing pattern type as one missing
200
+ type rather than a dead engine, and the WinForms cases now answer honestly, but the *capability*
201
+ is absent on this machine and the docs do not claim otherwise.
202
+ - `maxElements` truncates in **tree order**, not by relevance. On an Explorer window the first 40
203
+ elements are the status bar, so "the control is not in the frame" can mean merely "the cap was
204
+ low". The next step is printed with the frame (raise `maxElements`, or set
205
+ `interactableOnly:false`); no relevance ranking was invented, because "why is this row ranked
206
+ higher" is a question the tool could not answer with a fact.
207
+
8
208
  ## 0.4.1 — 2026-11-23
9
209
 
210
+ > Published 2026-11-23T11:07:25.234Z (registry `time` for 0.4.1, read from the packument, not from a commit date).
211
+
10
212
  **A documentation release that exists because the front page was wrong.** No runtime change: `lib/`
11
213
  and `src/engine/` are untouched, byte for byte, and the tarball's JavaScript is identical to 0.4.0's.
12
214
 
package/CHANGELOG.pt.md CHANGED
@@ -8,8 +8,20 @@ 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.6.0 — 2026-11-23
12
+
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.6.0, read from the packument, not from a commit date).
14
+
15
+ > 0.6.0 eleva `type` de “enviei” para “o campo realmente contém este valor”: quarto `effect=readback-verified`, concedido só quando o valor relido coincide com a previsão construída a partir das medidas QUE O CONTROLE reportou (valor anterior, WM_GETTEXTLENGTH, ponto de EM_GETSEL); campo mascarado diz `readback=unavailable` e app que reformata diz `readbackMismatch=true` — nenhum promove, nenhum falha. `caretPosition: idle|start|end` — medido: `EM_SETSEL(-1,-1)` não faz nada em EDIT do WinForms, então `end` usa (len,len) e o resultado separa `asked=` de `applied=`. Foco remedido no instante do envio (`focusMoved`); alvo desabilitado informa `disabled=true` com `effect` fixado em `unverified`. A captura prefere BitBlt e declara `captureBackend=bitblt|gdiplus` (cena estática: 0 diferença por canal, PNGs byte-idênticos; o gargalo é a codificação, não a captura). Novo gate 20 `check-shot-backend` (sete mutações, todas vermelhas) e `test/readback-truth.mjs` (36 asserções, julgadas contra o auto-relato do app). Corrigido um defeito antigo: `SendMessageStrW` não é exportado pelo user32.dll, então `replace:true` falhava em todo alvo. Sem novos códigos de recusa. A entrada em inglês é a autoritativa.
16
+
17
+ ## 0.5.0 — 2026-11-23
18
+
19
+ > O 0.5.0 torna o «quadro» legível por quem chama e retira a aritmética de coordenadas das mãos do modelo: três ações só de leitura (`snapshot` como tabela numerada de elementos, `screenshot` que devolve o mapeamento, `preview` que reporta em texto o elemento sob um ponto), endereçamento por `label` resolvido ao elemento pelo RuntimeId, `space:"image"` convertido pelo motor, e um décimo quarto código de recusa `stale_ref`. O invariante planeado «cada rect de elemento está contido em screenRect» foi refutado pela medição (excessos de 3/18/287/2720px, e um rect é coordenada absoluta de ecrã, independente do quadro): substituído por exclusão contada de elementos fora da captura, verificação cruzada do quadro com o rect declarado pela árvore (frameCheck/frameInset) e um portão estrutural de fonte única. Portões 17→19, duas suites com oráculo independente. Detalhe na entrada inglesa. Mais duas correções: `uia_tree_empty` já não é reportado para janelas que têm porta mas a suprimiram com `elementName` (o WinForms responde agora `unreachable`), e a asserção de deriva do cursor que deixava o portão vermelho de forma intermitente passou a excluir o movimento do dono via `GetLastInputInfo` (SKIP com age/janela quando há entrada; o read-back exato do motor continua a ser uma asserção estrita).
20
+
11
21
  ## 0.4.1 — 2026-11-23
12
22
 
23
+ > Published 2026-11-23T11:07:25.234Z (registry `time` for 0.4.1, read from the packument, not from a commit date).
24
+
13
25
  > 0.4.1 é uma versão apenas de documentação e portões: sem mudanças em tempo de execução (`lib/`, `src/engine/` intactos byte a byte). Corrige o cabeçalho do README que ainda anunciava 0.2.0 e adiciona a secção sobre `types/index.d.ts`, que faltava por completo. Três portões novos: a linha de versão comparada com `package.json`, a identidade byte a byte do corpo inglês nas nove traduções, e um teste de consumidor que resolve pelo nome do pacote (o anterior usava apenas caminho relativo, pelo que remover a condição `types` deixava tudo verde). Veja a entrada em inglês.
14
26
 
15
27
  ## 0.4.0 — 2026-11-23
package/CHANGELOG.ru.md CHANGED
@@ -8,8 +8,20 @@ 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.6.0 — 2026-11-23
12
+
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.6.0, read from the packument, not from a commit date).
14
+
15
+ > 0.6.0 поднимает `type` с «я отправил» на «в поле действительно это значение»: четвёртый `effect=readback-verified` — только когда прочитанное обратно значение совпадает с предсказанием, построенным на измерениях, которые СООБЩИЛ САМ КОНТРОЛЬ (прежнее значение, WM_GETTEXTLENGTH, точка вставки EM_GETSEL); masked-поле отвечает `readback=unavailable`, приложение переформатировало ввод — `readbackMismatch=true`; ни то ни другое не повышает статус и не является ошибкой. `caretPosition: idle|start|end` — измерено: `EM_SETSEL(-1,-1)` на WinForms EDIT не работает, поэтому `end` использует (len,len), а результат раздельно сообщает `asked=` и `applied=`. Фокус переизмеряется в момент отправки (`focusMoved`); отключённое окно даёт `disabled=true`, а `effect` принудительно `unverified`. Снимок теперь предпочитает BitBlt и сообщает `captureBackend=bitblt|gdiplus` (на неподвижной сцене: 0 расхождений по каналам, PNG совпадают побайтово; узкое место — кодирование, а не захват). Новый гейт 20 `check-shot-backend` (семь мутаций, каждая красная) и `test/readback-truth.mjs` (36 проверок, сверяемых с самоотчётом приложения). Исправлен давний дефект: `SendMessageStrW` отсутствует в user32.dll, поэтому `replace:true` падал на каждой мишени. Новые коды отказа не добавлены. Авторитетна английская запись.
16
+
17
+ ## 0.5.0 — 2026-11-23
18
+
19
+ > 0.5.0 делает «рамку» читаемой для вызывающей стороны и убирает расчёт координат из рук модели: три действия только на чтение (`snapshot` как нумерованная таблица элементов, `screenshot` возвращает соответствие координат, `preview` текстом сообщает элемент под точкой), адресация по `label` с возвратом к элементу по RuntimeId, `space:"image"` преобразуется движком, и четырнадцатый код отказа `stale_ref`. Запланированный инвариант «каждый rect элемента лежит внутри screenRect» опровергнут измерением (выходы за границы 3/18/287/2720px; rect — абсолютная экранная координата и от рамки не зависит): заменён на подсчитанное исключение непересекающихся элементов, взаимную проверку рамки с rect, который сообщает само дерево (frameCheck/frameInset), и структурный гейт единственного источника рамки. Гейтов 17→19, добавлены две независимые oracle-серии. Подробности в английской записи. Ещё две правки: `uia_tree_empty` больше не выдаётся для окон, у которых есть дверь, но она подавлена через `elementName` (WinForms теперь честно отвечает `unreachable`), а утверждение о дрейфе курсора, из-за которого гейт изредка краснел, теперь исключает движение владельца через `GetLastInputInfo` (SKIP с age/окном при наличии ввода; точный read-back двигателя остаётся строгим утверждением).
20
+
11
21
  ## 0.4.1 — 2026-11-23
12
22
 
23
+ > Published 2026-11-23T11:07:25.234Z (registry `time` for 0.4.1, read from the packument, not from a commit date).
24
+
13
25
  > 0.4.1 — выпуск только документации и проверок, без изменений в рантайме (`lib/`, `src/engine/` побайтно не изменены). Исправлен заголовок README, который продолжал объявлять 0.2.0, и добавлен полностью отсутствовавший раздел о `types/index.d.ts`. Три новые проверки: строка версии сверяется с `package.json`, побайтное совпадение английского текста в девяти переводах, и потребительский тест, разрешающий пакет по имени (прежний использовал только относительный путь, поэтому удаление условия `types` оставляло всё зелёным). Подробнее — в английской записи.
14
26
 
15
27
  ## 0.4.0 — 2026-11-23
package/CHANGELOG.zh.md CHANGED
@@ -8,8 +8,20 @@ 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.6.0 — 2026-11-23
12
+
13
+ > Published <REGISTRY-TIME> (registry `time` for 0.6.0, read from the packument, not from a commit date).
14
+
15
+ > 0.6.0 让 `type` 从「发出去了」抬到「字段里确实是这个值」:新增第四种 `effect=readback-verified`(只有把写入后读回的值与「用控件自己报的数据」——原值、WM_GETTEXTLENGTH、EM_GETSEL 落点——构造出的预测完全一致时才授予;掩码字段报 `readback=unavailable`,应用改写了输入报 `readbackMismatch=true`,两者都不升级且仍是 ok:true);`caretPosition: idle|start|end`(实测 `EM_SETSEL(-1,-1)` 在 WinForms EDIT 上是空操作,所以 end 用 (len,len),并把 asked= 与 applied= 分开回报);发送瞬间焦点复测 `focusMoved`,禁用目标 `disabled=true` 且 effect 钉为 unverified;截图优先走 BitBlt 并回报 `captureBackend=bitblt|gdiplus`(静止场景实测两路 0 通道差、PNG 字节相同;瓶颈是 PNG 编码不是捕获)。新增第 20 道门禁 check-shot-backend(7 个变异全见红)与 test/readback-truth.mjs(36 断言,按应用进程内自报值验收,非空转臂用「只读框静默拒绝 WM_CHAR 而接受 WM_SETTEXT」这一实测现象)。另修一个长期缺陷:`SendMessageStrW` 不是 user32.dll 的导出,`replace:true` 此前在每个目标上都报 action_failed。拒绝码零新增。详情见英文权威条目。
16
+
17
+ ## 0.5.0 — 2026-11-23
18
+
19
+ > 0.5.0 把「帧」变成调用方可读的东西,并把坐标换算从模型手里拿走:新增三个只读动作(`snapshot` 编号元素表、`screenshot` 连映射一起返回、`preview` 用文本报出点位下的元素)、`label` 按 RuntimeId 回指元素、`space:"image"` 由引擎换算,以及第 14 个拒绝码 `stale_ref`。计划中的「元素 rect 必须被 screenRect 包含」被实测推翻(真实窗口出现 3/18/287/2720px 的越界,且 rect 本就是绝对屏幕坐标、与帧无关),改为:越界元素排除并计数、帧与树自报窗口矩形互校(frameCheck/frameInset)、以及「唯一的帧源」结构门禁。全量门禁 17→19,新增 geometry-truth 与 snapshot-test 两套独立 oracle 验收。详情见英文权威条目。另修两处:`uia_tree_empty` 不再对「本来有门、只是被 elementName 抑制」的窗口误报(WinForms 现在诚实回 `unreachable`),以及卡住门禁的偶发红——光标漂移断言改用 `GetLastInputInfo` 排除主人自己动鼠标(有输入则 SKIP 并打印 age/window),引擎自报的精确 read-back 仍是硬断言。
20
+
11
21
  ## 0.4.1 — 2026-11-23
12
22
 
23
+ > Published 2026-11-23T11:07:25.234Z (registry `time` for 0.4.1, read from the packument, not from a commit date).
24
+
13
25
  > 0.4.1 是文档与门禁发布,运行时零改动(`lib/`、`src/engine/` 逐字节未动)。修掉 README 顶部仍宣告 0.2.0 的欠账、补上从未提及的 `types/index.d.ts` 章节,并新增三道门禁:发布行与 `package.json` 版本比对、九份译文的英文正文逐字节一致、以及按包名解析的消费者测试(此前门禁只按相对路径 import,删掉 `exports[""].types` 也能全绿)。详情见英文权威条目。
14
26
 
15
27
  ## 0.4.0 — 2026-11-23