dsh-windows-parallel-mcp 0.12.0 → 0.13.0-rc.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.ko.md CHANGED
@@ -21,35 +21,30 @@ one is a promise to anyone installing it.
21
21
 
22
22
 
23
23
 
24
24
 
25
25
 
26
- ## 0.12.0-rc.1 — 2026-11-29 (prerelease)
27
-
28
- **Requests are queued on the client, not inside the worker's stdin.** G4/F5: the worker is one
29
- serial loop (`worker.ps1` reads a line, answers, reads the next), yet every request timer started
30
- at its WRITE moment -- a slow action let a QUEUED request run its deadline out and `kill()` the
31
- worker out from under the request actually running. `WorkerClient.request()` now chains through a
32
- promise FIFO: one request is in flight at a time, its deadline starts when its line is really
33
- written, and the wait is observable. `action=status` carries three new client-side facts --
34
- `workerBusy`, `queueDepth`, `lastActionAgeMs` -- because a busy worker cannot answer questions
35
- about its own busyness. `abort` deliberately bypasses the queue (queue-jumping cancellation is
36
- the whole point; the latch file remains the second channel). `test/worker-smoke.mjs` §9 drives a
37
- slow real worker with two concurrent requests (busy/queued observed, both answered by the same
38
- pid, serial wall time, zero restarts); `plugin-test` pins the idle-status rendering. The schema
39
- fields and the `engine_busy` split land with rc.2/rc.3.
26
+ ## 0.13.0-rc.1 — 2026-11-29 (prerelease)
27
+
28
+ **SendCodePoint: one Unicode code point in, one atomic SendInput batch out.** The existing
29
+ `SendChar(char)` emits two events for a BMP unit (unchanged, still exported for callers that
30
+ know the plane), but the supplementary-plane path (`cp > 0xFFFF`) -- emoji, CJK ext-B, musical
31
+ symbols -- now decomposes into the correct surrogate pair and queues FOUR events in a SINGLE
32
+ `SendInput` call (highDown, lowDown, lowUp, highUp). The pair arrives adjacent and atomic: a
33
+ strict DirectWrite/Chromium receiver that documents orphaned-surrogate drops gets a well-formed
34
+ batch, not two orphans it must stitch (P0-d measured that lenient controls DO stitch, but the
35
+ sending side should not rely on receiver tolerance). `scripts/probe-sendinput-unicode.ps1` arm C
36
+ drives the real path: BMP=2 events, emoji=4 events, 'ok+U+1F600+fin' round-trips byte-identical
37
+ through a WinForms TextBox. The calling loop in `Send-WpmKeyText` stays on `SendChar` until rc.2
38
+ switches it to code-point iteration; this rc introduces the primitive and proves it.
40
39
 
41
40
 
42
- ## 0.12.0-rc.2 — 2026-11-29 (prerelease)
41
+ ## 0.13.0-rc.2 — 2026-11-29 (prerelease)
43
42
 
