dsh-windows-parallel-mcp 0.8.2 → 0.9.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.
Files changed (53) hide show
  1. package/CHANGELOG.de.md +444 -419
  2. package/CHANGELOG.es.md +444 -419
  3. package/CHANGELOG.fr.md +444 -419
  4. package/CHANGELOG.it.md +444 -419
  5. package/CHANGELOG.ja.md +444 -419
  6. package/CHANGELOG.ko.md +444 -419
  7. package/CHANGELOG.md +965 -940
  8. package/CHANGELOG.pt.md +444 -419
  9. package/CHANGELOG.ru.md +444 -419
  10. package/CHANGELOG.zh.md +444 -419
  11. package/INSTALL.de.md +126 -126
  12. package/INSTALL.es.md +126 -126
  13. package/INSTALL.fr.md +126 -126
  14. package/INSTALL.it.md +126 -126
  15. package/INSTALL.ja.md +126 -126
  16. package/INSTALL.ko.md +126 -126
  17. package/INSTALL.md +122 -122
  18. package/INSTALL.pt.md +126 -126
  19. package/INSTALL.ru.md +126 -126
  20. package/INSTALL.zh.md +126 -126
  21. package/README.de.md +684 -684
  22. package/README.es.md +684 -684
  23. package/README.fr.md +684 -684
  24. package/README.it.md +684 -684
  25. package/README.ja.md +684 -684
  26. package/README.ko.md +684 -684
  27. package/README.md +680 -680
  28. package/README.pt.md +684 -684
  29. package/README.ru.md +684 -684
  30. package/README.zh.md +684 -684
  31. package/cordis.patch.yml +15 -15
  32. package/docs/refusals.md +90 -90
  33. package/docs/takeover.md +128 -128
  34. package/dsh.plugin.json +18 -18
  35. package/lib/config.js +275 -275
  36. package/lib/engine.js +252 -252
  37. package/lib/host-tools.js +365 -338
  38. package/lib/index.js +1275 -1249
  39. package/lib/peers-schemastery.js +23 -23
  40. package/lib/peers-tools.js +15 -15
  41. package/lib/proof-window.mjs +427 -427
  42. package/package.json +122 -122
  43. package/server.json +110 -110
  44. package/src/engine/decide.ps1 +356 -356
  45. package/src/engine/engine.ps1 +1208 -1208
  46. package/src/engine/hud.ps1 +411 -411
  47. package/src/engine/input-inject.ps1 +176 -176
  48. package/src/engine/overlay.ps1 +389 -389
  49. package/src/engine/takeover.ps1 +144 -144
  50. package/src/engine/win.ps1 +1881 -1881
  51. package/src/engine/worker.ps1 +310 -310
  52. package/src/schema/tools.json +533 -533
  53. package/types/index.d.ts +190 -187
