Public log

dsh-windows-parallel-mcp

Drive a Windows window quietly by default and visibly on request: one tool, eleven actions (windows, status, click, type, focus, snapshot, screenshot, preview, launch, clipboard, window), a channel decision table that prefers the quiet door, a bounded sel

npm · fingerprint 8997171d01db01c275b0cb74 · repository · RSS

1tools
2recorded versions
7dtracked
changed 2d ago

What changed

Changed 2026-11-30 18:56 UTC

1 description rewritten.

--- pinned/wpm
+++ observed/wpm
  {
-   "description": "Drive one Windows window through 11 declared actions, choosing the cheapest door that can reach the target and reporting what actually happened rather than what was sent.\nACTIONS (name | policy rung | what it does):\n  - action=windows | readonly | List live top-level windows the engine could drive: hwnd, title, window class, owning pid and screen rect.\n  - action=click | quiet | Click at a screen coordinate inside the named window, or at the element named by a snapshot `label`.\n  - action=type | quiet | Write text into the named window: either the first editable classic child (quiet tier) or a UIA element named by the caller (bounded-flash tier).\n  - action=focus | quiet | Move keyboard focus to a named control inside the target, then reverse the foreground change once.\n  - action=status | readonly | 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.\n  - action=snapshot | readonly | Read the target's accessibility tree as a NUMBERED element table: one line per element with a continuous `label`, its control type, name, automation id, screen rect (physical pixels) and the UIA patterns it exposes.\n  - action=screenshot | readonly | Capture the target's screen rectangle to a PNG on disk and return the COORDINATE MAPPING as data: screenRect, imageSize, scale, identity, frame and dpiAware.\n  - action=preview | readonly | Show the owner where a click WOULD land, without clicking: draw the AI marker at the point (when the overlay is up) and report, as text, which element sits under it (name, control type, automation id, rect).\n  - action=launch | takeover | Start a program.\n  - action=clipboard | readonly (per op: read=readonly, write=flash) | Read or write the system clipboard.\n  - action=window | flash | Minimize, restore, move, resize or topmost ONE window named by hwnd.\nREFUSAL CODES (the refusal names which switch or which fact, so the next step is not guesswork):\n  - no_hwnd: no usable target window handle\n  - paused: the owner paused input; server-side refusal\n  - elevated_target: target runs at a higher integrity level\n  - unreachable: no message door and no usable UIA pattern; the tree is alive but offers nothing at the named point or element\n  - uia_tree_empty: the accessibility tree holds no content element at all; in every measured instance the cause is the application having UI Automation disabled, which only a launch-time switch changes\n  - uia_probe_failed: the accessibility probe threw before it could measure this target; the exception text rides the reason\n  - terminal_no_door: terminal text surface has child windows but none of them is writable, and keyboard injection into this host's terminal was measured not to work (findings G3: Unicode and scan-code arms both accepted by SendInput, neither executed). Pick a target with a real door\n  - needs_facts: the caller supplied no measured facts for this target\n  - takeover_unavailable: takeover was requested but cannot run safely: the takeoverAllowed gate is off or the HUD is not up. The request is refused rather than silently downgraded\n  - keyinject_unavailable: keyboard injection was requested outside the takeover tier, with the keyInjectAllowed gate off, or with the target not in the foreground (SendInput writes to the foreground, so a blind injection would type into another application)\n  - action_failed: the chosen channel threw while acting\n  - stale_ref: the call names a previous generation of engine output that no longer exists: a shotId that was cleaned up, a label whose snapId was superseded, or space:'image' without any shotId. Read paths are cheap; re-take the snapshot/screenshot and act on the new ids instead of substituting coordinates\n  - restore_failed: the OS refused to return the foreground after a flash\n  - takeover_aborted: the owner or the host interrupted a takeover (HUD button, abort chord, host cancellation). Not a fault: the result still carries cursorRestored and injectedChars so the reader knows exactly how far it got\n  - app_launch_denied: action=launch was refused before any worker request because appLaunchAllowed is off or the target is not on the appLaunchAllow whitelist. The next step is the owner's decision, not a retry: add the EXACT name to the whitelist (no wildcard exists, and an empty list means nothing may launch even with the gate on). Both switches must be set -- a takeover permission is not a launch permission\n  - policy_denied: the action's declared tier is above what the `policy` setting allows, so it was refused before the worker was reached. The next step is named: raise `policy`, do not retry the same call. A refusal here is the setting doing its job, not a failure of the target\n  - user_active: the last PHYSICAL input is younger than policyIdleMs and the action needs the takeover tier, so the owner is at the keyboard and was NOT interrupted. Unlike the upstream design this product does not pop a countdown dialog at someone who is typing: a dialog is a second disturbance dressed as consent. The next step is to wait for idle, or to pass forceUserActive:true explicitly (which is recorded in the audit log as forced)\nAuthorization is one ceiling (`policy`: readonly|quiet|balanced|full) over the rungs above, and it is set by whoever starts this process, never by a call.\nEvery action -- allowed or refused -- appends one JSONL row to the audit log, which records decisions and lengths and never the content of what was typed or copied.\nNOTE: 0.8.0 adds NO action and NO refusal code. It adds a second transport for the same eleven actions, which is why `mcpProjection` names this file as the schema source: two delivery forms describing one engine is exactly the shape that drifts when one of them is copied.\nNOTE: The eleven tool names are fixed here so both delivery forms expose the same action surface.\nNOTE: src/engine/engine.ps1 is the only implementation; this file is the contract, not a second implementation.\nNOTE: docs/refusals.md is the human-readable form of `refusals`; scripts/check-refusals.mjs keeps them equal.\nNOTE: The `refusalCases` array is executable: test/refusals-test.ps1 iterates it and binds the placeholders, so a documented refusal path cannot rot into fiction.\nNOTE: 0.5.0 adds snapshot/screenshot/preview. They are READ paths: `snapshot` walks the accessibility tree and hands the model numbered `label`s, `screenshot` captures the window rect and returns the coordinate mapping as data, `preview` draws the marker at a point and reports the element UNDER it as text. No new input primitive, no automatic fallback chain -- the model decides.\nNOTE: 0.6.0 adds NO action and NO refusal code. It changes what `type` reports: the value is read back after the settle window and `effect=readback-verified` is granted only on an exact match against a prediction built from the control's own measurements. A masked field is readback=unavailable, a reformatted value is readbackMismatch=true, and both stay successes -- 'the application changed my input' is not an error in the call.\nNOTE: 0.7.0 adds launch/clipboard/window and every action now declares `requiresTier` (the LOWEST rung it can ever need). One setting, `policy`, is the ceiling; `requiresTierFor` refines an action whose halves differ (clipboard read is readonly, clipboard write is flash). The rung an undeclared action would get is `takeover`: silence about a capability must not read as permission for it. That table is checked against lib/policy.js by scripts/check-policy-table.mjs, because a policy table kept in two places is the drift this repo has been bitten by three times.",
+   "description": "Drive one Windows window through 11 declared actions, choosing the cheapest door that can reach the target and reporting what actually happened rather than what was sent.\nACTIONS (name | policy rung | what it does):\n  - action=windows | readonly | List live top-level windows the engine could drive: hwnd, title, window class, owning pid and screen rect.\n  - action=click | quiet | Click at a screen coordinate inside the named window, or at the element named by a snapshot `label`.\n  - action=type | quiet | Write text into the named window: either the first editable classic child (quiet tier) or a UIA element named by the caller (bounded-flash tier).\n  - action=focus | quiet | Move keyboard focus to a named control inside the target, then reverse the foreground change once.\n  - action=status | readonly | 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.\n  - action=snapshot | readonly | Read the target's accessibility tree as a NUMBERED element table: one line per element with a continuous `label`, its control type, name, automation id, screen rect (physical pixels) and the UIA patterns it exposes.\n  - action=screenshot | readonly | Capture the target's screen rectangle to a PNG on disk and return the COORDINATE MAPPING as data: screenRect, imageSize, scale, identity, frame and dpiAware.\n  - action=preview | readonly | Show the owner where a click WOULD land, without clicking: draw the AI marker at the point (when the overlay is up) and report, as text, which element sits under it (name, control type, automation id, rect).\n  - action=launch | takeover | Start a program.\n  - action=clipboard | readonly (per op: read=readonly, write=flash) | Read or write the system clipboard.\n  - action=window | flash | Minimize, restore, move, resize or topmost ONE window named by hwnd.\nREFUSAL CODES (the refusal names which switch or which fact, so the next step is not guesswork):\n  - no_hwnd: no usable target window handle\n  - paused: the owner paused input; server-side refusal\n  - elevated_target: target runs at a higher integrity level\n  - unreachable: no message door and no usable UIA pattern; the tree is alive but offers nothing at the named point or element\n  - uia_tree_empty: the accessibility tree holds no content element at all; in every measured instance the cause is the application having UI Automation disabled, which only a launch-time switch changes\n  - uia_probe_failed: the accessibility probe threw before it could measure this target; the exception text rides the reason\n  - terminal_no_door: terminal text surface has child windows but none of them is writable, and keyboard injection into this host's terminal was measured not to work (findings G3: Unicode and scan-code arms both accepted by SendInput, neither executed). Pick a target with a real door\n  - needs_facts: the caller supplied no measured facts for this target\n  - takeover_unavailable: takeover was requested but cannot run safely: the takeoverAllowed gate is off or the HUD is not up. The request is refused rather than silently downgraded\n  - keyinject_unavailable: keyboard injection was requested outside the takeover tier, with the keyInjectAllowed gate off, or with the target not in the foreground (SendInput writes to the foreground, so a blind injection would type into another application)\n  - action_failed: the chosen channel threw while acting\n  - stale_ref: the call names a previous generation of engine output that no longer exists: a shotId that was cleaned up, a label whose snapId was superseded, or space:'image' without any shotId. Read paths are cheap; re-take the snapshot/screenshot and act on the new ids instead of substituting coordinates\n  - restore_failed: the OS refused to return the foreground after a flash\n  - takeover_aborted: the owner or the host interrupted a takeover (HUD button, abort chord, host cancellation). Not a fault: the result still carries cursorRestored and injectedChars so the reader knows exactly how far it got\n  - app_launch_denied: action=launch was refused before any worker request because appLaunchAllowed is off or the target is not on the appLaunchAllow whitelist. The next step is the owner's decision, not a retry: add the EXACT name to the whitelist (no wildcard exists, and an empty list means nothing may launch even with the gate on). Both switches must be set -- a takeover permission is not a launch permission\n  - policy_denied: the action's declared tier is above what the `policy` setting allows, so it was refused before the worker was reached. The next step is named: raise `policy`, do not retry the same call. A refusal here is the setting doing its job, not a failure of the target\n  - user_active: the last PHYSICAL input is younger than policyIdleMs and the action needs the takeover tier, so the owner is at the keyboard and was NOT interrupted. Unlike the upstream design this product does not pop a countdown dialog at someone who is typing: a dialog is a second disturbance dressed as consent. The next step is to wait for idle, or to pass forceUserActive:true explicitly (which is recorded in the audit log as forced)\n  - invalid_argument: 0.9.0: a numeric argument arrived outside the bounds this file declares (or a fraction where an integer is required), so the call is refused naming the sent value instead of being silently clamped or rounded. Pre-0.9.0 this was the G1/G2 shape: maxElements:0 became 1, maxWidth:-5 became 'no limit', label:2.7 became 3. The next step is re-sending inside the stated range, not retrying the same call\n  - worker_wedged: 0.11.0: the worker died as many times as the restart budget (maxRestarts, default 3) allows, so the HOST refuses to spawn another one until a human reads the log; no action was attempted. Emitted only from lib/engine.js -- the engine cannot report its own absence. Pre-0.11.0 this was the G3 shape: the counter existed but nobody read it, so a wedging worker respawned forever and every call silently paid the full timeout again. The next step is reading the worker stderr tail, not retrying\n  - engine_busy: 0.12.0: the serial worker was busy with an in-flight action, this request waited past queueTimeoutMs (default 5000ms) inside the client request FIFO, and it was NEVER SENT. Nothing executed and the worker was not killed. Pre-0.12.0 this was the G4 shape: every request timer started at its own write into the worker stdin, so a 19s legitimate action let each queued caller run its deadline out and fire child.kill(), taking the in-flight call down with it. Queueing is the FIFO doing its job; refusing past the queue deadline is what keeps a waiting request from murdering a healthy worker. Unlike worker_wedged the engine is fine -- the next step is retrying, or reading action=status (workerBusy/queueDepth/lastActionAgeMs) to see what holds the serial loop. Emitted only from lib/engine.js; abort requests bypass the queue by design and cannot surface it\nAuthorization is one ceiling (`policy`: readonly|quiet|balanced|full) over the rungs above, and it is set by whoever starts this process, never by a call.\nEvery action -- allowed or refused -- appends one JSONL row to the audit log, which records decisions and lengths and never the content of what was typed or copied.\nNOTE: 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.)\nNOTE: The eleven tool names are fixed here so both delivery forms expose the same action surface.\nNOTE: src/engine/engine.ps1 is the only implementation; this file is the contract, not a second implementation.\nNOTE: docs/refusals.md is the human-readable form of `refusals`; scripts/check-refusals.mjs keeps them equal.\nNOTE: The `refusalCases` array is executable: test/refusals-test.ps1 iterates it and binds the placeholders, so a documented refusal path cannot rot into fiction.\nNOTE: 0.5.0 adds snapshot/screenshot/preview. They are READ paths: `snapshot` walks the accessibility tree and hands the model numbered `label`s, `screenshot` captures the window rect and returns the coordinate mapping as data, `preview` draws the marker at a point and reports the element UNDER it as text. No new input primitive, no automatic fallback chain -- the model decides.\nNOTE: 0.6.0 adds NO action and NO refusal code. It changes what `type` reports: the value is read back after the settle window and `effect=readback-verified` is granted only on an exact match against a prediction built from the control's own measurements. A masked field is readback=unavailable, a reformatted value is readbackMismatch=true, and both stay successes -- 'the application changed my input' is not an error in the call.\nNOTE: 0.7.0 adds launch/clipboard/window and every action now declares `requiresTier` (the LOWEST rung it can ever need). One setting, `policy`, is the ceiling; `requiresTierFor` refines an action whose halves differ (clipboard read is readonly, clipboard write is flash). The rung an undeclared action would get is `takeover`: silence about a capability must not read as permission for it. That table is checked against lib/policy.js by scripts/check-policy-table.mjs, because a policy table kept in two places is the drift this repo has been bitten by three times.",
    "inputSchema": {
      "oneOf": [
        {
+             "integer": true,
              "minimum": 1,
              "type": "integer"
            },
+             "integer": true,
              "maximum": 2000,
              "minimum": 0,
              "type": "integer"
+             "integer": true,
              "maximum": 60000,
              "minimum": 500,
              "type": "integer"
+             "integer": true,
              "type": "integer"
            },
            "y": {
+             "integer": true,
              "type": "integer"
            }
          },
+             "integer": true,
              "minimum": 1,
              "type": "integer"
            },
