dsh-windows-parallel-mcp 0.12.0-rc.2 → 0.12.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 +39 -0
- package/CHANGELOG.es.md +39 -0
- package/CHANGELOG.fr.md +39 -0
- package/CHANGELOG.it.md +39 -0
- package/CHANGELOG.ja.md +39 -0
- package/CHANGELOG.ko.md +39 -0
- package/CHANGELOG.md +39 -0
- package/CHANGELOG.pt.md +39 -0
- package/CHANGELOG.ru.md +39 -0
- package/CHANGELOG.zh.md +39 -0
- 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/lib/host-tools.js +2 -1
- package/lib/index.js +7 -2
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/schema/tools.json +2 -2
package/CHANGELOG.de.md
CHANGED
|
@@ -52,6 +52,45 @@ worker plus a 600ms queue deadline -> queued caller refused, in-flight call comp
|
|
|
52
52
|
restarts, client still serves afterwards.
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
## 0.12.0 — 2026-11-29
|
|
56
|
+
|
|
57
|
+
**Concurrency: a slow call can no longer murder the calls queued behind it.** Promotes the
|
|
58
|
+
`0.12.0-rc.1..rc.3` line, closing defect G4 -- the serial worker plus per-request timers that
|
|
59
|
+
started at WRITE time meant every waiting caller owned a loaded gun (`child.kill()`) aimed at
|
|
60
|
+
the in-flight call (F5):
|
|
61
|
+
|
|
62
|
+
- `WorkerClient.request()` goes through a client-side promise FIFO: one request in flight, the
|
|
63
|
+
request deadline starts when the line is really written, `abort` bypasses the queue (the
|
|
64
|
+
cancellation story is unchanged, the latch file remains the second channel).
|
|
65
|
+
- `queueTimeoutMs` (default 5000) splits BUSY from BROKEN: waiting past the queue deadline is
|
|
66
|
+
refused with the new `engine_busy` code (20 in the three-source vocabulary) and the request is
|
|
67
|
+
never sent -- no execution, no kill, no restart; `requestTimeoutMs` keeps its old meaning for
|
|
68
|
+
a genuinely silent worker. The tool layer maps the rejection to the code, never to
|
|
69
|
+
`action_failed`.
|
|
70
|
+
- `action=status` renders `workerBusy` / `queueDepth` / `lastActionAgeMs` beside the restart
|
|
71
|
+
budget, and the contract (schema description, registered tool description, refusal lists --
|
|
72
|
+
which had drifted: `worker_wedged` was missing from the tool description since 0.11.0) says the
|
|
73
|
+
same thing.
|
|
74
|
+
- No breaking API: existing calls behave identically when nothing is concurrent; a call that
|
|
75
|
+
would pre-0.12.0 have killed the worker at its deadline now either waits (and can be observed
|
|
76
|
+
waiting) or gets a retryable refusal. `test/worker-smoke.mjs` §9/§10 drive both shapes against
|
|
77
|
+
injected-slow real workers (P0-e's "desktop cannot produce a 20s action" gap, closed by
|
|
78
|
+
injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## 0.12.0-rc.3 — 2026-11-29 (prerelease)
|
|
82
|
+
|
|
83
|
+
**The contract says out loud what the code has been returning since rc.1/rc.2.**
|
|
84
|
+
`wpm_status`'s schema description now declares the client-side facts it renders -- `workerBusy`,
|
|
85
|
+
`queueDepth`, `lastActionAgeMs` next to the `restarts=N/max` budget -- and the registered tool
|
|
86
|
+
description names BOTH lifecycle codes with their opposite advice (`engine_busy`: retry, the
|
|
87
|
+
worker lives; `worker_wedged`: stop, read the log; the description had been silently missing even
|
|
88
|
+
`worker_wedged` since 0.11.0 -- caught by this round's sync, which is exactly the drift class
|
|
89
|
+
`plugin-test` now pins with three text assertions). The host half's `action` parameter blurb and
|
|
90
|
+
the stale "0.8.0 adds NO refusal code" note (three codes have joined since) were corrected in the
|
|
91
|
+
same pass. MCP and DSH channels generate from the same schema, so both move together.
|
|
92
|
+
|
|
93
|
+
|
|
55
94
|
## 0.11.0 — 2026-11-29
|
|
56
95
|
|
|
57
96
|
**State and recovery: the restart counter has teeth, and a kill cleans up.** Promotes the
|
package/CHANGELOG.es.md
CHANGED
|
@@ -52,6 +52,45 @@ worker plus a 600ms queue deadline -> queued caller refused, in-flight call comp
|
|
|
52
52
|
restarts, client still serves afterwards.
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
## 0.12.0 — 2026-11-29
|
|
56
|
+
|
|
57
|
+
**Concurrency: a slow call can no longer murder the calls queued behind it.** Promotes the
|
|
58
|
+
`0.12.0-rc.1..rc.3` line, closing defect G4 -- the serial worker plus per-request timers that
|
|
59
|
+
started at WRITE time meant every waiting caller owned a loaded gun (`child.kill()`) aimed at
|
|
60
|
+
the in-flight call (F5):
|
|
61
|
+
|
|
62
|
+
- `WorkerClient.request()` goes through a client-side promise FIFO: one request in flight, the
|
|
63
|
+
request deadline starts when the line is really written, `abort` bypasses the queue (the
|
|
64
|
+
cancellation story is unchanged, the latch file remains the second channel).
|
|
65
|
+
- `queueTimeoutMs` (default 5000) splits BUSY from BROKEN: waiting past the queue deadline is
|
|
66
|
+
refused with the new `engine_busy` code (20 in the three-source vocabulary) and the request is
|
|
67
|
+
never sent -- no execution, no kill, no restart; `requestTimeoutMs` keeps its old meaning for
|
|
68
|
+
a genuinely silent worker. The tool layer maps the rejection to the code, never to
|
|
69
|
+
`action_failed`.
|
|
70
|
+
- `action=status` renders `workerBusy` / `queueDepth` / `lastActionAgeMs` beside the restart
|
|
71
|
+
budget, and the contract (schema description, registered tool description, refusal lists --
|
|
72
|
+
which had drifted: `worker_wedged` was missing from the tool description since 0.11.0) says the
|
|
73
|
+
same thing.
|
|
74
|
+
- No breaking API: existing calls behave identically when nothing is concurrent; a call that
|
|
75
|
+
would pre-0.12.0 have killed the worker at its deadline now either waits (and can be observed
|
|
76
|
+
waiting) or gets a retryable refusal. `test/worker-smoke.mjs` §9/§10 drive both shapes against
|
|
77
|
+
injected-slow real workers (P0-e's "desktop cannot produce a 20s action" gap, closed by
|
|
78
|
+
injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## 0.12.0-rc.3 — 2026-11-29 (prerelease)
|
|
82
|
+
|
|
83
|
+
**The contract says out loud what the code has been returning since rc.1/rc.2.**
|
|
84
|
+
`wpm_status`'s schema description now declares the client-side facts it renders -- `workerBusy`,
|
|
85
|
+
`queueDepth`, `lastActionAgeMs` next to the `restarts=N/max` budget -- and the registered tool
|
|
86
|
+
description names BOTH lifecycle codes with their opposite advice (`engine_busy`: retry, the
|
|
87
|
+
worker lives; `worker_wedged`: stop, read the log; the description had been silently missing even
|
|
88
|
+
`worker_wedged` since 0.11.0 -- caught by this round's sync, which is exactly the drift class
|
|
89
|
+
`plugin-test` now pins with three text assertions). The host half's `action` parameter blurb and
|
|
90
|
+
the stale "0.8.0 adds NO refusal code" note (three codes have joined since) were corrected in the
|
|
91
|
+
same pass. MCP and DSH channels generate from the same schema, so both move together.
|
|
92
|
+
|
|
93
|
+
|
|
55
94
|
## 0.11.0 — 2026-11-29
|
|
56
95
|
|
|
57
96
|
**State and recovery: the restart counter has teeth, and a kill cleans up.** Promotes the
|
package/CHANGELOG.fr.md
CHANGED
|
@@ -52,6 +52,45 @@ worker plus a 600ms queue deadline -> queued caller refused, in-flight call comp
|
|
|
52
52
|
restarts, client still serves afterwards.
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
## 0.12.0 — 2026-11-29
|
|
56
|
+
|
|
57
|
+
**Concurrency: a slow call can no longer murder the calls queued behind it.** Promotes the
|
|
58
|
+
`0.12.0-rc.1..rc.3` line, closing defect G4 -- the serial worker plus per-request timers that
|
|
59
|
+
started at WRITE time meant every waiting caller owned a loaded gun (`child.kill()`) aimed at
|
|
60
|
+
the in-flight call (F5):
|
|
61
|
+
|
|
62
|
+
- `WorkerClient.request()` goes through a client-side promise FIFO: one request in flight, the
|
|
63
|
+
request deadline starts when the line is really written, `abort` bypasses the queue (the
|
|
64
|
+
cancellation story is unchanged, the latch file remains the second channel).
|
|
65
|
+
- `queueTimeoutMs` (default 5000) splits BUSY from BROKEN: waiting past the queue deadline is
|
|
66
|
+
refused with the new `engine_busy` code (20 in the three-source vocabulary) and the request is
|
|
67
|
+
never sent -- no execution, no kill, no restart; `requestTimeoutMs` keeps its old meaning for
|
|
68
|
+
a genuinely silent worker. The tool layer maps the rejection to the code, never to
|
|
69
|
+
`action_failed`.
|
|
70
|
+
- `action=status` renders `workerBusy` / `queueDepth` / `lastActionAgeMs` beside the restart
|
|
71
|
+
budget, and the contract (schema description, registered tool description, refusal lists --
|
|
72
|
+
which had drifted: `worker_wedged` was missing from the tool description since 0.11.0) says the
|
|
73
|
+
same thing.
|
|
74
|
+
- No breaking API: existing calls behave identically when nothing is concurrent; a call that
|
|
75
|
+
would pre-0.12.0 have killed the worker at its deadline now either waits (and can be observed
|
|
76
|
+
waiting) or gets a retryable refusal. `test/worker-smoke.mjs` §9/§10 drive both shapes against
|
|
77
|
+
injected-slow real workers (P0-e's "desktop cannot produce a 20s action" gap, closed by
|
|
78
|
+
injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## 0.12.0-rc.3 — 2026-11-29 (prerelease)
|
|
82
|
+
|
|
83
|
+
**The contract says out loud what the code has been returning since rc.1/rc.2.**
|
|
84
|
+
`wpm_status`'s schema description now declares the client-side facts it renders -- `workerBusy`,
|
|
85
|
+
`queueDepth`, `lastActionAgeMs` next to the `restarts=N/max` budget -- and the registered tool
|
|
86
|
+
description names BOTH lifecycle codes with their opposite advice (`engine_busy`: retry, the
|
|
87
|
+
worker lives; `worker_wedged`: stop, read the log; the description had been silently missing even
|
|
88
|
+
`worker_wedged` since 0.11.0 -- caught by this round's sync, which is exactly the drift class
|
|
89
|
+
`plugin-test` now pins with three text assertions). The host half's `action` parameter blurb and
|
|
90
|
+
the stale "0.8.0 adds NO refusal code" note (three codes have joined since) were corrected in the
|
|
91
|
+
same pass. MCP and DSH channels generate from the same schema, so both move together.
|
|
92
|
+
|
|
93
|
+
|
|
55
94
|
## 0.11.0 — 2026-11-29
|
|
56
95
|
|
|
57
96
|
**State and recovery: the restart counter has teeth, and a kill cleans up.** Promotes the
|
package/CHANGELOG.it.md
CHANGED
|
@@ -52,6 +52,45 @@ worker plus a 600ms queue deadline -> queued caller refused, in-flight call comp
|
|
|
52
52
|
restarts, client still serves afterwards.
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
## 0.12.0 — 2026-11-29
|
|
56
|
+
|
|
57
|
+
**Concurrency: a slow call can no longer murder the calls queued behind it.** Promotes the
|
|
58
|
+
`0.12.0-rc.1..rc.3` line, closing defect G4 -- the serial worker plus per-request timers that
|
|
59
|
+
started at WRITE time meant every waiting caller owned a loaded gun (`child.kill()`) aimed at
|
|
60
|
+
the in-flight call (F5):
|
|
61
|
+
|
|
62
|
+
- `WorkerClient.request()` goes through a client-side promise FIFO: one request in flight, the
|
|
63
|
+
request deadline starts when the line is really written, `abort` bypasses the queue (the
|
|
64
|
+
cancellation story is unchanged, the latch file remains the second channel).
|
|
65
|
+
- `queueTimeoutMs` (default 5000) splits BUSY from BROKEN: waiting past the queue deadline is
|
|
66
|
+
refused with the new `engine_busy` code (20 in the three-source vocabulary) and the request is
|
|
67
|
+
never sent -- no execution, no kill, no restart; `requestTimeoutMs` keeps its old meaning for
|
|
68
|
+
a genuinely silent worker. The tool layer maps the rejection to the code, never to
|
|
69
|
+
`action_failed`.
|
|
70
|
+
- `action=status` renders `workerBusy` / `queueDepth` / `lastActionAgeMs` beside the restart
|
|
71
|
+
budget, and the contract (schema description, registered tool description, refusal lists --
|
|
72
|
+
which had drifted: `worker_wedged` was missing from the tool description since 0.11.0) says the
|
|
73
|
+
same thing.
|
|
74
|
+
- No breaking API: existing calls behave identically when nothing is concurrent; a call that
|
|
75
|
+
would pre-0.12.0 have killed the worker at its deadline now either waits (and can be observed
|
|
76
|
+
waiting) or gets a retryable refusal. `test/worker-smoke.mjs` §9/§10 drive both shapes against
|
|
77
|
+
injected-slow real workers (P0-e's "desktop cannot produce a 20s action" gap, closed by
|
|
78
|
+
injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## 0.12.0-rc.3 — 2026-11-29 (prerelease)
|
|
82
|
+
|
|
83
|
+
**The contract says out loud what the code has been returning since rc.1/rc.2.**
|
|
84
|
+
`wpm_status`'s schema description now declares the client-side facts it renders -- `workerBusy`,
|
|
85
|
+
`queueDepth`, `lastActionAgeMs` next to the `restarts=N/max` budget -- and the registered tool
|
|
86
|
+
description names BOTH lifecycle codes with their opposite advice (`engine_busy`: retry, the
|
|
87
|
+
worker lives; `worker_wedged`: stop, read the log; the description had been silently missing even
|
|
88
|
+
`worker_wedged` since 0.11.0 -- caught by this round's sync, which is exactly the drift class
|
|
89
|
+
`plugin-test` now pins with three text assertions). The host half's `action` parameter blurb and
|
|
90
|
+
the stale "0.8.0 adds NO refusal code" note (three codes have joined since) were corrected in the
|
|
91
|
+
same pass. MCP and DSH channels generate from the same schema, so both move together.
|
|
92
|
+
|
|
93
|
+
|
|
55
94
|
## 0.11.0 — 2026-11-29
|
|
56
95
|
|
|
57
96
|
**State and recovery: the restart counter has teeth, and a kill cleans up.** Promotes the
|
package/CHANGELOG.ja.md
CHANGED
|
@@ -52,6 +52,45 @@ worker plus a 600ms queue deadline -> queued caller refused, in-flight call comp
|
|
|
52
52
|
restarts, client still serves afterwards.
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
## 0.12.0 — 2026-11-29
|
|
56
|
+
|
|
57
|
+
**Concurrency: a slow call can no longer murder the calls queued behind it.** Promotes the
|
|
58
|
+
`0.12.0-rc.1..rc.3` line, closing defect G4 -- the serial worker plus per-request timers that
|
|
59
|
+
started at WRITE time meant every waiting caller owned a loaded gun (`child.kill()`) aimed at
|
|
60
|
+
the in-flight call (F5):
|
|
61
|
+
|
|
62
|
+
- `WorkerClient.request()` goes through a client-side promise FIFO: one request in flight, the
|
|
63
|
+
request deadline starts when the line is really written, `abort` bypasses the queue (the
|
|
64
|
+
cancellation story is unchanged, the latch file remains the second channel).
|
|
65
|
+
- `queueTimeoutMs` (default 5000) splits BUSY from BROKEN: waiting past the queue deadline is
|
|
66
|
+
refused with the new `engine_busy` code (20 in the three-source vocabulary) and the request is
|
|
67
|
+
never sent -- no execution, no kill, no restart; `requestTimeoutMs` keeps its old meaning for
|
|
68
|
+
a genuinely silent worker. The tool layer maps the rejection to the code, never to
|
|
69
|
+
`action_failed`.
|
|
70
|
+
- `action=status` renders `workerBusy` / `queueDepth` / `lastActionAgeMs` beside the restart
|
|
71
|
+
budget, and the contract (schema description, registered tool description, refusal lists --
|
|
72
|
+
which had drifted: `worker_wedged` was missing from the tool description since 0.11.0) says the
|
|
73
|
+
same thing.
|
|
74
|
+
- No breaking API: existing calls behave identically when nothing is concurrent; a call that
|
|
75
|
+
would pre-0.12.0 have killed the worker at its deadline now either waits (and can be observed
|
|
76
|
+
waiting) or gets a retryable refusal. `test/worker-smoke.mjs` §9/§10 drive both shapes against
|
|
77
|
+
injected-slow real workers (P0-e's "desktop cannot produce a 20s action" gap, closed by
|
|
78
|
+
injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## 0.12.0-rc.3 — 2026-11-29 (prerelease)
|
|
82
|
+
|
|
83
|
+
**The contract says out loud what the code has been returning since rc.1/rc.2.**
|
|
84
|
+
`wpm_status`'s schema description now declares the client-side facts it renders -- `workerBusy`,
|
|
85
|
+
`queueDepth`, `lastActionAgeMs` next to the `restarts=N/max` budget -- and the registered tool
|
|
86
|
+
description names BOTH lifecycle codes with their opposite advice (`engine_busy`: retry, the
|
|
87
|
+
worker lives; `worker_wedged`: stop, read the log; the description had been silently missing even
|
|
88
|
+
`worker_wedged` since 0.11.0 -- caught by this round's sync, which is exactly the drift class
|
|
89
|
+
`plugin-test` now pins with three text assertions). The host half's `action` parameter blurb and
|
|
90
|
+
the stale "0.8.0 adds NO refusal code" note (three codes have joined since) were corrected in the
|
|
91
|
+
same pass. MCP and DSH channels generate from the same schema, so both move together.
|
|
92
|
+
|
|
93
|
+
|
|
55
94
|
## 0.11.0 — 2026-11-29
|
|
56
95
|
|
|
57
96
|
**State and recovery: the restart counter has teeth, and a kill cleans up.** Promotes the
|
package/CHANGELOG.ko.md
CHANGED
|
@@ -52,6 +52,45 @@ worker plus a 600ms queue deadline -> queued caller refused, in-flight call comp
|
|
|
52
52
|
restarts, client still serves afterwards.
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
## 0.12.0 — 2026-11-29
|
|
56
|
+
|
|
57
|
+
**Concurrency: a slow call can no longer murder the calls queued behind it.** Promotes the
|
|
58
|
+
`0.12.0-rc.1..rc.3` line, closing defect G4 -- the serial worker plus per-request timers that
|
|
59
|
+
started at WRITE time meant every waiting caller owned a loaded gun (`child.kill()`) aimed at
|
|
60
|
+
the in-flight call (F5):
|
|
61
|
+
|
|
62
|
+
- `WorkerClient.request()` goes through a client-side promise FIFO: one request in flight, the
|
|
63
|
+
request deadline starts when the line is really written, `abort` bypasses the queue (the
|
|
64
|
+
cancellation story is unchanged, the latch file remains the second channel).
|
|
65
|
+
- `queueTimeoutMs` (default 5000) splits BUSY from BROKEN: waiting past the queue deadline is
|
|
66
|
+
refused with the new `engine_busy` code (20 in the three-source vocabulary) and the request is
|
|
67
|
+
never sent -- no execution, no kill, no restart; `requestTimeoutMs` keeps its old meaning for
|
|
68
|
+
a genuinely silent worker. The tool layer maps the rejection to the code, never to
|
|
69
|
+
`action_failed`.
|
|
70
|
+
- `action=status` renders `workerBusy` / `queueDepth` / `lastActionAgeMs` beside the restart
|
|
71
|
+
budget, and the contract (schema description, registered tool description, refusal lists --
|
|
72
|
+
which had drifted: `worker_wedged` was missing from the tool description since 0.11.0) says the
|
|
73
|
+
same thing.
|
|
74
|
+
- No breaking API: existing calls behave identically when nothing is concurrent; a call that
|
|
75
|
+
would pre-0.12.0 have killed the worker at its deadline now either waits (and can be observed
|
|
76
|
+
waiting) or gets a retryable refusal. `test/worker-smoke.mjs` §9/§10 drive both shapes against
|
|
77
|
+
injected-slow real workers (P0-e's "desktop cannot produce a 20s action" gap, closed by
|
|
78
|
+
injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## 0.12.0-rc.3 — 2026-11-29 (prerelease)
|
|
82
|
+
|
|
83
|
+
**The contract says out loud what the code has been returning since rc.1/rc.2.**
|
|
84
|
+
`wpm_status`'s schema description now declares the client-side facts it renders -- `workerBusy`,
|
|
85
|
+
`queueDepth`, `lastActionAgeMs` next to the `restarts=N/max` budget -- and the registered tool
|
|
86
|
+
description names BOTH lifecycle codes with their opposite advice (`engine_busy`: retry, the
|
|
87
|
+
worker lives; `worker_wedged`: stop, read the log; the description had been silently missing even
|
|
88
|
+
`worker_wedged` since 0.11.0 -- caught by this round's sync, which is exactly the drift class
|
|
89
|
+
`plugin-test` now pins with three text assertions). The host half's `action` parameter blurb and
|
|
90
|
+
the stale "0.8.0 adds NO refusal code" note (three codes have joined since) were corrected in the
|
|
91
|
+
same pass. MCP and DSH channels generate from the same schema, so both move together.
|
|
92
|
+
|
|
93
|
+
|
|
55
94
|
## 0.11.0 — 2026-11-29
|
|
56
95
|
|
|
57
96
|
**State and recovery: the restart counter has teeth, and a kill cleans up.** Promotes the
|
package/CHANGELOG.md
CHANGED
|
@@ -49,6 +49,45 @@ worker plus a 600ms queue deadline -> queued caller refused, in-flight call comp
|
|
|
49
49
|
restarts, client still serves afterwards.
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
## 0.12.0 — 2026-11-29
|
|
53
|
+
|
|
54
|
+
**Concurrency: a slow call can no longer murder the calls queued behind it.** Promotes the
|
|
55
|
+
`0.12.0-rc.1..rc.3` line, closing defect G4 -- the serial worker plus per-request timers that
|
|
56
|
+
started at WRITE time meant every waiting caller owned a loaded gun (`child.kill()`) aimed at
|
|
57
|
+
the in-flight call (F5):
|
|
58
|
+
|
|
59
|
+
- `WorkerClient.request()` goes through a client-side promise FIFO: one request in flight, the
|
|
60
|
+
request deadline starts when the line is really written, `abort` bypasses the queue (the
|
|
61
|
+
cancellation story is unchanged, the latch file remains the second channel).
|
|
62
|
+
- `queueTimeoutMs` (default 5000) splits BUSY from BROKEN: waiting past the queue deadline is
|
|
63
|
+
refused with the new `engine_busy` code (20 in the three-source vocabulary) and the request is
|
|
64
|
+
never sent -- no execution, no kill, no restart; `requestTimeoutMs` keeps its old meaning for
|
|
65
|
+
a genuinely silent worker. The tool layer maps the rejection to the code, never to
|
|
66
|
+
`action_failed`.
|
|
67
|
+
- `action=status` renders `workerBusy` / `queueDepth` / `lastActionAgeMs` beside the restart
|
|
68
|
+
budget, and the contract (schema description, registered tool description, refusal lists --
|
|
69
|
+
which had drifted: `worker_wedged` was missing from the tool description since 0.11.0) says the
|
|
70
|
+
same thing.
|
|
71
|
+
- No breaking API: existing calls behave identically when nothing is concurrent; a call that
|
|
72
|
+
would pre-0.12.0 have killed the worker at its deadline now either waits (and can be observed
|
|
73
|
+
waiting) or gets a retryable refusal. `test/worker-smoke.mjs` §9/§10 drive both shapes against
|
|
74
|
+
injected-slow real workers (P0-e's "desktop cannot produce a 20s action" gap, closed by
|
|
75
|
+
injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## 0.12.0-rc.3 — 2026-11-29 (prerelease)
|
|
79
|
+
|
|
80
|
+
**The contract says out loud what the code has been returning since rc.1/rc.2.**
|
|
81
|
+
`wpm_status`'s schema description now declares the client-side facts it renders -- `workerBusy`,
|
|
82
|
+
`queueDepth`, `lastActionAgeMs` next to the `restarts=N/max` budget -- and the registered tool
|
|
83
|
+
description names BOTH lifecycle codes with their opposite advice (`engine_busy`: retry, the
|
|
84
|
+
worker lives; `worker_wedged`: stop, read the log; the description had been silently missing even
|
|
85
|
+
`worker_wedged` since 0.11.0 -- caught by this round's sync, which is exactly the drift class
|
|
86
|
+
`plugin-test` now pins with three text assertions). The host half's `action` parameter blurb and
|
|
87
|
+
the stale "0.8.0 adds NO refusal code" note (three codes have joined since) were corrected in the
|
|
88
|
+
same pass. MCP and DSH channels generate from the same schema, so both move together.
|
|
89
|
+
|
|
90
|
+
|
|
52
91
|
## 0.11.0 — 2026-11-29
|
|
53
92
|
|
|
54
93
|
**State and recovery: the restart counter has teeth, and a kill cleans up.** Promotes the
|
package/CHANGELOG.pt.md
CHANGED
|
@@ -52,6 +52,45 @@ worker plus a 600ms queue deadline -> queued caller refused, in-flight call comp
|
|
|
52
52
|
restarts, client still serves afterwards.
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
## 0.12.0 — 2026-11-29
|
|
56
|
+
|
|
57
|
+
**Concurrency: a slow call can no longer murder the calls queued behind it.** Promotes the
|
|
58
|
+
`0.12.0-rc.1..rc.3` line, closing defect G4 -- the serial worker plus per-request timers that
|
|
59
|
+
started at WRITE time meant every waiting caller owned a loaded gun (`child.kill()`) aimed at
|
|
60
|
+
the in-flight call (F5):
|
|
61
|
+
|
|
62
|
+
- `WorkerClient.request()` goes through a client-side promise FIFO: one request in flight, the
|
|
63
|
+
request deadline starts when the line is really written, `abort` bypasses the queue (the
|
|
64
|
+
cancellation story is unchanged, the latch file remains the second channel).
|
|
65
|
+
- `queueTimeoutMs` (default 5000) splits BUSY from BROKEN: waiting past the queue deadline is
|
|
66
|
+
refused with the new `engine_busy` code (20 in the three-source vocabulary) and the request is
|
|
67
|
+
never sent -- no execution, no kill, no restart; `requestTimeoutMs` keeps its old meaning for
|
|
68
|
+
a genuinely silent worker. The tool layer maps the rejection to the code, never to
|
|
69
|
+
`action_failed`.
|
|
70
|
+
- `action=status` renders `workerBusy` / `queueDepth` / `lastActionAgeMs` beside the restart
|
|
71
|
+
budget, and the contract (schema description, registered tool description, refusal lists --
|
|
72
|
+
which had drifted: `worker_wedged` was missing from the tool description since 0.11.0) says the
|
|
73
|
+
same thing.
|
|
74
|
+
- No breaking API: existing calls behave identically when nothing is concurrent; a call that
|
|
75
|
+
would pre-0.12.0 have killed the worker at its deadline now either waits (and can be observed
|
|
76
|
+
waiting) or gets a retryable refusal. `test/worker-smoke.mjs` §9/§10 drive both shapes against
|
|
77
|
+
injected-slow real workers (P0-e's "desktop cannot produce a 20s action" gap, closed by
|
|
78
|
+
injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## 0.12.0-rc.3 — 2026-11-29 (prerelease)
|
|
82
|
+
|
|
83
|
+
**The contract says out loud what the code has been returning since rc.1/rc.2.**
|
|
84
|
+
`wpm_status`'s schema description now declares the client-side facts it renders -- `workerBusy`,
|
|
85
|
+
`queueDepth`, `lastActionAgeMs` next to the `restarts=N/max` budget -- and the registered tool
|
|
86
|
+
description names BOTH lifecycle codes with their opposite advice (`engine_busy`: retry, the
|
|
87
|
+
worker lives; `worker_wedged`: stop, read the log; the description had been silently missing even
|
|
88
|
+
`worker_wedged` since 0.11.0 -- caught by this round's sync, which is exactly the drift class
|
|
89
|
+
`plugin-test` now pins with three text assertions). The host half's `action` parameter blurb and
|
|
90
|
+
the stale "0.8.0 adds NO refusal code" note (three codes have joined since) were corrected in the
|
|
91
|
+
same pass. MCP and DSH channels generate from the same schema, so both move together.
|
|
92
|
+
|
|
93
|
+
|
|
55
94
|
## 0.11.0 — 2026-11-29
|
|
56
95
|
|
|
57
96
|
**State and recovery: the restart counter has teeth, and a kill cleans up.** Promotes the
|
package/CHANGELOG.ru.md
CHANGED
|
@@ -52,6 +52,45 @@ worker plus a 600ms queue deadline -> queued caller refused, in-flight call comp
|
|
|
52
52
|
restarts, client still serves afterwards.
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
## 0.12.0 — 2026-11-29
|
|
56
|
+
|
|
57
|
+
**Concurrency: a slow call can no longer murder the calls queued behind it.** Promotes the
|
|
58
|
+
`0.12.0-rc.1..rc.3` line, closing defect G4 -- the serial worker plus per-request timers that
|
|
59
|
+
started at WRITE time meant every waiting caller owned a loaded gun (`child.kill()`) aimed at
|
|
60
|
+
the in-flight call (F5):
|
|
61
|
+
|
|
62
|
+
- `WorkerClient.request()` goes through a client-side promise FIFO: one request in flight, the
|
|
63
|
+
request deadline starts when the line is really written, `abort` bypasses the queue (the
|
|
64
|
+
cancellation story is unchanged, the latch file remains the second channel).
|
|
65
|
+
- `queueTimeoutMs` (default 5000) splits BUSY from BROKEN: waiting past the queue deadline is
|
|
66
|
+
refused with the new `engine_busy` code (20 in the three-source vocabulary) and the request is
|
|
67
|
+
never sent -- no execution, no kill, no restart; `requestTimeoutMs` keeps its old meaning for
|
|
68
|
+
a genuinely silent worker. The tool layer maps the rejection to the code, never to
|
|
69
|
+
`action_failed`.
|
|
70
|
+
- `action=status` renders `workerBusy` / `queueDepth` / `lastActionAgeMs` beside the restart
|
|
71
|
+
budget, and the contract (schema description, registered tool description, refusal lists --
|
|
72
|
+
which had drifted: `worker_wedged` was missing from the tool description since 0.11.0) says the
|
|
73
|
+
same thing.
|
|
74
|
+
- No breaking API: existing calls behave identically when nothing is concurrent; a call that
|
|
75
|
+
would pre-0.12.0 have killed the worker at its deadline now either waits (and can be observed
|
|
76
|
+
waiting) or gets a retryable refusal. `test/worker-smoke.mjs` §9/§10 drive both shapes against
|
|
77
|
+
injected-slow real workers (P0-e's "desktop cannot produce a 20s action" gap, closed by
|
|
78
|
+
injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## 0.12.0-rc.3 — 2026-11-29 (prerelease)
|
|
82
|
+
|
|
83
|
+
**The contract says out loud what the code has been returning since rc.1/rc.2.**
|
|
84
|
+
`wpm_status`'s schema description now declares the client-side facts it renders -- `workerBusy`,
|
|
85
|
+
`queueDepth`, `lastActionAgeMs` next to the `restarts=N/max` budget -- and the registered tool
|
|
86
|
+
description names BOTH lifecycle codes with their opposite advice (`engine_busy`: retry, the
|
|
87
|
+
worker lives; `worker_wedged`: stop, read the log; the description had been silently missing even
|
|
88
|
+
`worker_wedged` since 0.11.0 -- caught by this round's sync, which is exactly the drift class
|
|
89
|
+
`plugin-test` now pins with three text assertions). The host half's `action` parameter blurb and
|
|
90
|
+
the stale "0.8.0 adds NO refusal code" note (three codes have joined since) were corrected in the
|
|
91
|
+
same pass. MCP and DSH channels generate from the same schema, so both move together.
|
|
92
|
+
|
|
93
|
+
|
|
55
94
|
## 0.11.0 — 2026-11-29
|
|
56
95
|
|
|
57
96
|
**State and recovery: the restart counter has teeth, and a kill cleans up.** Promotes the
|
package/CHANGELOG.zh.md
CHANGED
|
@@ -52,6 +52,45 @@ worker plus a 600ms queue deadline -> queued caller refused, in-flight call comp
|
|
|
52
52
|
restarts, client still serves afterwards.
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
## 0.12.0 — 2026-11-29
|
|
56
|
+
|
|
57
|
+
**Concurrency: a slow call can no longer murder the calls queued behind it.** Promotes the
|
|
58
|
+
`0.12.0-rc.1..rc.3` line, closing defect G4 -- the serial worker plus per-request timers that
|
|
59
|
+
started at WRITE time meant every waiting caller owned a loaded gun (`child.kill()`) aimed at
|
|
60
|
+
the in-flight call (F5):
|
|
61
|
+
|
|
62
|
+
- `WorkerClient.request()` goes through a client-side promise FIFO: one request in flight, the
|
|
63
|
+
request deadline starts when the line is really written, `abort` bypasses the queue (the
|
|
64
|
+
cancellation story is unchanged, the latch file remains the second channel).
|
|
65
|
+
- `queueTimeoutMs` (default 5000) splits BUSY from BROKEN: waiting past the queue deadline is
|
|
66
|
+
refused with the new `engine_busy` code (20 in the three-source vocabulary) and the request is
|
|
67
|
+
never sent -- no execution, no kill, no restart; `requestTimeoutMs` keeps its old meaning for
|
|
68
|
+
a genuinely silent worker. The tool layer maps the rejection to the code, never to
|
|
69
|
+
`action_failed`.
|
|
70
|
+
- `action=status` renders `workerBusy` / `queueDepth` / `lastActionAgeMs` beside the restart
|
|
71
|
+
budget, and the contract (schema description, registered tool description, refusal lists --
|
|
72
|
+
which had drifted: `worker_wedged` was missing from the tool description since 0.11.0) says the
|
|
73
|
+
same thing.
|
|
74
|
+
- No breaking API: existing calls behave identically when nothing is concurrent; a call that
|
|
75
|
+
would pre-0.12.0 have killed the worker at its deadline now either waits (and can be observed
|
|
76
|
+
waiting) or gets a retryable refusal. `test/worker-smoke.mjs` §9/§10 drive both shapes against
|
|
77
|
+
injected-slow real workers (P0-e's "desktop cannot produce a 20s action" gap, closed by
|
|
78
|
+
injection); `plugin-test` pins the status rendering, the idle snapshot, and the tool mapping.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## 0.12.0-rc.3 — 2026-11-29 (prerelease)
|
|
82
|
+
|
|
83
|
+
**The contract says out loud what the code has been returning since rc.1/rc.2.**
|
|
84
|
+
`wpm_status`'s schema description now declares the client-side facts it renders -- `workerBusy`,
|
|
85
|
+
`queueDepth`, `lastActionAgeMs` next to the `restarts=N/max` budget -- and the registered tool
|
|
86
|
+
description names BOTH lifecycle codes with their opposite advice (`engine_busy`: retry, the
|
|
87
|
+
worker lives; `worker_wedged`: stop, read the log; the description had been silently missing even
|
|
88
|
+
`worker_wedged` since 0.11.0 -- caught by this round's sync, which is exactly the drift class
|
|
89
|
+
`plugin-test` now pins with three text assertions). The host half's `action` parameter blurb and
|
|
90
|
+
the stale "0.8.0 adds NO refusal code" note (three codes have joined since) were corrected in the
|
|
91
|
+
same pass. MCP and DSH channels generate from the same schema, so both move together.
|
|
92
|
+
|
|
93
|
+
|
|
55
94
|
## 0.11.0 — 2026-11-29
|
|
56
95
|
|
|
57
96
|
**State and recovery: the restart counter has teeth, and a kill cleans up.** Promotes the
|
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
|
|
8
|
+
> **Current release: 0.12.0** — 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
|
|
8
|
+
> **Current release: 0.12.0** — 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
|
|
8
|
+
> **Current release: 0.12.0** — 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
|
|
8
|
+
> **Current release: 0.12.0** — 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
|
|
8
|
+
> **Current release: 0.12.0** — 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
|
|
8
|
+
> **Current release: 0.12.0** — 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
|
|
4
|
+
> **Current release: 0.12.0** — 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
|
package/README.pt.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
> Um plugin DSH que permite a um agente controlar **as suas próprias** janelas Windows — silencioso por padrão, visível sob demanda. Quando uma janela aceita mensagens do Windows, o foco nunca é roubado. Quando apenas a Automação de UI a alcança, o foco sofre um único lampejo limitado, revertido automaticamente. Quando você solicita explicitamente o modo takeover, o cursor move-se para o ponto de ação e é sempre restaurado, com um HUD que oferece três formas de interrupção. Em todos os outros casos, recusa com um código e um motivo.
|
|
6
6
|
|
|
7
7
|
> **English canonical text follows.** The localized summary above is the orientation; the text below is the authoritative specification (structure, commands and numbers are identical across all 10 languages).
|
|
8
|
-
> **Current release: 0.12.0
|
|
8
|
+
> **Current release: 0.12.0** — 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.ru.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
> Плагин DSH, позволяющий агенту управлять **своими** окнами Windows — по умолчанию тихо, по запросу видимо. Когда окно принимает сообщения Windows, фокус никогда не перехватывается. Когда доступен только UI Automation, фокус претерпевает одну ограниченную вспышку и автоматически возвращается. При явном запросе режима takeover курсор перемещается в точку действия и всегда восстанавливается, а HUD предлагает три способа прерывания. Во всех остальных случаях действие отклоняется с кодом и причиной.
|
|
6
6
|
|
|
7
7
|
> **English canonical text follows.** The localized summary above is the orientation; the text below is the authoritative specification (structure, commands and numbers are identical across all 10 languages).
|
|
8
|
-
> **Current release: 0.12.0
|
|
8
|
+
> **Current release: 0.12.0** — 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.zh.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
> 一个让代理驱动**自己**的 Windows 窗口的 DSH 插件——默认静默,按需可见。窗口接受窗口消息时完全不夺焦点;只有 UI Automation 可达时,焦点仅发生一次有界闪烁并自动还原;显式请求接管档时,光标移动到目标点并始终还原,HUD 提供三种中断方式。其他情况一律拒绝,并给出代码与原因。
|
|
6
6
|
|
|
7
7
|
> **English canonical text follows.** The localized summary above is the orientation; the text below is the authoritative specification (structure, commands and numbers are identical across all 10 languages).
|
|
8
|
-
> **Current release: 0.12.0
|
|
8
|
+
> **Current release: 0.12.0** — 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/dsh.plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-external/dsh-windows-parallel-mcp",
|
|
3
|
-
"version": "0.12.0
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"description": "One tool, eleven actions: drive a Windows window quietly by default, read the target as a numbered element frame, and since 0.7.0 start a whitelisted program, touch the clipboard, and change one named window. Prefers window messages (zero foreground change); falls back to UI Automation with a bounded, self-reversing focus flash (measured net return 15-95 ms); offers an opt-in takeover tier (policy:'full' AND takeoverAllowed) where the cursor moves to the action point and is always restored, with a mandatory three-phase HUD and three interruption paths; adds snapshot/screenshot/preview, where labels address the UIA element itself and image coordinates are converted by the engine; reads a write back (effect=readback-verified only when the field's own value matches a prediction built from the control's measurements) with caretPosition, disabled/focus reporting and a BitBlt capture path named as captureBackend; and gates everything through one ceiling (policy) plus a per-program launch whitelist, an idle check that refuses instead of interrupting, and an append-only JSONL audit log. Since 0.8.0 the same engine also answers as an MCP server over stdio (bin: wpm-mcp), with the tool list generated from the same contract file.",
|
|
6
6
|
"engines": {
|
package/lib/host-tools.js
CHANGED
|
@@ -58,7 +58,8 @@ export const PARAMETERS = {
|
|
|
58
58
|
required: true,
|
|
59
59
|
description:
|
|
60
60
|
'windows: list live windows that can be driven (hwnd, title, class, pid, rect). '
|
|
61
|
-
+ 'status: read the focus table (foreground window, focused control, last human input age, paused flag)
|
|
61
|
+
+ 'status: read the focus table (foreground window, focused control, last human input age, paused flag) '
|
|
62
|
+
+ 'plus the client-side worker facts (restart budget, request-queue state). '
|
|
62
63
|
+ 'click: click at a screen coordinate inside the target. type: write text into the target. '
|
|
63
64
|
+ 'focus: move keyboard focus to a named control inside the target. '
|
|
64
65
|
+ 'snapshot: read the accessibility tree as a numbered element table (labels you can act on). '
|
package/lib/index.js
CHANGED
|
@@ -562,8 +562,12 @@ export function apply(ctx, config = {}) {
|
|
|
562
562
|
+ 'needs no picture. Refusals carry a code (no_hwnd, '
|
|
563
563
|
+ 'paused, elevated_target, unreachable, uia_tree_empty, uia_probe_failed, terminal_no_door, needs_facts, action_failed, '
|
|
564
564
|
+ 'restore_failed, takeover_unavailable, keyinject_unavailable, takeover_aborted, stale_ref, app_launch_denied, '
|
|
565
|
-
+ 'policy_denied, user_active, invalid_argument) and a reason. invalid_argument is the 0.9.0 argument '
|
|
565
|
+
+ 'policy_denied, user_active, invalid_argument, worker_wedged, engine_busy) and a reason. invalid_argument is the 0.9.0 argument '
|
|
566
566
|
+ 'contract: a numeric outside the declared bounds is refused naming the sent value, never clamped. '
|
|
567
|
+
+ 'WORKER LIFECYCLE has two honest codes since 0.12.0: engine_busy means the serial worker was busy and this request '
|
|
568
|
+
+ 'waited past its queue deadline -- nothing executed, the worker lives, RETRY is right; worker_wedged means the '
|
|
569
|
+
+ 'restart budget is spent -- stop retrying and read the log. Requests are queued client-side, so a slow call can no '
|
|
570
|
+
+ 'longer kill an in-flight one. '
|
|
567
571
|
+ 'THREE DESKTOP ACTIONS exist since 0.7.0 and are gated by settings rather than by the target: launch needs '
|
|
568
572
|
+ 'appLaunchAllowed AND an exact appLaunchAllow entry (an empty whitelist means nothing, and no wildcard exists); '
|
|
569
573
|
+ 'clipboard reads and writes the system clipboard, reporting lengths and never contents; window changes one '
|
|
@@ -571,7 +575,8 @@ export function apply(ctx, config = {}) {
|
|
|
571
575
|
+ 'The single `policy` setting is the ceiling over all eleven actions: a call above it is refused with '
|
|
572
576
|
+ 'policy_denied, whose next step is to raise the setting and not to retry. '
|
|
573
577
|
+ 'Start with action=windows to get an hwnd, action=snapshot to read a frame, or action=status to see '
|
|
574
|
-
+ 'what currently holds the foreground
|
|
578
|
+
+ 'what currently holds the foreground, how the worker\'s restart budget and request queue stand, and whether '
|
|
579
|
+
+ 'anything is queued ahead of you.',
|
|
575
580
|
parameters: PARAMETERS,
|
|
576
581
|
output: {
|
|
577
582
|
schema: {
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.drscrewdriver/dsh-windows-parallel-mcp",
|
|
4
4
|
"title": "Windows Parallel",
|
|
5
5
|
"description": "Drive a Windows window over MCP stdio: quiet by default, one policy ceiling, coded refusals.",
|
|
6
|
-
"version": "0.12.0
|
|
6
|
+
"version": "0.12.0",
|
|
7
7
|
"repository": {
|
|
8
8
|
"url": "https://github.com/drscrewdriver/dsh-windows-parallel-mcp",
|
|
9
9
|
"source": "github"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
16
16
|
"identifier": "dsh-windows-parallel-mcp",
|
|
17
|
-
"version": "0.12.0
|
|
17
|
+
"version": "0.12.0",
|
|
18
18
|
"transport": {
|
|
19
19
|
"type": "stdio"
|
|
20
20
|
},
|
package/src/schema/tools.json
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"transportDiscipline": "stdout is the protocol channel and nothing else is written there; a notification gets no reply; a non-JSON line gets -32700 with a null id and the server survives; an unknown method gets -32601 and the server survives; replies are keyed by id because the worker is asynchronous."
|
|
45
45
|
},
|
|
46
46
|
"notes": [
|
|
47
|
-
"0.8.0 adds
|
|
47
|
+
"0.8.0 adds no action of its own, and it is the reason BOTH projections name this file as the schema source: two delivery forms describing one engine is exactly the shape that drifts when one of them is copied. (The refusal vocabulary has grown since: `invalid_argument` 0.9.0, `worker_wedged` 0.11.0, `engine_busy` 0.12.0 -- all three live HERE first, and each rc line records its own additions.)",
|
|
48
48
|
"The eleven tool names are fixed here so both delivery forms expose the same action surface.",
|
|
49
49
|
"src/engine/engine.ps1 is the only implementation; this file is the contract, not a second implementation.",
|
|
50
50
|
"docs/refusals.md is the human-readable form of `refusals`; scripts/check-refusals.mjs keeps them equal.",
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"action": "status",
|
|
179
179
|
"engine": "Get-WpmStatus",
|
|
180
180
|
"requiresTier": "readonly",
|
|
181
|
-
"description": "Report the engine's state and the desktop's focus table: paused flag, foreground window and pid, the control that holds keyboard focus, the age of the last human input, and the engine's stated stance. Read-only; useful before acting and after a refusal.",
|
|
181
|
+
"description": "Report the engine's state and the desktop's focus table: paused flag, foreground window and pid, the control that holds keyboard focus, the age of the last human input, and the engine's stated stance. From 0.12.0 it also reports the CLIENT-side facts the worker cannot speak for: the restart budget (`restarts=N/max`, 0.11.0) and the request queue (`workerBusy`, `queueDepth`, `lastActionAgeMs`) -- a busy serial worker cannot answer questions about its own busyness, so these are read from the host half's FIFO. Read-only; useful before acting and after a refusal, and it is the call to make `engine_busy` explainable.",
|
|
182
182
|
"inputSchema": {
|
|
183
183
|
"type": "object",
|
|
184
184
|
"properties": {},
|