package/INSTALL.fr.md CHANGED
@@ -1,126 +1,126 @@
1
- # Install
2
-
3
- [English](INSTALL.md) · [中文](INSTALL.zh.md) · [日本語](INSTALL.ja.md) · [한국어](INSTALL.ko.md) · **Français** · [Deutsch](INSTALL.de.md) · [Italiano](INSTALL.it.md) · [Español](INSTALL.es.md) · [Português](INSTALL.pt.md) · [Русский](INSTALL.ru.md)
4
-
5
- > **Français translation — work in progress.** The English canonical text follows below; task-specific polishing replaces it section by section. The structure, code samples and numbers are already final — only the prose is pending. See the en document for the authoritative wording.
6
-
7
- **English** · [中文](INSTALL.zh.md) · [日本語](INSTALL.ja.md) · [한국어](INSTALL.ko.md) · [Français](INSTALL.fr.md) · [Deutsch](INSTALL.de.md) · [Italiano](INSTALL.it.md) · [Español](INSTALL.es.md) · [Português](INSTALL.pt.md) · [Русский](INSTALL.ru.md)
8
- ## Requirements
9
-
10
- - Windows (the engine is a Windows PowerShell sidecar; there is no portability story and none is claimed)
11
- - Windows PowerShell 5.1 — ships with Windows 10/11. `pwsh` also works if you set `powershellPath`
12
- - A DSH host `>=0.1.7-0 <0.3.0-0`
13
-
14
- No Python, no `uv`, no MSVC runtime, no native module, no build step. The engine is four `.ps1` files
15
- driven over a JSON line protocol by one long-lived STA process, started on the first tool call.
16
-
17
- ## Install into a profile: two cases, not three
18
-
19
- There are exactly **two** cases — desktop and non-desktop. Choose the one that matches your host.
20
-
21
- ### 1. Non-desktop profiles (web, and any named profile)
22
-
23
- Both routes work — pick either:
24
-
25
- ```bash
26
- dsh --profile <profile> plugin add dsh-windows-parallel-mcp
27
- ```
28
-
29
- ```bash
30
- pnpm add dsh-windows-parallel-mcp
31
- ```
32
-
33
- The host adds the package to the profile's `dsh.profile.bundles`; the bundle patch
34
- (`cordis.patch.yml`) inserts one row (`id: windows-parallel`). Nothing else is mounted or replaced.
35
-
36
- ### 2. The desktop profile (Electron-managed) — manual, pnpm only
37
-
38
- The `desktop` profile is owned by the Electron application. **Do not use `dsh plugin add` for it** —
39
- the CLI refuses every command against `desktop`, including read-only ones, with
40
- `profile "desktop" is managed exclusively by the Electron application`. There is no CLI path here.
41
-
42
- Install it manually with **pnpm only** — specifically the desktop app's **built-in pnpm** (the
43
- `desktopPnpm` service, not the pnpm on your PATH). The supported sequence:
44
-
45
- ```bash
46
- # 1. Back up the profile manifests and the installed package directory first.
47
- # 2. Add the dependency with the built-in pnpm and refresh the lockfile.
48
- # 3. Restart DSH so the new bundle is composed at startup.
49
- ```
50
-
51
- A pinned lockfile must be changed surgically: a freshly published package is rejected from the
52
- lockfile while it is inside pnpm's `minimumReleaseAge` cooling window. Add the exact version to the
53
- profile's `pnpm-workspace.yaml`:
54
-
55
- ```yaml
56
- minimumReleaseAgeExclude:
57
- - dsh-windows-parallel-mcp@<version> # e.g. 0.2.0
58
- ```
59
-
60
- Without that line, `pnpm install --frozen-lockfile` fails with
61
- `dsh-windows-parallel-mcp@<version> was published at ... within the minimumReleaseAge cutoff`.
62
-
63
- ### Installing from a local build (both cases)
64
-
65
- Pack first, then install the tarball — this is also how the profile's other local-development
66
- plugins are mounted:
67
-
68
- ```bash
69
- npm pack --ignore-scripts # -> dsh-windows-parallel-mcp-<version>.tgz
70
- ```
71
-
72
- For non-desktop profiles, pass the tarball to `dsh --profile <profile> plugin add <tgz>`.
73
- For desktop, unpack the tarball over the installed package directory (after backing it up).
74
-
75
- A `link:` install keeps the package's REAL path outside the profile tree, and Node resolves bare
76
- peer specifiers (`@deepseek-ai/schemastery`) upward from the real path -- so the peers never
77
- resolve, the settings form silently disappears, and the plugin falls to its shim. A `file:` tarball
78
- installs as a real directory inside the profile and the peers resolve exactly like every other
79
- plugin. Measured, not inferred: `link:` -> `config schema: local-standard-schema-shim`,
80
- `file:` -> `config schema: @deepseek-ai/schemastery`.
81
-
82
- ## Verify it actually activated
83
-
84
- Installing is not the same as activating, and a plugin that fails to activate prints one warning into
85
- a busy log while its tool silently does not exist. From the package directory:
86
-
87
- ```bash
88
- node scripts/verify-install.mjs
89
- ```
90
-
91
- It creates a throwaway profile, installs the package, boots the host, asserts the plugin is **not**
92
- named in the "did not activate" block, and removes the profile again. `--keep` leaves it for
93
- inspection, `--profile <name>` uses a different name (it only ever deletes profiles it created).
94
-
95
- ## Settings
96
-
97
- Settings live in the bundle patch / profile config. On hosts where `@deepseek-ai/schemastery` is
98
- resolvable from the plugin, the fields also appear in the settings form; where it is not, the plugin
99
- falls back to a built-in standard-schema shim, the values still work, and **the form is not rendered**.
100
- The fallback is reported in the host log as `config schema: local-standard-schema-shim`.
101
-
102
- | key | default |
103
- |---|---|
104
- | `enabled` | `true` |
105
- | `settleMs` | `350` |
106
- | `requestTimeoutMs` | `20000` |
107
- | `powershellPath` | `""` |
108
- | `logWorkerStderr` | `false` |
109
-
110
- ## Uninstall
111
-
112
- ```bash
113
- dsh plugin --profile <profile> remove dsh-windows-parallel-mcp
114
- ```
115
-
116
- The worker process is a child of the host and exits when stdin closes; there is no daemon, no service,
117
- no scheduled task, nothing left behind.
118
-
119
- ## Troubleshooting
120
-
121
- | symptom | cause |
122
- |---|---|
123
- | `wpm` tool missing | the plugin did not activate — check the boot output for `windows-parallel`, then run `node scripts/verify-install.mjs` |
124
- | every action returns `paused` | `enabled` is false, or the engine is paused by the owner |
125
- | `unreachable` on a terminal | by design: terminal text surfaces expose neither a child window nor a `Document` element (`terminal_no_door` when recognised as a terminal) |
126
- | `engine worker unavailable` | the sidecar could not start; set `logWorkerStderr` to `true` and re-run — the worker's own message is the diagnostic |
1
+ # Install
2
+
3
+ [English](INSTALL.md) · [中文](INSTALL.zh.md) · [日本語](INSTALL.ja.md) · [한국어](INSTALL.ko.md) · **Français** · [Deutsch](INSTALL.de.md) · [Italiano](INSTALL.it.md) · [Español](INSTALL.es.md) · [Português](INSTALL.pt.md) · [Русский](INSTALL.ru.md)
4
+
5
+ > **Français translation — work in progress.** The English canonical text follows below; task-specific polishing replaces it section by section. The structure, code samples and numbers are already final — only the prose is pending. See the en document for the authoritative wording.
6
+
7
+ **English** · [中文](INSTALL.zh.md) · [日本語](INSTALL.ja.md) · [한국어](INSTALL.ko.md) · [Français](INSTALL.fr.md) · [Deutsch](INSTALL.de.md) · [Italiano](INSTALL.it.md) · [Español](INSTALL.es.md) · [Português](INSTALL.pt.md) · [Русский](INSTALL.ru.md)
8
+ ## Requirements
9
+
10
+ - Windows (the engine is a Windows PowerShell sidecar; there is no portability story and none is claimed)
11
+ - Windows PowerShell 5.1 — ships with Windows 10/11. `pwsh` also works if you set `powershellPath`
12
+ - A DSH host `>=0.1.7-0 <0.3.0-0`
13
+
14
+ No Python, no `uv`, no MSVC runtime, no native module, no build step. The engine is four `.ps1` files
15
+ driven over a JSON line protocol by one long-lived STA process, started on the first tool call.
16
+
17
+ ## Install into a profile: two cases, not three
18
+
19
+ There are exactly **two** cases — desktop and non-desktop. Choose the one that matches your host.
20
+
21
+ ### 1. Non-desktop profiles (web, and any named profile)
22
+
23
+ Both routes work — pick either:
24
+
25
+ ```bash
26
+ dsh --profile <profile> plugin add dsh-windows-parallel-mcp
27
+ ```
28
+
29
+ ```bash
30
+ pnpm add dsh-windows-parallel-mcp
31
+ ```
32
+
33
+ The host adds the package to the profile's `dsh.profile.bundles`; the bundle patch
34
+ (`cordis.patch.yml`) inserts one row (`id: windows-parallel`). Nothing else is mounted or replaced.
35
+
36
+ ### 2. The desktop profile (Electron-managed) — manual, pnpm only
37
+
38
+ The `desktop` profile is owned by the Electron application. **Do not use `dsh plugin add` for it** —
39
+ the CLI refuses every command against `desktop`, including read-only ones, with
40
+ `profile "desktop" is managed exclusively by the Electron application`. There is no CLI path here.
41
+
42
+ Install it manually with **pnpm only** — specifically the desktop app's **built-in pnpm** (the
43
+ `desktopPnpm` service, not the pnpm on your PATH). The supported sequence:
44
+
45
+ ```bash
46
+ # 1. Back up the profile manifests and the installed package directory first.
47
+ # 2. Add the dependency with the built-in pnpm and refresh the lockfile.
48
+ # 3. Restart DSH so the new bundle is composed at startup.
49
+ ```
50
+
51
+ A pinned lockfile must be changed surgically: a freshly published package is rejected from the
52
+ lockfile while it is inside pnpm's `minimumReleaseAge` cooling window. Add the exact version to the
53
+ profile's `pnpm-workspace.yaml`:
54
+
55
+ ```yaml
56
+ minimumReleaseAgeExclude:
57
+ - dsh-windows-parallel-mcp@<version> # e.g. 0.2.0
58
+ ```
59
+
60
+ Without that line, `pnpm install --frozen-lockfile` fails with
61
+ `dsh-windows-parallel-mcp@<version> was published at ... within the minimumReleaseAge cutoff`.
62
+
63
+ ### Installing from a local build (both cases)
64
+
65
+ Pack first, then install the tarball — this is also how the profile's other local-development
66
+ plugins are mounted:
67
+
68
+ ```bash
69
+ npm pack --ignore-scripts # -> dsh-windows-parallel-mcp-<version>.tgz
70
+ ```
71
+
72
+ For non-desktop profiles, pass the tarball to `dsh --profile <profile> plugin add <tgz>`.
73
+ For desktop, unpack the tarball over the installed package directory (after backing it up).
74
+
75
+ A `link:` install keeps the package's REAL path outside the profile tree, and Node resolves bare
76
+ peer specifiers (`@deepseek-ai/schemastery`) upward from the real path -- so the peers never
77
+ resolve, the settings form silently disappears, and the plugin falls to its shim. A `file:` tarball
78
+ installs as a real directory inside the profile and the peers resolve exactly like every other
79
+ plugin. Measured, not inferred: `link:` -> `config schema: local-standard-schema-shim`,
80
+ `file:` -> `config schema: @deepseek-ai/schemastery`.
81
+
82
+ ## Verify it actually activated
83
+
84
+ Installing is not the same as activating, and a plugin that fails to activate prints one warning into
85
+ a busy log while its tool silently does not exist. From the package directory:
86
+
87
+ ```bash
88
+ node scripts/verify-install.mjs
89
+ ```
90
+
91
+ It creates a throwaway profile, installs the package, boots the host, asserts the plugin is **not**
92
+ named in the "did not activate" block, and removes the profile again. `--keep` leaves it for
93
+ inspection, `--profile <name>` uses a different name (it only ever deletes profiles it created).
94
+
95
+ ## Settings
96
+
97
+ Settings live in the bundle patch / profile config. On hosts where `@deepseek-ai/schemastery` is
98
+ resolvable from the plugin, the fields also appear in the settings form; where it is not, the plugin
99
+ falls back to a built-in standard-schema shim, the values still work, and **the form is not rendered**.
100
+ The fallback is reported in the host log as `config schema: local-standard-schema-shim`.
101
+
102
+ | key | default |
103
+ |---|---|
104
+ | `enabled` | `true` |
105
+ | `settleMs` | `350` |
106
+ | `requestTimeoutMs` | `20000` |
107
+ | `powershellPath` | `""` |
108
+ | `logWorkerStderr` | `false` |
109
+
110
+ ## Uninstall
111
+
112
+ ```bash
113
+ dsh plugin --profile <profile> remove dsh-windows-parallel-mcp
114
+ ```
115
+
116
+ The worker process is a child of the host and exits when stdin closes; there is no daemon, no service,
117
+ no scheduled task, nothing left behind.
118
+
119
+ ## Troubleshooting
120
+
121
+ | symptom | cause |
122
+ |---|---|
123
+ | `wpm` tool missing | the plugin did not activate — check the boot output for `windows-parallel`, then run `node scripts/verify-install.mjs` |
124
+ | every action returns `paused` | `enabled` is false, or the engine is paused by the owner |
125
+ | `unreachable` on a terminal | by design: terminal text surfaces expose neither a child window nor a `Document` element (`terminal_no_door` when recognised as a terminal) |
126
+ | `engine worker unavailable` | the sidecar could not start; set `logWorkerStderr` to `true` and re-run — the worker's own message is the diagnostic |
package/INSTALL.it.md CHANGED
@@ -1,126 +1,126 @@
1
- # Install
2
-
3
- [English](INSTALL.md) · [中文](INSTALL.zh.md) · [日本語](INSTALL.ja.md) · [한국어](INSTALL.ko.md) · [Français](INSTALL.fr.md) · [Deutsch](INSTALL.de.md) · **Italiano** · [Español](INSTALL.es.md) · [Português](INSTALL.pt.md) · [Русский](INSTALL.ru.md)
4
-
5
- > **Italiano translation — work in progress.** The English canonical text follows below; task-specific polishing replaces it section by section. The structure, code samples and numbers are already final — only the prose is pending. See the en document for the authoritative wording.
6
-
7
- **English** · [中文](INSTALL.zh.md) · [日本語](INSTALL.ja.md) · [한국어](INSTALL.ko.md) · [Français](INSTALL.fr.md) · [Deutsch](INSTALL.de.md) · [Italiano](INSTALL.it.md) · [Español](INSTALL.es.md) · [Português](INSTALL.pt.md) · [Русский](INSTALL.ru.md)
8
- ## Requirements
9
-
10
- - Windows (the engine is a Windows PowerShell sidecar; there is no portability story and none is claimed)
11
- - Windows PowerShell 5.1 — ships with Windows 10/11. `pwsh` also works if you set `powershellPath`
12
- - A DSH host `>=0.1.7-0 <0.3.0-0`
13
-
14
- No Python, no `uv`, no MSVC runtime, no native module, no build step. The engine is four `.ps1` files
15
- driven over a JSON line protocol by one long-lived STA process, started on the first tool call.
16
-
17
- ## Install into a profile: two cases, not three
18
-
19
- There are exactly **two** cases — desktop and non-desktop. Choose the one that matches your host.
20
-
21
- ### 1. Non-desktop profiles (web, and any named profile)
22
-
23
- Both routes work — pick either:
24
-
25
- ```bash
26
- dsh --profile <profile> plugin add dsh-windows-parallel-mcp
27
- ```
28
-
29
- ```bash
30
- pnpm add dsh-windows-parallel-mcp
31
- ```
32
-
33
- The host adds the package to the profile's `dsh.profile.bundles`; the bundle patch
34
- (`cordis.patch.yml`) inserts one row (`id: windows-parallel`). Nothing else is mounted or replaced.
35
-
36
- ### 2. The desktop profile (Electron-managed) — manual, pnpm only
37
-
38
- The `desktop` profile is owned by the Electron application. **Do not use `dsh plugin add` for it** —
39
- the CLI refuses every command against `desktop`, including read-only ones, with
40
- `profile "desktop" is managed exclusively by the Electron application`. There is no CLI path here.
41
-
42
- Install it manually with **pnpm only** — specifically the desktop app's **built-in pnpm** (the
43
- `desktopPnpm` service, not the pnpm on your PATH). The supported sequence:
44
-
45
- ```bash
46
- # 1. Back up the profile manifests and the installed package directory first.
47
- # 2. Add the dependency with the built-in pnpm and refresh the lockfile.
48
- # 3. Restart DSH so the new bundle is composed at startup.
49
- ```
50
-
51
- A pinned lockfile must be changed surgically: a freshly published package is rejected from the
52
- lockfile while it is inside pnpm's `minimumReleaseAge` cooling window. Add the exact version to the
53
- profile's `pnpm-workspace.yaml`:
54
-
55
- ```yaml
56
- minimumReleaseAgeExclude:
57
- - dsh-windows-parallel-mcp@<version> # e.g. 0.2.0
58
- ```
59
-
60
- Without that line, `pnpm install --frozen-lockfile` fails with
61
- `dsh-windows-parallel-mcp@<version> was published at ... within the minimumReleaseAge cutoff`.
62
-
63
- ### Installing from a local build (both cases)
64
-
65
- Pack first, then install the tarball — this is also how the profile's other local-development
66
- plugins are mounted:
67
-
68
- ```bash
69
- npm pack --ignore-scripts # -> dsh-windows-parallel-mcp-<version>.tgz
70
- ```
71
-
72
- For non-desktop profiles, pass the tarball to `dsh --profile <profile> plugin add <tgz>`.
73
- For desktop, unpack the tarball over the installed package directory (after backing it up).
74
-
75
- A `link:` install keeps the package's REAL path outside the profile tree, and Node resolves bare
76
- peer specifiers (`@deepseek-ai/schemastery`) upward from the real path -- so the peers never
77
- resolve, the settings form silently disappears, and the plugin falls to its shim. A `file:` tarball
78
- installs as a real directory inside the profile and the peers resolve exactly like every other
79
- plugin. Measured, not inferred: `link:` -> `config schema: local-standard-schema-shim`,
80
- `file:` -> `config schema: @deepseek-ai/schemastery`.
81
-
82
- ## Verify it actually activated
83
-
84
- Installing is not the same as activating, and a plugin that fails to activate prints one warning into
85
- a busy log while its tool silently does not exist. From the package directory:
86
-
87
- ```bash
88
- node scripts/verify-install.mjs
89
- ```
90
-
91
- It creates a throwaway profile, installs the package, boots the host, asserts the plugin is **not**
92
- named in the "did not activate" block, and removes the profile again. `--keep` leaves it for
93
- inspection, `--profile <name>` uses a different name (it only ever deletes profiles it created).
94
-
95
- ## Settings
96
-
97
- Settings live in the bundle patch / profile config. On hosts where `@deepseek-ai/schemastery` is
98
- resolvable from the plugin, the fields also appear in the settings form; where it is not, the plugin
99
- falls back to a built-in standard-schema shim, the values still work, and **the form is not rendered**.
100
- The fallback is reported in the host log as `config schema: local-standard-schema-shim`.
101
-
102
- | key | default |
103
- |---|---|
104
- | `enabled` | `true` |
105
- | `settleMs` | `350` |
106
- | `requestTimeoutMs` | `20000` |
107
- | `powershellPath` | `""` |
108
- | `logWorkerStderr` | `false` |
109
-
110
- ## Uninstall
111
-
112
- ```bash
113
- dsh plugin --profile <profile> remove dsh-windows-parallel-mcp
114
- ```
115
-
116
- The worker process is a child of the host and exits when stdin closes; there is no daemon, no service,
117
- no scheduled task, nothing left behind.
118
-
119
- ## Troubleshooting
120
-
121
- | symptom | cause |
122
- |---|---|
123
- | `wpm` tool missing | the plugin did not activate — check the boot output for `windows-parallel`, then run `node scripts/verify-install.mjs` |
124
- | every action returns `paused` | `enabled` is false, or the engine is paused by the owner |
125
- | `unreachable` on a terminal | by design: terminal text surfaces expose neither a child window nor a `Document` element (`terminal_no_door` when recognised as a terminal) |
126
- | `engine worker unavailable` | the sidecar could not start; set `logWorkerStderr` to `true` and re-run — the worker's own message is the diagnostic |
1
+ # Install
2
+
3
+ [English](INSTALL.md) · [中文](INSTALL.zh.md) · [日本語](INSTALL.ja.md) · [한국어](INSTALL.ko.md) · [Français](INSTALL.fr.md) · [Deutsch](INSTALL.de.md) · **Italiano** · [Español](INSTALL.es.md) · [Português](INSTALL.pt.md) · [Русский](INSTALL.ru.md)
4
+
5
+ > **Italiano translation — work in progress.** The English canonical text follows below; task-specific polishing replaces it section by section. The structure, code samples and numbers are already final — only the prose is pending. See the en document for the authoritative wording.
6
+
7
+ **English** · [中文](INSTALL.zh.md) · [日本語](INSTALL.ja.md) · [한국어](INSTALL.ko.md) · [Français](INSTALL.fr.md) · [Deutsch](INSTALL.de.md) · [Italiano](INSTALL.it.md) · [Español](INSTALL.es.md) · [Português](INSTALL.pt.md) · [Русский](INSTALL.ru.md)
8
+ ## Requirements
9
+
10
+ - Windows (the engine is a Windows PowerShell sidecar; there is no portability story and none is claimed)
11
+ - Windows PowerShell 5.1 — ships with Windows 10/11. `pwsh` also works if you set `powershellPath`
12
+ - A DSH host `>=0.1.7-0 <0.3.0-0`
13
+
14
+ No Python, no `uv`, no MSVC runtime, no native module, no build step. The engine is four `.ps1` files
15
+ driven over a JSON line protocol by one long-lived STA process, started on the first tool call.
16
+
17
+ ## Install into a profile: two cases, not three
18
+
19
+ There are exactly **two** cases — desktop and non-desktop. Choose the one that matches your host.
20
+
21
+ ### 1. Non-desktop profiles (web, and any named profile)
22
+
23
+ Both routes work — pick either:
24
+
25
+ ```bash
26
+ dsh --profile <profile> plugin add dsh-windows-parallel-mcp
27
+ ```
28
+
29
+ ```bash
30
+ pnpm add dsh-windows-parallel-mcp
31
+ ```
32
+
33
+ The host adds the package to the profile's `dsh.profile.bundles`; the bundle patch
34
+ (`cordis.patch.yml`) inserts one row (`id: windows-parallel`). Nothing else is mounted or replaced.
35
+
36
+ ### 2. The desktop profile (Electron-managed) — manual, pnpm only
37
+
38
+ The `desktop` profile is owned by the Electron application. **Do not use `dsh plugin add` for it** —
39
+ the CLI refuses every command against `desktop`, including read-only ones, with
40
+ `profile "desktop" is managed exclusively by the Electron application`. There is no CLI path here.
41
+
42
+ Install it manually with **pnpm only** — specifically the desktop app's **built-in pnpm** (the
43
+ `desktopPnpm` service, not the pnpm on your PATH). The supported sequence:
44
+
45
+ ```bash
46
+ # 1. Back up the profile manifests and the installed package directory first.
47
+ # 2. Add the dependency with the built-in pnpm and refresh the lockfile.
48
+ # 3. Restart DSH so the new bundle is composed at startup.
49
+ ```
50
+
51
+ A pinned lockfile must be changed surgically: a freshly published package is rejected from the
52
+ lockfile while it is inside pnpm's `minimumReleaseAge` cooling window. Add the exact version to the
53
+ profile's `pnpm-workspace.yaml`:
54
+
55
+ ```yaml
56
+ minimumReleaseAgeExclude:
57
+ - dsh-windows-parallel-mcp@<version> # e.g. 0.2.0
58
+ ```
59
+
60
+ Without that line, `pnpm install --frozen-lockfile` fails with
61
+ `dsh-windows-parallel-mcp@<version> was published at ... within the minimumReleaseAge cutoff`.
62
+
63
+ ### Installing from a local build (both cases)
64
+
65
+ Pack first, then install the tarball — this is also how the profile's other local-development
66
+ plugins are mounted:
67
+
68
+ ```bash
69
+ npm pack --ignore-scripts # -> dsh-windows-parallel-mcp-<version>.tgz
70
+ ```
71
+
72
+ For non-desktop profiles, pass the tarball to `dsh --profile <profile> plugin add <tgz>`.
73
+ For desktop, unpack the tarball over the installed package directory (after backing it up).
74
+
75
+ A `link:` install keeps the package's REAL path outside the profile tree, and Node resolves bare
76
+ peer specifiers (`@deepseek-ai/schemastery`) upward from the real path -- so the peers never
77
+ resolve, the settings form silently disappears, and the plugin falls to its shim. A `file:` tarball
78
+ installs as a real directory inside the profile and the peers resolve exactly like every other
79
+ plugin. Measured, not inferred: `link:` -> `config schema: local-standard-schema-shim`,
80
+ `file:` -> `config schema: @deepseek-ai/schemastery`.
81
+
82
+ ## Verify it actually activated
83
+
84
+ Installing is not the same as activating, and a plugin that fails to activate prints one warning into
85
+ a busy log while its tool silently does not exist. From the package directory:
86
+
87
+ ```bash
88
+ node scripts/verify-install.mjs
89
+ ```
90
+
91
+ It creates a throwaway profile, installs the package, boots the host, asserts the plugin is **not**
92
+ named in the "did not activate" block, and removes the profile again. `--keep` leaves it for
93
+ inspection, `--profile <name>` uses a different name (it only ever deletes profiles it created).
94
+
95
+ ## Settings
96
+
97
+ Settings live in the bundle patch / profile config. On hosts where `@deepseek-ai/schemastery` is
98
+ resolvable from the plugin, the fields also appear in the settings form; where it is not, the plugin
99
+ falls back to a built-in standard-schema shim, the values still work, and **the form is not rendered**.
100
+ The fallback is reported in the host log as `config schema: local-standard-schema-shim`.
101
+
102
+ | key | default |
103
+ |---|---|
104
+ | `enabled` | `true` |
105
+ | `settleMs` | `350` |
106
+ | `requestTimeoutMs` | `20000` |
107
+ | `powershellPath` | `""` |
108
+ | `logWorkerStderr` | `false` |
109
+
110
+ ## Uninstall
111
+
112
+ ```bash
113
+ dsh plugin --profile <profile> remove dsh-windows-parallel-mcp
114
+ ```
115
+
116
+ The worker process is a child of the host and exits when stdin closes; there is no daemon, no service,
117
+ no scheduled task, nothing left behind.
118
+
119
+ ## Troubleshooting
120
+
121
+ | symptom | cause |
122
+ |---|---|
123
+ | `wpm` tool missing | the plugin did not activate — check the boot output for `windows-parallel`, then run `node scripts/verify-install.mjs` |
124
+ | every action returns `paused` | `enabled` is false, or the engine is paused by the owner |
125
+ | `unreachable` on a terminal | by design: terminal text surfaces expose neither a child window nor a `Document` element (`terminal_no_door` when recognised as a terminal) |
126
+ | `engine worker unavailable` | the sidecar could not start; set `logWorkerStderr` to `true` and re-run — the worker's own message is the diagnostic |