44
- **Queueing and wedging are different failures, and now they have different deadlines.**
45
- `WorkerClient` takes `queueTimeoutMs` (default 5000): a request that waits that long behind an
46
- in-flight action is refused with the new `engine_busy` code and **never written** -- the worker
47
- survives, and so does the call it is running (pre-0.12.0 the queued request's own timer eventually
48
- fired `child.kill()` and took the in-flight call down: F5/G4). `requestTimeoutMs` keeps its old
49
- meaning, silent-in-flight -> latch, kill, restart. `engine_busy` joins the three-source refusal
50
- vocabulary (20 codes) as a HOST-emitted runtime code -- retry is the right advice here, unlike
51
- `worker_wedged` -- and the tool layer maps the rejection to the code instead of `action_failed`.
52
- `test/worker-smoke.mjs` §10 is the P0-e scenario finally driven for real: a 2.5s injected-slow
53
- worker plus a 600ms queue deadline -> queued caller refused, in-flight call completes, zero
54
- restarts, client still serves afterwards.
43
+ **`Send-WpmKeyText` iterates code points, not UTF-16 units.** The per-character loop now calls
44
+ `SendCodePoint` (rc.1's primitive) and advances by 2 for a surrogate pair. `$chars` counts CODE
45
+ POINTS: `"abc"` = 3, `"a\u{1F600}b"` = 3 (was 4 under the old UTF-16-unit iteration). The abort
46
+ reason reports "N of M code points". `events` reflects the real count (2 per BMP, 4 per
47
+ supplementary). Validated live: `abc` = 6 events (3*2), `a-emoji-b` = 8 events (2+4+2), both
48
+ chars=3. The `chars` semantic change is BREAKING for any caller that compared it to `Text.Length`
49
+ -- documented in the 0.13.0 promotion changelog.
55
50
 
56
51
 
57
52
  ## 0.12.0 — 2026-11-29
@@ -78,6 +73,37 @@ the in-flight call (F5):
78
73
  injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
79
74
 
80
75
 
76
+ ## 0.12.0-rc.1 — 2026-11-29 (prerelease)
77
+
78
+ **Requests are queued on the client, not inside the worker's stdin.** G4/F5: the worker is one
79
+ serial loop (`worker.ps1` reads a line, answers, reads the next), yet every request timer started
80
+ at its WRITE moment -- a slow action let a QUEUED request run its deadline out and `kill()` the
81
+ worker out from under the request actually running. `WorkerClient.request()` now chains through a
82
+ promise FIFO: one request is in flight at a time, its deadline starts when its line is really
83
+ written, and the wait is observable. `action=status` carries three new client-side facts --
84
+ `workerBusy`, `queueDepth`, `lastActionAgeMs` -- because a busy worker cannot answer questions
85
+ about its own busyness. `abort` deliberately bypasses the queue (queue-jumping cancellation is
86
+ the whole point; the latch file remains the second channel). `test/worker-smoke.mjs` §9 drives a
87
+ slow real worker with two concurrent requests (busy/queued observed, both answered by the same
88
+ pid, serial wall time, zero restarts); `plugin-test` pins the idle-status rendering. The schema
89
+ fields and the `engine_busy` split land with rc.2/rc.3.
90
+
91
+
92
+ ## 0.12.0-rc.2 — 2026-11-29 (prerelease)
93
+
94
+ **Queueing and wedging are different failures, and now they have different deadlines.**
95
+ `WorkerClient` takes `queueTimeoutMs` (default 5000): a request that waits that long behind an
96
+ in-flight action is refused with the new `engine_busy` code and **never written** -- the worker
97
+ survives, and so does the call it is running (pre-0.12.0 the queued request's own timer eventually
98
+ fired `child.kill()` and took the in-flight call down: F5/G4). `requestTimeoutMs` keeps its old
99
+ meaning, silent-in-flight -> latch, kill, restart. `engine_busy` joins the three-source refusal
100
+ vocabulary (20 codes) as a HOST-emitted runtime code -- retry is the right advice here, unlike
101
+ `worker_wedged` -- and the tool layer maps the rejection to the code instead of `action_failed`.
102
+ `test/worker-smoke.mjs` §10 is the P0-e scenario finally driven for real: a 2.5s injected-slow
103
+ worker plus a 600ms queue deadline -> queued caller refused, in-flight call completes, zero
104
+ restarts, client still serves afterwards.
105
+
106
+
81
107
  ## 0.12.0-rc.3 — 2026-11-29 (prerelease)
82
108
 
83
109
  **The contract says out loud what the code has been returning since rc.1/rc.2.**
package/CHANGELOG.md CHANGED
@@ -18,35 +18,30 @@ one is a promise to anyone installing it.
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- ## 0.12.0-rc.1 — 2026-11-29 (prerelease)
24
-
25
- **Requests are queued on the client, not inside the worker's stdin.** G4/F5: the worker is one
26
- serial loop (`worker.ps1` reads a line, answers, reads the next), yet every request timer started
27
- at its WRITE moment -- a slow action let a QUEUED request run its deadline out and `kill()` the
28
- worker out from under the request actually running. `WorkerClient.request()` now chains through a
29
- promise FIFO: one request is in flight at a time, its deadline starts when its line is really
30
- written, and the wait is observable. `action=status` carries three new client-side facts --
31
- `workerBusy`, `queueDepth`, `lastActionAgeMs` -- because a busy worker cannot answer questions
32
- about its own busyness. `abort` deliberately bypasses the queue (queue-jumping cancellation is
33
- the whole point; the latch file remains the second channel). `test/worker-smoke.mjs` §9 drives a
34
- slow real worker with two concurrent requests (busy/queued observed, both answered by the same
35
- pid, serial wall time, zero restarts); `plugin-test` pins the idle-status rendering. The schema
36
- fields and the `engine_busy` split land with rc.2/rc.3.
23
+ ## 0.13.0-rc.1 — 2026-11-29 (prerelease)
24
+
25
+ **SendCodePoint: one Unicode code point in, one atomic SendInput batch out.** The existing
26
+ `SendChar(char)` emits two events for a BMP unit (unchanged, still exported for callers that
27
+ know the plane), but the supplementary-plane path (`cp > 0xFFFF`) -- emoji, CJK ext-B, musical
28
+ symbols -- now decomposes into the correct surrogate pair and queues FOUR events in a SINGLE
29
+ `SendInput` call (highDown, lowDown, lowUp, highUp). The pair arrives adjacent and atomic: a
30
+ strict DirectWrite/Chromium receiver that documents orphaned-surrogate drops gets a well-formed
31
+ batch, not two orphans it must stitch (P0-d measured that lenient controls DO stitch, but the
32
+ sending side should not rely on receiver tolerance). `scripts/probe-sendinput-unicode.ps1` arm C
33
+ drives the real path: BMP=2 events, emoji=4 events, 'ok+U+1F600+fin' round-trips byte-identical
34
+ through a WinForms TextBox. The calling loop in `Send-WpmKeyText` stays on `SendChar` until rc.2
35
+ switches it to code-point iteration; this rc introduces the primitive and proves it.
37
36
 
38
37
 
39
- ## 0.12.0-rc.2 — 2026-11-29 (prerelease)
38
+ ## 0.13.0-rc.2 — 2026-11-29 (prerelease)
40
39
 
41
- **Queueing and wedging are different failures, and now they have different deadlines.**
42
- `WorkerClient` takes `queueTimeoutMs` (default 5000): a request that waits that long behind an
43
- in-flight action is refused with the new `engine_busy` code and **never written** -- the worker
44
- survives, and so does the call it is running (pre-0.12.0 the queued request's own timer eventually
45
- fired `child.kill()` and took the in-flight call down: F5/G4). `requestTimeoutMs` keeps its old
46
- meaning, silent-in-flight -> latch, kill, restart. `engine_busy` joins the three-source refusal
47
- vocabulary (20 codes) as a HOST-emitted runtime code -- retry is the right advice here, unlike
48
- `worker_wedged` -- and the tool layer maps the rejection to the code instead of `action_failed`.
49
- `test/worker-smoke.mjs` §10 is the P0-e scenario finally driven for real: a 2.5s injected-slow
50
- worker plus a 600ms queue deadline -> queued caller refused, in-flight call completes, zero
51
- restarts, client still serves afterwards.
40
+ **`Send-WpmKeyText` iterates code points, not UTF-16 units.** The per-character loop now calls
41
+ `SendCodePoint` (rc.1's primitive) and advances by 2 for a surrogate pair. `$chars` counts CODE
42
+ POINTS: `"abc"` = 3, `"a\u{1F600}b"` = 3 (was 4 under the old UTF-16-unit iteration). The abort
43
+ reason reports "N of M code points". `events` reflects the real count (2 per BMP, 4 per
44
+ supplementary). Validated live: `abc` = 6 events (3*2), `a-emoji-b` = 8 events (2+4+2), both
45
+ chars=3. The `chars` semantic change is BREAKING for any caller that compared it to `Text.Length`
46
+ -- documented in the 0.13.0 promotion changelog.
52
47
 
53
48
 
54
49
  ## 0.12.0 — 2026-11-29
@@ -75,6 +70,37 @@ the in-flight call (F5):
75
70
  injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
76
71
 
77
72
 
73
+ ## 0.12.0-rc.1 — 2026-11-29 (prerelease)
74
+
75
+ **Requests are queued on the client, not inside the worker's stdin.** G4/F5: the worker is one
76
+ serial loop (`worker.ps1` reads a line, answers, reads the next), yet every request timer started
77
+ at its WRITE moment -- a slow action let a QUEUED request run its deadline out and `kill()` the
78
+ worker out from under the request actually running. `WorkerClient.request()` now chains through a
79
+ promise FIFO: one request is in flight at a time, its deadline starts when its line is really
80
+ written, and the wait is observable. `action=status` carries three new client-side facts --
81
+ `workerBusy`, `queueDepth`, `lastActionAgeMs` -- because a busy worker cannot answer questions
82
+ about its own busyness. `abort` deliberately bypasses the queue (queue-jumping cancellation is
83
+ the whole point; the latch file remains the second channel). `test/worker-smoke.mjs` §9 drives a
84
+ slow real worker with two concurrent requests (busy/queued observed, both answered by the same
85
+ pid, serial wall time, zero restarts); `plugin-test` pins the idle-status rendering. The schema
86
+ fields and the `engine_busy` split land with rc.2/rc.3.
87
+
88
+
89
+ ## 0.12.0-rc.2 — 2026-11-29 (prerelease)
90
+
91
+ **Queueing and wedging are different failures, and now they have different deadlines.**
92
+ `WorkerClient` takes `queueTimeoutMs` (default 5000): a request that waits that long behind an
93
+ in-flight action is refused with the new `engine_busy` code and **never written** -- the worker
94
+ survives, and so does the call it is running (pre-0.12.0 the queued request's own timer eventually
95
+ fired `child.kill()` and took the in-flight call down: F5/G4). `requestTimeoutMs` keeps its old
96
+ meaning, silent-in-flight -> latch, kill, restart. `engine_busy` joins the three-source refusal
97
+ vocabulary (20 codes) as a HOST-emitted runtime code -- retry is the right advice here, unlike
98
+ `worker_wedged` -- and the tool layer maps the rejection to the code instead of `action_failed`.
99
+ `test/worker-smoke.mjs` §10 is the P0-e scenario finally driven for real: a 2.5s injected-slow
100
+ worker plus a 600ms queue deadline -> queued caller refused, in-flight call completes, zero
101
+ restarts, client still serves afterwards.
102
+
103
+
78
104
  ## 0.12.0-rc.3 — 2026-11-29 (prerelease)
79
105
 
80
106
  **The contract says out loud what the code has been returning since rc.1/rc.2.**
package/CHANGELOG.pt.md CHANGED
@@ -21,35 +21,30 @@ one is a promise to anyone installing it.
21
21
 
22
22
 
23
23
 
24
24
 
25
25
 
26
- ## 0.12.0-rc.1 — 2026-11-29 (prerelease)
27
-
28
- **Requests are queued on the client, not inside the worker's stdin.** G4/F5: the worker is one
29
- serial loop (`worker.ps1` reads a line, answers, reads the next), yet every request timer started
30
- at its WRITE moment -- a slow action let a QUEUED request run its deadline out and `kill()` the
31
- worker out from under the request actually running. `WorkerClient.request()` now chains through a
32
- promise FIFO: one request is in flight at a time, its deadline starts when its line is really
33
- written, and the wait is observable. `action=status` carries three new client-side facts --
34
- `workerBusy`, `queueDepth`, `lastActionAgeMs` -- because a busy worker cannot answer questions
35
- about its own busyness. `abort` deliberately bypasses the queue (queue-jumping cancellation is
36
- the whole point; the latch file remains the second channel). `test/worker-smoke.mjs` §9 drives a
37
- slow real worker with two concurrent requests (busy/queued observed, both answered by the same
38
- pid, serial wall time, zero restarts); `plugin-test` pins the idle-status rendering. The schema
39
- fields and the `engine_busy` split land with rc.2/rc.3.
26
+ ## 0.13.0-rc.1 — 2026-11-29 (prerelease)
27
+
28
+ **SendCodePoint: one Unicode code point in, one atomic SendInput batch out.** The existing
29
+ `SendChar(char)` emits two events for a BMP unit (unchanged, still exported for callers that
30
+ know the plane), but the supplementary-plane path (`cp > 0xFFFF`) -- emoji, CJK ext-B, musical
31
+ symbols -- now decomposes into the correct surrogate pair and queues FOUR events in a SINGLE
32
+ `SendInput` call (highDown, lowDown, lowUp, highUp). The pair arrives adjacent and atomic: a
33
+ strict DirectWrite/Chromium receiver that documents orphaned-surrogate drops gets a well-formed
34
+ batch, not two orphans it must stitch (P0-d measured that lenient controls DO stitch, but the
35
+ sending side should not rely on receiver tolerance). `scripts/probe-sendinput-unicode.ps1` arm C
36
+ drives the real path: BMP=2 events, emoji=4 events, 'ok+U+1F600+fin' round-trips byte-identical
37
+ through a WinForms TextBox. The calling loop in `Send-WpmKeyText` stays on `SendChar` until rc.2
38
+ switches it to code-point iteration; this rc introduces the primitive and proves it.
40
39
 
41
40
 
42
- ## 0.12.0-rc.2 — 2026-11-29 (prerelease)
41
+ ## 0.13.0-rc.2 — 2026-11-29 (prerelease)
43
42
 
44
- **Queueing and wedging are different failures, and now they have different deadlines.**
45
- `WorkerClient` takes `queueTimeoutMs` (default 5000): a request that waits that long behind an
46
- in-flight action is refused with the new `engine_busy` code and **never written** -- the worker
47
- survives, and so does the call it is running (pre-0.12.0 the queued request's own timer eventually
48
- fired `child.kill()` and took the in-flight call down: F5/G4). `requestTimeoutMs` keeps its old
49
- meaning, silent-in-flight -> latch, kill, restart. `engine_busy` joins the three-source refusal
50
- vocabulary (20 codes) as a HOST-emitted runtime code -- retry is the right advice here, unlike
51
- `worker_wedged` -- and the tool layer maps the rejection to the code instead of `action_failed`.
52
- `test/worker-smoke.mjs` §10 is the P0-e scenario finally driven for real: a 2.5s injected-slow
53
- worker plus a 600ms queue deadline -> queued caller refused, in-flight call completes, zero
54
- restarts, client still serves afterwards.
43
+ **`Send-WpmKeyText` iterates code points, not UTF-16 units.** The per-character loop now calls
44
+ `SendCodePoint` (rc.1's primitive) and advances by 2 for a surrogate pair. `$chars` counts CODE
45
+ POINTS: `"abc"` = 3, `"a\u{1F600}b"` = 3 (was 4 under the old UTF-16-unit iteration). The abort
46
+ reason reports "N of M code points". `events` reflects the real count (2 per BMP, 4 per
47
+ supplementary). Validated live: `abc` = 6 events (3*2), `a-emoji-b` = 8 events (2+4+2), both
48
+ chars=3. The `chars` semantic change is BREAKING for any caller that compared it to `Text.Length`
49
+ -- documented in the 0.13.0 promotion changelog.
55
50
 
56
51
 
57
52
  ## 0.12.0 — 2026-11-29
@@ -78,6 +73,37 @@ the in-flight call (F5):
78
73
  injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
79
74
 
80
75
 
76
+ ## 0.12.0-rc.1 — 2026-11-29 (prerelease)
77
+
78
+ **Requests are queued on the client, not inside the worker's stdin.** G4/F5: the worker is one
79
+ serial loop (`worker.ps1` reads a line, answers, reads the next), yet every request timer started
80
+ at its WRITE moment -- a slow action let a QUEUED request run its deadline out and `kill()` the
81
+ worker out from under the request actually running. `WorkerClient.request()` now chains through a
82
+ promise FIFO: one request is in flight at a time, its deadline starts when its line is really
83
+ written, and the wait is observable. `action=status` carries three new client-side facts --
84
+ `workerBusy`, `queueDepth`, `lastActionAgeMs` -- because a busy worker cannot answer questions
85
+ about its own busyness. `abort` deliberately bypasses the queue (queue-jumping cancellation is
86
+ the whole point; the latch file remains the second channel). `test/worker-smoke.mjs` §9 drives a
87
+ slow real worker with two concurrent requests (busy/queued observed, both answered by the same
88
+ pid, serial wall time, zero restarts); `plugin-test` pins the idle-status rendering. The schema
89
+ fields and the `engine_busy` split land with rc.2/rc.3.
90
+
91
+
92
+ ## 0.12.0-rc.2 — 2026-11-29 (prerelease)
93
+
94
+ **Queueing and wedging are different failures, and now they have different deadlines.**
95
+ `WorkerClient` takes `queueTimeoutMs` (default 5000): a request that waits that long behind an
96
+ in-flight action is refused with the new `engine_busy` code and **never written** -- the worker
97
+ survives, and so does the call it is running (pre-0.12.0 the queued request's own timer eventually
98
+ fired `child.kill()` and took the in-flight call down: F5/G4). `requestTimeoutMs` keeps its old
99
+ meaning, silent-in-flight -> latch, kill, restart. `engine_busy` joins the three-source refusal
100
+ vocabulary (20 codes) as a HOST-emitted runtime code -- retry is the right advice here, unlike
101
+ `worker_wedged` -- and the tool layer maps the rejection to the code instead of `action_failed`.
102
+ `test/worker-smoke.mjs` §10 is the P0-e scenario finally driven for real: a 2.5s injected-slow
103
+ worker plus a 600ms queue deadline -> queued caller refused, in-flight call completes, zero
104
+ restarts, client still serves afterwards.
105
+
106
+
81
107
  ## 0.12.0-rc.3 — 2026-11-29 (prerelease)
82
108
 
83
109
  **The contract says out loud what the code has been returning since rc.1/rc.2.**
package/CHANGELOG.ru.md CHANGED
@@ -21,35 +21,30 @@ one is a promise to anyone installing it.
21
21
 
22
22
 
23
23
 
24
24
 
25
25
 
26
- ## 0.12.0-rc.1 — 2026-11-29 (prerelease)
27
-
28
- **Requests are queued on the client, not inside the worker's stdin.** G4/F5: the worker is one
29
- serial loop (`worker.ps1` reads a line, answers, reads the next), yet every request timer started
30
- at its WRITE moment -- a slow action let a QUEUED request run its deadline out and `kill()` the
31
- worker out from under the request actually running. `WorkerClient.request()` now chains through a
32
- promise FIFO: one request is in flight at a time, its deadline starts when its line is really
33
- written, and the wait is observable. `action=status` carries three new client-side facts --
34
- `workerBusy`, `queueDepth`, `lastActionAgeMs` -- because a busy worker cannot answer questions
35
- about its own busyness. `abort` deliberately bypasses the queue (queue-jumping cancellation is
36
- the whole point; the latch file remains the second channel). `test/worker-smoke.mjs` §9 drives a
37
- slow real worker with two concurrent requests (busy/queued observed, both answered by the same
38
- pid, serial wall time, zero restarts); `plugin-test` pins the idle-status rendering. The schema
39
- fields and the `engine_busy` split land with rc.2/rc.3.
26
+ ## 0.13.0-rc.1 — 2026-11-29 (prerelease)
27
+
28
+ **SendCodePoint: one Unicode code point in, one atomic SendInput batch out.** The existing
29
+ `SendChar(char)` emits two events for a BMP unit (unchanged, still exported for callers that
30
+ know the plane), but the supplementary-plane path (`cp > 0xFFFF`) -- emoji, CJK ext-B, musical
31
+ symbols -- now decomposes into the correct surrogate pair and queues FOUR events in a SINGLE
32
+ `SendInput` call (highDown, lowDown, lowUp, highUp). The pair arrives adjacent and atomic: a
33
+ strict DirectWrite/Chromium receiver that documents orphaned-surrogate drops gets a well-formed
34
+ batch, not two orphans it must stitch (P0-d measured that lenient controls DO stitch, but the
35
+ sending side should not rely on receiver tolerance). `scripts/probe-sendinput-unicode.ps1` arm C
36
+ drives the real path: BMP=2 events, emoji=4 events, 'ok+U+1F600+fin' round-trips byte-identical
37
+ through a WinForms TextBox. The calling loop in `Send-WpmKeyText` stays on `SendChar` until rc.2
38
+ switches it to code-point iteration; this rc introduces the primitive and proves it.
40
39
 
41
40
 
42
- ## 0.12.0-rc.2 — 2026-11-29 (prerelease)
41
+ ## 0.13.0-rc.2 — 2026-11-29 (prerelease)
43
42
 
44
- **Queueing and wedging are different failures, and now they have different deadlines.**
45
- `WorkerClient` takes `queueTimeoutMs` (default 5000): a request that waits that long behind an
46
- in-flight action is refused with the new `engine_busy` code and **never written** -- the worker
47
- survives, and so does the call it is running (pre-0.12.0 the queued request's own timer eventually
48
- fired `child.kill()` and took the in-flight call down: F5/G4). `requestTimeoutMs` keeps its old
49
- meaning, silent-in-flight -> latch, kill, restart. `engine_busy` joins the three-source refusal
50
- vocabulary (20 codes) as a HOST-emitted runtime code -- retry is the right advice here, unlike
51
- `worker_wedged` -- and the tool layer maps the rejection to the code instead of `action_failed`.
52
- `test/worker-smoke.mjs` §10 is the P0-e scenario finally driven for real: a 2.5s injected-slow
53
- worker plus a 600ms queue deadline -> queued caller refused, in-flight call completes, zero
54
- restarts, client still serves afterwards.
43
+ **`Send-WpmKeyText` iterates code points, not UTF-16 units.** The per-character loop now calls
44
+ `SendCodePoint` (rc.1's primitive) and advances by 2 for a surrogate pair. `$chars` counts CODE
45
+ POINTS: `"abc"` = 3, `"a\u{1F600}b"` = 3 (was 4 under the old UTF-16-unit iteration). The abort
46
+ reason reports "N of M code points". `events` reflects the real count (2 per BMP, 4 per
47
+ supplementary). Validated live: `abc` = 6 events (3*2), `a-emoji-b` = 8 events (2+4+2), both
48
+ chars=3. The `chars` semantic change is BREAKING for any caller that compared it to `Text.Length`
49
+ -- documented in the 0.13.0 promotion changelog.
55
50
 
56
51
 
57
52
  ## 0.12.0 — 2026-11-29
@@ -78,6 +73,37 @@ the in-flight call (F5):
78
73
  injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
79
74
 
80
75
 
76
+ ## 0.12.0-rc.1 — 2026-11-29 (prerelease)
77
+
78
+ **Requests are queued on the client, not inside the worker's stdin.** G4/F5: the worker is one
79
+ serial loop (`worker.ps1` reads a line, answers, reads the next), yet every request timer started
80
+ at its WRITE moment -- a slow action let a QUEUED request run its deadline out and `kill()` the
81
+ worker out from under the request actually running. `WorkerClient.request()` now chains through a
82
+ promise FIFO: one request is in flight at a time, its deadline starts when its line is really
83
+ written, and the wait is observable. `action=status` carries three new client-side facts --
84
+ `workerBusy`, `queueDepth`, `lastActionAgeMs` -- because a busy worker cannot answer questions
85
+ about its own busyness. `abort` deliberately bypasses the queue (queue-jumping cancellation is
86
+ the whole point; the latch file remains the second channel). `test/worker-smoke.mjs` §9 drives a
87
+ slow real worker with two concurrent requests (busy/queued observed, both answered by the same
88
+ pid, serial wall time, zero restarts); `plugin-test` pins the idle-status rendering. The schema
89
+ fields and the `engine_busy` split land with rc.2/rc.3.
90
+
91
+
92
+ ## 0.12.0-rc.2 — 2026-11-29 (prerelease)
93
+
94
+ **Queueing and wedging are different failures, and now they have different deadlines.**
95
+ `WorkerClient` takes `queueTimeoutMs` (default 5000): a request that waits that long behind an
96
+ in-flight action is refused with the new `engine_busy` code and **never written** -- the worker
97
+ survives, and so does the call it is running (pre-0.12.0 the queued request's own timer eventually
98
+ fired `child.kill()` and took the in-flight call down: F5/G4). `requestTimeoutMs` keeps its old
99
+ meaning, silent-in-flight -> latch, kill, restart. `engine_busy` joins the three-source refusal
100
+ vocabulary (20 codes) as a HOST-emitted runtime code -- retry is the right advice here, unlike
101
+ `worker_wedged` -- and the tool layer maps the rejection to the code instead of `action_failed`.
102
+ `test/worker-smoke.mjs` §10 is the P0-e scenario finally driven for real: a 2.5s injected-slow
103
+ worker plus a 600ms queue deadline -> queued caller refused, in-flight call completes, zero
104
+ restarts, client still serves afterwards.
105
+
106
+
81
107
  ## 0.12.0-rc.3 — 2026-11-29 (prerelease)
82
108
 
83
109
  **The contract says out loud what the code has been returning since rc.1/rc.2.**
package/CHANGELOG.zh.md CHANGED
@@ -21,35 +21,30 @@ one is a promise to anyone installing it.
21
21
 
22
22
 
23
23
 
24
24
 
25
25
 
26
- ## 0.12.0-rc.1 — 2026-11-29 (prerelease)
27
-
28
- **Requests are queued on the client, not inside the worker's stdin.** G4/F5: the worker is one
29
- serial loop (`worker.ps1` reads a line, answers, reads the next), yet every request timer started
30
- at its WRITE moment -- a slow action let a QUEUED request run its deadline out and `kill()` the
31
- worker out from under the request actually running. `WorkerClient.request()` now chains through a
32
- promise FIFO: one request is in flight at a time, its deadline starts when its line is really
33
- written, and the wait is observable. `action=status` carries three new client-side facts --
34
- `workerBusy`, `queueDepth`, `lastActionAgeMs` -- because a busy worker cannot answer questions
35
- about its own busyness. `abort` deliberately bypasses the queue (queue-jumping cancellation is
36
- the whole point; the latch file remains the second channel). `test/worker-smoke.mjs` §9 drives a
37
- slow real worker with two concurrent requests (busy/queued observed, both answered by the same
38
- pid, serial wall time, zero restarts); `plugin-test` pins the idle-status rendering. The schema
39
- fields and the `engine_busy` split land with rc.2/rc.3.
26
+ ## 0.13.0-rc.1 — 2026-11-29 (prerelease)
27
+
28
+ **SendCodePoint: one Unicode code point in, one atomic SendInput batch out.** The existing
29
+ `SendChar(char)` emits two events for a BMP unit (unchanged, still exported for callers that
30
+ know the plane), but the supplementary-plane path (`cp > 0xFFFF`) -- emoji, CJK ext-B, musical
31
+ symbols -- now decomposes into the correct surrogate pair and queues FOUR events in a SINGLE
32
+ `SendInput` call (highDown, lowDown, lowUp, highUp). The pair arrives adjacent and atomic: a
33
+ strict DirectWrite/Chromium receiver that documents orphaned-surrogate drops gets a well-formed
34
+ batch, not two orphans it must stitch (P0-d measured that lenient controls DO stitch, but the
35
+ sending side should not rely on receiver tolerance). `scripts/probe-sendinput-unicode.ps1` arm C
36
+ drives the real path: BMP=2 events, emoji=4 events, 'ok+U+1F600+fin' round-trips byte-identical
37
+ through a WinForms TextBox. The calling loop in `Send-WpmKeyText` stays on `SendChar` until rc.2
38
+ switches it to code-point iteration; this rc introduces the primitive and proves it.
40
39
 
41
40
 
42
- ## 0.12.0-rc.2 — 2026-11-29 (prerelease)
41
+ ## 0.13.0-rc.2 — 2026-11-29 (prerelease)
43
42
 
44
- **Queueing and wedging are different failures, and now they have different deadlines.**
45
- `WorkerClient` takes `queueTimeoutMs` (default 5000): a request that waits that long behind an
46
- in-flight action is refused with the new `engine_busy` code and **never written** -- the worker
47
- survives, and so does the call it is running (pre-0.12.0 the queued request's own timer eventually
48
- fired `child.kill()` and took the in-flight call down: F5/G4). `requestTimeoutMs` keeps its old
49
- meaning, silent-in-flight -> latch, kill, restart. `engine_busy` joins the three-source refusal
50
- vocabulary (20 codes) as a HOST-emitted runtime code -- retry is the right advice here, unlike
51
- `worker_wedged` -- and the tool layer maps the rejection to the code instead of `action_failed`.
52
- `test/worker-smoke.mjs` §10 is the P0-e scenario finally driven for real: a 2.5s injected-slow
53
- worker plus a 600ms queue deadline -> queued caller refused, in-flight call completes, zero
54
- restarts, client still serves afterwards.
43
+ **`Send-WpmKeyText` iterates code points, not UTF-16 units.** The per-character loop now calls
44
+ `SendCodePoint` (rc.1's primitive) and advances by 2 for a surrogate pair. `$chars` counts CODE
45
+ POINTS: `"abc"` = 3, `"a\u{1F600}b"` = 3 (was 4 under the old UTF-16-unit iteration). The abort
46
+ reason reports "N of M code points". `events` reflects the real count (2 per BMP, 4 per
47
+ supplementary). Validated live: `abc` = 6 events (3*2), `a-emoji-b` = 8 events (2+4+2), both
48
+ chars=3. The `chars` semantic change is BREAKING for any caller that compared it to `Text.Length`
49
+ -- documented in the 0.13.0 promotion changelog.
55
50
 
56
51
 
57
52
  ## 0.12.0 — 2026-11-29
@@ -78,6 +73,37 @@ the in-flight call (F5):
78
73
  injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
79
74
 
80
75
 
76
+ ## 0.12.0-rc.1 — 2026-11-29 (prerelease)
77
+
78
+ **Requests are queued on the client, not inside the worker's stdin.** G4/F5: the worker is one
79
+ serial loop (`worker.ps1` reads a line, answers, reads the next), yet every request timer started
80
+ at its WRITE moment -- a slow action let a QUEUED request run its deadline out and `kill()` the
81
+ worker out from under the request actually running. `WorkerClient.request()` now chains through a
82
+ promise FIFO: one request is in flight at a time, its deadline starts when its line is really
83
+ written, and the wait is observable. `action=status` carries three new client-side facts --
84
+ `workerBusy`, `queueDepth`, `lastActionAgeMs` -- because a busy worker cannot answer questions
85
+ about its own busyness. `abort` deliberately bypasses the queue (queue-jumping cancellation is
86
+ the whole point; the latch file remains the second channel). `test/worker-smoke.mjs` §9 drives a
87
+ slow real worker with two concurrent requests (busy/queued observed, both answered by the same
88
+ pid, serial wall time, zero restarts); `plugin-test` pins the idle-status rendering. The schema
89
+ fields and the `engine_busy` split land with rc.2/rc.3.
90
+
91
+
92
+ ## 0.12.0-rc.2 — 2026-11-29 (prerelease)
93
+
94
+ **Queueing and wedging are different failures, and now they have different deadlines.**
95
+ `WorkerClient` takes `queueTimeoutMs` (default 5000): a request that waits that long behind an
96
+ in-flight action is refused with the new `engine_busy` code and **never written** -- the worker
97
+ survives, and so does the call it is running (pre-0.12.0 the queued request's own timer eventually
98
+ fired `child.kill()` and took the in-flight call down: F5/G4). `requestTimeoutMs` keeps its old
99
+ meaning, silent-in-flight -> latch, kill, restart. `engine_busy` joins the three-source refusal
100
+ vocabulary (20 codes) as a HOST-emitted runtime code -- retry is the right advice here, unlike
101
+ `worker_wedged` -- and the tool layer maps the rejection to the code instead of `action_failed`.
102
+ `test/worker-smoke.mjs` §10 is the P0-e scenario finally driven for real: a 2.5s injected-slow
103
+ worker plus a 600ms queue deadline -> queued caller refused, in-flight call completes, zero
104
+ restarts, client still serves afterwards.
105
+
106
+
81
107
  ## 0.12.0-rc.3 — 2026-11-29 (prerelease)
82
108
 
83
109
  **The contract says out loud what the code has been returning since rc.1/rc.2.**
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.12.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.13.0-rc.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
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.12.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.13.0-rc.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
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.12.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.13.0-rc.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
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.12.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.13.0-rc.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
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.12.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.13.0-rc.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
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.12.0** — this document describes the contract as of that version. What
8
+ > **Current release: 0.13.0-rc.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
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.12.0** — this document describes the contract as of that version. What
4
+ > **Current release: 0.13.0-rc.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