dsh-windows-parallel-mcp 0.1.0 → 0.1.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.md +126 -0
- package/INSTALL.md +2 -2
- package/README.md +19 -3
- package/dsh.plugin.json +1 -1
- package/lib/config.js +125 -125
- package/lib/index.js +393 -330
- package/lib/proof-window.mjs +241 -0
- package/package.json +6 -1
- package/src/engine/engine.ps1 +363 -313
- package/src/engine/overlay.ps1 +383 -368
- package/src/engine/win.ps1 +621 -581
- package/src/engine/worker.ps1 +4 -0
package/src/engine/worker.ps1
CHANGED
|
@@ -92,6 +92,10 @@ while ($true) {
|
|
|
92
92
|
$on = [bool](Get-Arg $req 'on' $true)
|
|
93
93
|
if ($on) {
|
|
94
94
|
$r = Start-WpmOverlay
|
|
95
|
+
# The handshake now waits for the SAME flag the verdict reports (OverlayOn, not the hwnd)
|
|
96
|
+
# and says 'starting' when the budget merely expired -- so it can stay short and honest.
|
|
97
|
+
# Patience above a genuinely slow start lives in the Node half's placement retry loop,
|
|
98
|
+
# where a stop condition exists; a worker-side sleep cannot name one.
|
|
95
99
|
$st = Get-WpmOverlayState -WaitMs 2500
|
|
96
100
|
} else {
|
|
97
101
|
$r = Stop-WpmOverlay
|