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.de.md +52 -26
- package/CHANGELOG.es.md +52 -26
- package/CHANGELOG.fr.md +52 -26
- package/CHANGELOG.it.md +52 -26
- package/CHANGELOG.ja.md +52 -26
- package/CHANGELOG.ko.md +52 -26
- package/CHANGELOG.md +52 -26
- package/CHANGELOG.pt.md +52 -26
- package/CHANGELOG.ru.md +52 -26
- package/CHANGELOG.zh.md +52 -26
- package/README.de.md +1 -1
- package/README.es.md +1 -1
- package/README.fr.md +1 -1
- package/README.it.md +1 -1
- package/README.ja.md +1 -1
- package/README.ko.md +1 -1
- package/README.md +1 -1
- package/README.pt.md +1 -1
- package/README.ru.md +1 -1
- package/README.zh.md +1 -1
- package/dsh.plugin.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/engine/input-inject.ps1 +45 -6
package/CHANGELOG.de.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.
|
|
27
|
-
|
|
28
|
-
**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
the
|
|
37
|
-
|
|
38
|
-
|
|
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.
|
|
41
|
+
## 0.13.0-rc.2 — 2026-11-29 (prerelease)
|
|
43
42
|
|
|
44
|
-
|
|
45
|
-
`
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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.es.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.
|
|
27
|
-
|
|
28
|
-
**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
the
|
|
37
|
-
|
|
38
|
-
|
|
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.
|
|
41
|
+
## 0.13.0-rc.2 — 2026-11-29 (prerelease)
|
|
43
42
|
|
|
44
|
-
|
|
45
|
-
`
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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.fr.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.
|
|
27
|
-
|
|
28
|
-
**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
the
|
|
37
|
-
|
|
38
|
-
|
|
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.
|
|
41
|
+
## 0.13.0-rc.2 — 2026-11-29 (prerelease)
|
|
43
42
|
|
|
44
|
-
|
|
45
|
-
`
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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.it.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.
|
|
27
|
-
|
|
28
|
-
**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
the
|
|
37
|
-
|
|
38
|
-
|
|
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.
|
|
41
|
+
## 0.13.0-rc.2 — 2026-11-29 (prerelease)
|
|
43
42
|
|
|
44
|
-
|
|
45
|
-
`
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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.ja.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.
|
|
27
|
-
|
|
28
|
-
**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
the
|
|
37
|
-
|
|
38
|
-
|
|
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.
|
|
41
|
+
## 0.13.0-rc.2 — 2026-11-29 (prerelease)
|
|
43
42
|
|
|
44
|
-
|
|
45
|
-
`
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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.**
|