dsh-plugin-marketplace 0.5.0 → 0.5.1
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/README.md +2 -2
- package/README.zh.md +2 -2
- package/VERIFICATION.md +3 -1
- package/package.json +1 -1
- package/runtime.js +5 -2
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# dsh-plugin-marketplace
|
|
2
2
|
|
|
3
|
-
Browse GitHub's dsh-plugin topic and manage plugins in the active DSH Web or Desktop profile. Version 0.5.
|
|
3
|
+
Browse GitHub's dsh-plugin topic and manage plugins in the active DSH Web or Desktop profile. Version 0.5.1 requires DSH 0.2.0-rc.2 or later 0.2.x.
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
dsh plugin --profile desktop add dsh-plugin-marketplace@0.5.
|
|
6
|
+
dsh plugin --profile desktop add dsh-plugin-marketplace@0.5.1
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
Use the Desktop-provided dsh command (Application → Manage dsh Command); use --profile web for Web. Restart DSH, then open **Plugins → Installed → dsh-plugin-marketplace**.
|
package/README.zh.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# dsh-plugin-marketplace
|
|
2
2
|
|
|
3
|
-
浏览 GitHub 的 dsh-plugin 插件,同时管理当前 DSH Web / Desktop Profile 的插件。0.5.
|
|
3
|
+
浏览 GitHub 的 dsh-plugin 插件,同时管理当前 DSH Web / Desktop Profile 的插件。0.5.1 需要 DSH 0.2.0-rc.2 或后续 0.2.x。
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
dsh plugin --profile desktop add dsh-plugin-marketplace@0.5.
|
|
6
|
+
dsh plugin --profile desktop add dsh-plugin-marketplace@0.5.1
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
使用 Desktop 提供的 dsh 命令(应用 → 管理 dsh 命令);Web 改用 --profile web。重启后打开 **插件 → 已安装 → dsh-plugin-marketplace** 配置页。
|
package/VERIFICATION.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
# v0.5.
|
|
1
|
+
# v0.5.1 validation — 2026-10-12
|
|
2
2
|
|
|
3
3
|
- Full npm test passed (25 tests), including pinned-version update arguments, structural YAML cleanup, failed operations, built-in protection, HMR and profile serialization.
|
|
4
4
|
- npm pack contents include management.js, runtime.js, client.js, locale metadata and bundle patch.
|
|
5
5
|
- Installed tarballs through the real Desktop bundled CLI in an isolated profile and started them using the installed Desktop 0.2.0-rc.2 runtime.
|
|
6
6
|
- Settings-channel refresh, invalid-package rejection, installation, update and uninstall of dsh-motion-ui all reached the expected real installed state.
|
|
7
7
|
- Browser showed the active Desktop inventory, explicit npm-name input, update/uninstall controls and protected built-in bundles.
|
|
8
|
+
|
|
9
|
+
- Automated Desktop package management closes stdin and sets CI mode. A previously hanging Soul installation completed successfully in 5 seconds with the corrected subprocess options.
|
package/package.json
CHANGED
package/runtime.js
CHANGED
|
@@ -57,12 +57,15 @@ function runPlugin(command, profile, runtime = process, execute = execFile, exis
|
|
|
57
57
|
bin, "plugin", "--profile", profile.name, ...command];
|
|
58
58
|
return new Promise((resolve) => {
|
|
59
59
|
try {
|
|
60
|
-
execute(runtime.execPath, args, {
|
|
61
|
-
env: { ...runtime.env, DSH_HOME: profile.home, ELECTRON_RUN_AS_NODE: "1" },
|
|
60
|
+
const child = execute(runtime.execPath, args, {
|
|
61
|
+
env: { ...runtime.env, DSH_HOME: profile.home, ELECTRON_RUN_AS_NODE: "1", CI: runtime.env.CI || "true" },
|
|
62
62
|
timeout: 5 * 60 * 1000,
|
|
63
63
|
maxBuffer: 8 * 1024 * 1024,
|
|
64
64
|
windowsHide: true,
|
|
65
65
|
}, (error, stdout, stderr) => resolve({ code: error ? (error.code ?? 1) : 0, stdout, stderr }));
|
|
66
|
+
// Package management is non-interactive. An open input pipe can keep
|
|
67
|
+
// Desktop's pnpm process alive after it has printed its completion.
|
|
68
|
+
child?.stdin?.end();
|
|
66
69
|
} catch (error) {
|
|
67
70
|
resolve({ code: 1, stdout: "", stderr: String(error.message || error) });
|
|
68
71
|
}
|