@gehennawu/dsh-service 2.0.9 → 2.0.10
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.en.md +8 -8
- package/README.md +8 -8
- package/icon.svg +5 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +7 -3
package/README.en.md
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
<em>DeepSeek Harness (DSH) Web 服务控制与运维插件。</em>
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
|
-
[](package.json)
|
|
13
13
|
[](LICENSE)
|
|
14
|
-
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
15
15
|
[](https://cordis.moe/)
|
|
16
16
|
[](https://github.com/gehennawu/dsh-service)
|
|
17
17
|
[](https://github.com/gehennawu/dsh-service/issues)
|
|
@@ -317,7 +317,7 @@ Key contracts:
|
|
|
317
317
|
1. Open the **Plugins** page in the left sidebar.
|
|
318
318
|
2. Click the **+ Add plugin** button in the top-right corner.
|
|
319
319
|
3. In the dialog, fill in **one of the three** source forms (the same field accepts all three, and the hint below it follows what you type):
|
|
320
|
-
- **npm package name (recommended)**: `@gehennawu/dsh-service@2.0.
|
|
320
|
+
- **npm package name (recommended)**: `@gehennawu/dsh-service@2.0.10` — **include the exact version** (written as `package@version`);
|
|
321
321
|
- **GitHub repository URL**: `https://github.com/gehennawu/dsh-service` (public repository, no token needed; the shorthand `github:gehennawu/dsh-service` works too);
|
|
322
322
|
- **Local plugin directory**: an absolute path on this machine, e.g. `/path/to/dsh-service` (for your own or pre-downloaded plugins).
|
|
323
323
|
4. Pick the **install source** for your network: the default **official npm registry**, or the **China mainland mirror** if fetching from npm is restricted there (it affects package-name installs only; GitHub URLs and local directories are unaffected).
|
|
@@ -328,17 +328,17 @@ Key contracts:
|
|
|
328
328
|
|
|
329
329
|
> Tip: all three forms go through the official installation path — no manual profile edits; entering a GitHub URL in the dialog is equivalent to the `github:` prefix on the command line.
|
|
330
330
|
|
|
331
|
-
> **Why the npm form wants a version**: pnpm 11 enables a supply-chain release cooldown by default (`minimumReleaseAge`, 1440 minutes). **Without a version** (including `@latest`), a release published less than the cooldown period ago is not installed automatically, so the package manager falls back to the newest version that has cleared it — which is why the plugin page may report that it installed x.y.z instead of the latest a.b.c. Writing an **exact version** (e.g. `@gehennawu/dsh-service@2.0.
|
|
331
|
+
> **Why the npm form wants a version**: pnpm 11 enables a supply-chain release cooldown by default (`minimumReleaseAge`, 1440 minutes). **Without a version** (including `@latest`), a release published less than the cooldown period ago is not installed automatically, so the package manager falls back to the newest version that has cleared it — which is why the plugin page may report that it installed x.y.z instead of the latest a.b.c. Writing an **exact version** (e.g. `@gehennawu/dsh-service@2.0.10`) installs exactly the release you name. The cooldown is a supply-chain safety policy, not a sign that the new release is broken; if you are not in a hurry, installing without a version after the 24 hours have passed also reaches the new release.
|
|
332
332
|
|
|
333
333
|
### Option 2: Command line
|
|
334
334
|
|
|
335
335
|
| Method | Command |
|
|
336
336
|
| --- | --- |
|
|
337
|
-
| npm (recommended) | `dsh plugin --profile web add @gehennawu/dsh-service@2.0.
|
|
337
|
+
| npm (recommended) | `dsh plugin --profile web add @gehennawu/dsh-service@2.0.10` |
|
|
338
338
|
| GitHub | `dsh plugin --profile web add github:gehennawu/dsh-service` |
|
|
339
339
|
| Local development | `dsh plugin --profile web add link:/path/to/dsh-service` |
|
|
340
340
|
|
|
341
|
-
The command line uses the default npm / pnpm registry; if you need a mirror, point npm / pnpm's registry at one the usual way first, then run the command above. The npm method is subject to the same pnpm release cooldown: without a version it installs the newest release that has cleared the cooldown, while an exact version (`@gehennawu/dsh-service@2.0.
|
|
341
|
+
The command line uses the default npm / pnpm registry; if you need a mirror, point npm / pnpm's registry at one the usual way first, then run the command above. The npm method is subject to the same pnpm release cooldown: without a version it installs the newest release that has cleared the cooldown, while an exact version (`@gehennawu/dsh-service@2.0.10`) installs that release (see the note under Option 1).
|
|
342
342
|
|
|
343
343
|
Restart DSH Web after installing or updating:
|
|
344
344
|
|
|
@@ -390,7 +390,7 @@ pm2 start "dsh web --host 127.0.0.1" --name dsh-web
|
|
|
390
390
|
|
|
391
391
|
Requirements: Node.js `>=22`, and a DSH Web installation capable of loading both Host and Client plugin halves. Update checks require access to `registry.npmjs.org`; network failures do not affect other features.
|
|
392
392
|
|
|
393
|
-
**DSH compatibility**: `>=0.1.1-rc.2
|
|
393
|
+
**DSH compatibility**: `>=0.1.1-rc.2` (**no upper bound**), verified through `0.2.1-alpha.4`. Why no upper bound: since `0.2.1-alpha.4` the host gates plugin compatibility on a declared `engines.dsh` alone, so any pinned ceiling blocks the whole plugin on each new DSH release (**and the plugin's own one-click upgrade is blocked by that same gate, leaving no self-recovery path**). An open range keeps the plugin loading on newer versions; individual features may lag, but nothing breaks and no release is needed just to move the ceiling. Older DSH cannot read newer session formats; **backups cannot be restored across a downgrade**.
|
|
394
394
|
|
|
395
395
|
|
|
396
396
|
**DSH Desktop**: restart and post-restore restart require quitting and reopening the app; upgrade through its own plugin manager. Notifications require system permission, and clicking one may not restore a hidden window—use the tray. Other platforms are best-effort, without compatibility guarantees.
|
|
@@ -483,7 +483,7 @@ Concurrency protection kicked in: SKILL.md was just modified by an external edit
|
|
|
483
483
|
<details>
|
|
484
484
|
<summary><strong>The plugin page installed the plugin, but the version is an older one?</strong></summary>
|
|
485
485
|
|
|
486
|
-
pnpm 11 enables a supply-chain release cooldown by default (`minimumReleaseAge`, 1440 minutes): **installing without a version** (including `@latest`) only selects the newest release that has already cleared the cooldown, so a freshly published release is skipped and the official plugin page reports that it installed x.y.z instead of the latest a.b.c. To get the new version right away: uninstall it in the plugin page and reinstall with `package@version` (e.g. `@gehennawu/dsh-service@2.0.
|
|
486
|
+
pnpm 11 enables a supply-chain release cooldown by default (`minimumReleaseAge`, 1440 minutes): **installing without a version** (including `@latest`) only selects the newest release that has already cleared the cooldown, so a freshly published release is skipped and the official plugin page reports that it installed x.y.z instead of the latest a.b.c. To get the new version right away: uninstall it in the plugin page and reinstall with `package@version` (e.g. `@gehennawu/dsh-service@2.0.10`), or use this plugin's **Service Control → Upgrade** — it installs an exact version and is not subject to the cooldown. The cooldown is a supply-chain policy (a fresh release may contain defects that are not known yet); after the 24 hours have passed, installing without a version also reaches the new release.
|
|
487
487
|
</details>
|
|
488
488
|
|
|
489
489
|
<details>
|
package/README.md
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
<em>A service-control & operations plugin for DeepSeek Harness (DSH) Web.</em>
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
|
-
[](package.json)
|
|
13
13
|
[](LICENSE)
|
|
14
|
-
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
15
15
|
[](https://cordis.moe/)
|
|
16
16
|
[](https://github.com/gehennawu/dsh-service)
|
|
17
17
|
[](https://github.com/gehennawu/dsh-service/issues)
|
|
@@ -319,7 +319,7 @@ flowchart TB
|
|
|
319
319
|
1. 打开左侧边栏的「**插件**」页。
|
|
320
320
|
2. 点右上角的「**+ 添加插件**」按钮。
|
|
321
321
|
3. 在弹窗里按来源**三选一**填写(同一个输入框接受三种形式,底部提示会随填写内容变化):
|
|
322
|
-
- **npm 包名(推荐)**:`@gehennawu/dsh-service@2.0.
|
|
322
|
+
- **npm 包名(推荐)**:`@gehennawu/dsh-service@2.0.10`——**带上精确版本号**(写法 `包名@版本号`);
|
|
323
323
|
- **GitHub 仓库地址**:`https://github.com/gehennawu/dsh-service`(公开仓库,无需令牌;`github:gehennawu/dsh-service` 简写同样可用);
|
|
324
324
|
- **本地插件目录**:本机上的绝对路径,例如 `/path/to/dsh-service`(自研或已下载的插件)。
|
|
325
325
|
4. 「**安装源**」按网络情况选择:默认「**npm 官方源**」;国内网络拉取受限时可选「**中国大陆镜像源**」(影响走包名安装时的拉取源,GitHub 地址与本地目录不受其影响)。
|
|
@@ -330,17 +330,17 @@ flowchart TB
|
|
|
330
330
|
|
|
331
331
|
> 提示:三种形式都走官方安装链路,无需手动改 profile 文件;图形界面填 GitHub 地址与命令行 `github:` 前缀等价。
|
|
332
332
|
|
|
333
|
-
> **npm 方式为什么建议带版本号**:pnpm 11 默认启用供应链发布观察期(`minimumReleaseAge`,1440 分钟)。**不带版本号**(含 `@latest`)时,发布时间未满观察期的版本不会被自动安装,包管理器会退到「最近的、已过观察期的那一版」——插件页因此可能提示「本次安装的是 x.y.z,而非最新版本 a.b.c」;**写精确版本号**(如 `@gehennawu/dsh-service@2.0.
|
|
333
|
+
> **npm 方式为什么建议带版本号**:pnpm 11 默认启用供应链发布观察期(`minimumReleaseAge`,1440 分钟)。**不带版本号**(含 `@latest`)时,发布时间未满观察期的版本不会被自动安装,包管理器会退到「最近的、已过观察期的那一版」——插件页因此可能提示「本次安装的是 x.y.z,而非最新版本 a.b.c」;**写精确版本号**(如 `@gehennawu/dsh-service@2.0.10`)才会安装你点名的那一版。观察期属供应链安全策略,不代表新版有问题;不着急时等满 24 小时,不带版本号安装同样会装到新版。
|
|
334
334
|
|
|
335
335
|
### 方式二:命令行
|
|
336
336
|
|
|
337
337
|
| 方式 | 命令 |
|
|
338
338
|
| --- | --- |
|
|
339
|
-
| npm(推荐) | `dsh plugin --profile web add @gehennawu/dsh-service@2.0.
|
|
339
|
+
| npm(推荐) | `dsh plugin --profile web add @gehennawu/dsh-service@2.0.10` |
|
|
340
340
|
| GitHub | `dsh plugin --profile web add github:gehennawu/dsh-service` |
|
|
341
341
|
| 本地开发 | `dsh plugin --profile web add link:/path/to/dsh-service` |
|
|
342
342
|
|
|
343
|
-
命令行走 npm / pnpm 的默认源;需要镜像时,请先按 npm / pnpm 的常规做法把 registry 指到镜像站,再执行上面的命令。npm 方式同样受 pnpm 发布观察期影响:不带版本号会装到最近的、已过观察期的版本,写精确版本号(`@gehennawu/dsh-service@2.0.
|
|
343
|
+
命令行走 npm / pnpm 的默认源;需要镜像时,请先按 npm / pnpm 的常规做法把 registry 指到镜像站,再执行上面的命令。npm 方式同样受 pnpm 发布观察期影响:不带版本号会装到最近的、已过观察期的版本,写精确版本号(`@gehennawu/dsh-service@2.0.10`)才会装该版(原因见「方式一」的提示)。
|
|
344
344
|
|
|
345
345
|
安装或更新后重启 DSH Web:
|
|
346
346
|
|
|
@@ -392,7 +392,7 @@ pm2 start "dsh web --host 127.0.0.1" --name dsh-web
|
|
|
392
392
|
|
|
393
393
|
运行要求:Node.js `>=22`,DSH Web 能加载 Host 与 Client 两半插件。更新检查需访问 `registry.npmjs.org`;网络失败不影响其他功能。
|
|
394
394
|
|
|
395
|
-
**DSH 兼容范围**:`>=0.1.1-rc.2
|
|
395
|
+
**DSH 兼容范围**:`>=0.1.1-rc.2`(**无上界**),已验证至 `0.2.1-alpha.4`。不设上界的理由:`0.2.1-alpha.4` 起宿主门禁改为「插件声明了 `engines.dsh` 就由它单独裁决」,一旦上界写死,每次 DSH 发新版都会把插件整包挡掉(**且插件的一键升级会被同一门禁挡死,无法自救**);改用开区间后新版本插件照常加载,个别新功能可能尚未适配,但不阻断使用,也无需为 `engines.dsh` 单独发版。新版会话格式不能由旧版 DSH 读取,**备份不可跨版本降级恢复**。
|
|
396
396
|
|
|
397
397
|
|
|
398
398
|
**DSH Desktop**:重启与恢复后的重启改为提示退出应用后重新打开;一键升级使用桌面应用自带的插件管理页。通知需授予系统权限,点击通知可能无法唤回隐藏窗口,请用托盘打开。其他平台尽力而为,不承诺兼容。
|
|
@@ -485,7 +485,7 @@ Step Plan 订阅没有 API-key 形态的查询接口,需要网页登录态令
|
|
|
485
485
|
<details>
|
|
486
486
|
<summary><strong>插件管理页装了插件,版本却停在旧版?</strong></summary>
|
|
487
487
|
|
|
488
|
-
pnpm 11 默认启用供应链发布观察期(`minimumReleaseAge`,1440 分钟):安装时**不带版本号**(含 `@latest`)只会选「发布时间已满观察期的最新版」,刚发布的新版会被跳过,官方插件页会提示「本次安装的是 x.y.z,而非最新版本 a.b.c」。要立刻装上新版:在插件管理页卸载后按 `包名@版本号` 重装(例如 `@gehennawu/dsh-service@2.0.
|
|
488
|
+
pnpm 11 默认启用供应链发布观察期(`minimumReleaseAge`,1440 分钟):安装时**不带版本号**(含 `@latest`)只会选「发布时间已满观察期的最新版」,刚发布的新版会被跳过,官方插件页会提示「本次安装的是 x.y.z,而非最新版本 a.b.c」。要立刻装上新版:在插件管理页卸载后按 `包名@版本号` 重装(例如 `@gehennawu/dsh-service@2.0.10`),或直接用本插件的「**服务控制 → 一键升级**」——它按精确版本安装,不受观察期影响。观察期属供应链安全策略(新发布版本可能含尚未被发现的缺陷),等满 24 小时后不带版本号安装也会自然装到新版。
|
|
489
489
|
</details>
|
|
490
490
|
|
|
491
491
|
<details>
|
package/icon.svg
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="#4778f5" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<rect x="2" y="2" width="20" height="8" rx="2"/>
|
|
3
|
+
<rect x="2" y="14" width="20" height="8" rx="2"/>
|
|
4
|
+
<path d="M6 6h.01M6 18h.01"/>
|
|
5
|
+
</svg>
|
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gehennawu/dsh-service",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.10",
|
|
4
4
|
"description": "DSH Web 运维面板:安全重启、健康监控、备份和 Linux 权限维护。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
"exports": {
|
|
15
15
|
".": "./index.js",
|
|
16
16
|
"./client": "./client.js",
|
|
17
|
-
"./package.json": "./package.json"
|
|
17
|
+
"./package.json": "./package.json",
|
|
18
|
+
"./locale/*.json": "./locale/*.json",
|
|
19
|
+
"./icon": "./icon.svg"
|
|
18
20
|
},
|
|
19
21
|
"files": [
|
|
20
22
|
"index.js",
|
|
@@ -35,6 +37,8 @@
|
|
|
35
37
|
"plugin-health.js",
|
|
36
38
|
"client.js",
|
|
37
39
|
"cordis.patch.yml",
|
|
40
|
+
"icon.svg",
|
|
41
|
+
"locale/*.json",
|
|
38
42
|
"README.md",
|
|
39
43
|
"README.en.md",
|
|
40
44
|
"screenshots",
|
|
@@ -59,7 +63,7 @@
|
|
|
59
63
|
"homepage": "https://github.com/gehennawu/dsh-service#readme",
|
|
60
64
|
"engines": {
|
|
61
65
|
"node": ">=22",
|
|
62
|
-
"dsh": ">=0.1.1-rc.2
|
|
66
|
+
"dsh": ">=0.1.1-rc.2"
|
|
63
67
|
},
|
|
64
68
|
"dependencies": {
|
|
65
69
|
"@deepseek-ai/schemastery": "^3.18.3"
|