+             "integer": true,
              "maximum": 2000,
              "minimum": 0,
              "type": "integer"
+             "integer": true,
              "maximum": 60000,
              "minimum": 500,
              "type": "integer"
+             "integer": true,
              "minimum": 1,
              "type": "integer"
            },
+             "integer": true,
              "maximum": 2000,
              "minimum": 0,
              "type": "integer"
+             "integer": true,
              "maximum": 60000,
              "minimum": 500,
              "type": "integer"
-         "description": "wpm_status: 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.",
+         "description": "wpm_status: 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.",
          "properties": {
            "action": {
              "const": "status",
+             "integer": true,
              "maximum": 5000,
              "minimum": 1,
              "type": "integer"
+             "integer": true,
              "maximum": 7680,
              "minimum": 0,
              "type": "integer"
+             "integer": true,
              "type": "integer"
            },
            "y": {
+             "integer": true,
              "type": "integer"
            }
          },
+             "integer": true,
              "maximum": 30000,
              "minimum": 0,
              "type": "integer"
+             "integer": true,
              "minimum": 1,
              "type": "integer"
            },
+             "integer": true,
              "minimum": 1,
              "type": "integer"
            },
+             "integer": true,
              "type": "integer"
            },
            "y": {
+             "integer": true,
              "type": "integer"
            }
          },

Current tools

Show all 1 tool fingerprints
wpm
d401003a8c2beedb

Watch this server yourself

If you run this server, put the proxy in front of it. It pins these exact fingerprints on first connect and stops the session if they move.

npx -y mcp-pin@0.2.4 -- <your dsh-windows-parallel-mcp command>

Or subscribe to this page's RSS feed to be told when it changes.

Badge

mcp-pin status badge for dsh-windows-parallel-mcp

The badge states one fact about time and nothing else. It never claims a server is safe.

[![mcp-pin](https://mcp-pin.gautamkhosla.com/badge/81c0b0a1b06be8ad.svg)](https://mcp-pin.gautamkhosla.com/servers/81c0b0a1b06be8ad.html)