dsh-windows-parallel-mcp 0.2.0 → 0.3.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/INSTALL.fr.md ADDED
@@ -0,0 +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 |
package/INSTALL.it.md ADDED
@@ -0,0 +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 |
package/INSTALL.ja.md ADDED
@@ -0,0 +1,126 @@
1
+ # Install
2
+
3
+ [English](INSTALL.md) · [中文](INSTALL.zh.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)
4
+
5
+ > **日本語 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.ko.md ADDED
@@ -0,0 +1,126 @@
1
+ # Install
2
+
3
+ [English](INSTALL.md) · [中文](INSTALL.zh.md) · [日本語](INSTALL.ja.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)
4
+
5
+ > **한국어 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.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # Install
2
2
 
3
+ **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)
3
4
  ## Requirements
4
5
 
5
6
  - Windows (the engine is a Windows PowerShell sidecar; there is no portability story and none is claimed)
@@ -9,34 +10,71 @@
9
10
  No Python, no `uv`, no MSVC runtime, no native module, no build step. The engine is four `.ps1` files
10
11
  driven over a JSON line protocol by one long-lived STA process, started on the first tool call.
11
12
 
12
- ## Install into a profile
13
+ ## Install into a profile: two cases, not three
14
+
15
+ There are exactly **two** cases — desktop and non-desktop. Choose the one that matches your host.
16
+
17
+ ### 1. Non-desktop profiles (web, and any named profile)
18
+
19
+ Both routes work — pick either:
20
+
21
+ ```bash
22
+ dsh --profile <profile> plugin add dsh-windows-parallel-mcp
23
+ ```
13
24
 
14
25
  ```bash
15
- dsh plugin --profile <profile> add dsh-windows-parallel-mcp
26
+ pnpm add dsh-windows-parallel-mcp
16
27
  ```
17
28
 
18
29
  The host adds the package to the profile's `dsh.profile.bundles`; the bundle patch
19
30
  (`cordis.patch.yml`) inserts one row (`id: windows-parallel`). Nothing else is mounted or replaced.
20
31
 
21
- To install from a local build, pack first and install the tarball -- this is also how the
22
- profile's other local-development plugins are mounted, and it matters for more than tidiness:
32
+ ### 2. The desktop profile (Electron-managed) — manual, pnpm only
33
+
34
+ The `desktop` profile is owned by the Electron application. **Do not use `dsh plugin add` for it** —
35
+ the CLI refuses every command against `desktop`, including read-only ones, with
36
+ `profile "desktop" is managed exclusively by the Electron application`. There is no CLI path here.
37
+
38
+ Install it manually with **pnpm only** — specifically the desktop app's **built-in pnpm** (the
39
+ `desktopPnpm` service, not the pnpm on your PATH). The supported sequence:
23
40
 
24
41
  ```bash
25
- npm pack --ignore-scripts # -> dsh-windows-parallel-mcp-0.1.1.tgz
26
- dsh plugin --profile <profile> add /abs/path/to/dsh-windows-parallel-mcp-0.1.1.tgz
42
+ # 1. Back up the profile manifests and the installed package directory first.
43
+ # 2. Add the dependency with the built-in pnpm and refresh the lockfile.
44
+ # 3. Restart DSH so the new bundle is composed at startup.
27
45
  ```
28
46
 
47
+ A pinned lockfile must be changed surgically: a freshly published package is rejected from the
48
+ lockfile while it is inside pnpm's `minimumReleaseAge` cooling window. Add the exact version to the
49
+ profile's `pnpm-workspace.yaml`:
50
+
51
+ ```yaml
52
+ minimumReleaseAgeExclude:
53
+ - dsh-windows-parallel-mcp@<version> # e.g. 0.2.0
54
+ ```
55
+
56
+ Without that line, `pnpm install --frozen-lockfile` fails with
57
+ `dsh-windows-parallel-mcp@<version> was published at ... within the minimumReleaseAge cutoff`.
58
+
59
+ ### Installing from a local build (both cases)
60
+
61
+ Pack first, then install the tarball — this is also how the profile's other local-development
62
+ plugins are mounted:
63
+
64
+ ```bash
65
+ npm pack --ignore-scripts # -> dsh-windows-parallel-mcp-<version>.tgz
66
+ ```
67
+
68
+ For non-desktop profiles, pass the tarball to `dsh --profile <profile> plugin add <tgz>`.
69
+ For desktop, unpack the tarball over the installed package directory (after backing it up).
70
+
29
71
  A `link:` install keeps the package's REAL path outside the profile tree, and Node resolves bare
30
72
  peer specifiers (`@deepseek-ai/schemastery`) upward from the real path -- so the peers never
31
73
  resolve, the settings form silently disappears, and the plugin falls to its shim. A `file:` tarball
32
74
  installs as a real directory inside the profile and the peers resolve exactly like every other
33
- plugin. This was measured, not inferred: `link:` -> `config schema: local-standard-schema-shim`,
75
+ plugin. Measured, not inferred: `link:` -> `config schema: local-standard-schema-shim`,
34
76
  `file:` -> `config schema: @deepseek-ai/schemastery`.
35
77
 
36
- The desktop profile is managed by the Electron app; `dsh plugin --profile desktop ...` only works
37
- through the desktop-bundled CLI (`resources/runtime/cli/bin/dsh.cmd`), and a profile with a pinned
38
- lockfile should be changed surgically rather than by any command that re-resolves the whole graph.
39
-
40
78
  ## Verify it actually activated
41
79
 
42
80
  Installing is not the same as activating, and a plugin that fails to activate prints one warning into