dsh-update-plugin 0.3.0 → 0.3.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/CHANGELOG.md CHANGED
@@ -6,6 +6,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.3.1] - 2026-09-17
10
+
11
+ Published to npm as `dsh-update-plugin@0.3.1`. No plugin behaviour changed; this
12
+ release refreshes the package metadata after the project rename.
13
+
14
+ ### Changed
15
+
16
+ - `repository`, `homepage` and `bugs` now point at
17
+ `haotian-lu-prog/dsh-update-plugin` — the project was renamed from
18
+ `dsh-update-all`.
19
+ - The READMEs name the CLI by its new command, `dsh-update-plugin`, and explain
20
+ that the standalone CLI is optional because the update logic is built in.
21
+ - Refreshed the English and Chinese screenshots for the 0.3.0 settings page,
22
+ the Check for Updates page and the right sidebar tab.
23
+
24
+ ### Fixed
25
+
26
+ - Backups whose `manifest.json` has no `source` field are now attributed to
27
+ `dsh-update-plugin` instead of the retired `dsh-update-all` name.
28
+
9
29
  ## [0.3.0] - 2026-09-16
10
30
 
11
31
  Published to npm as `dsh-update-plugin@0.3.0`. This is the first release that
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 dsh-update-all contributors
3
+ Copyright (c) 2026 dsh-update-plugin contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -14,8 +14,8 @@ From one row you can check for a newer DeepSeek Harness release and update:
14
14
  - the global `@deepseek-ai/dsh` CLI and every bundled `@deepseek-ai/dsh-*` package;
15
15
  - every profile's plugins under `~/.dsh/profiles/*`.
16
16
 
17
- The update logic is built into the plugin. It does **not** require Homebrew or a
18
- separately installed `dsh-update-all` script.
17
+ The update logic is built into the plugin: it does **not** require Homebrew, and
18
+ it does not need the standalone `dsh-update-plugin` CLI to be installed either.
19
19
 
20
20
  ![Check for Updates... in Settings → General](assets/screenshots/general-en.webp)
21
21
  ![Update reminder in the right sidebar](assets/screenshots/sidebar-en.png)
@@ -28,16 +28,16 @@ separately installed `dsh-update-all` script.
28
28
  dsh plugin --profile web add dsh-update-plugin
29
29
 
30
30
  # from a local checkout (development)
31
- dsh plugin --profile web add /path/to/dsh-update-all/plugin
31
+ dsh plugin --profile web add /path/to/dsh-update-plugin/plugin
32
32
  ```
33
33
 
34
34
  If pnpm refuses the install because its `minimumReleaseAge` policy rejects an
35
- already-updated lockfile entry (for example right after you used
36
- `dsh-update-all --min-age 0`), rerun the command with the policy relaxed for
37
- that single install:
35
+ already-updated lockfile entry (for example right after you ran the
36
+ `dsh-update-plugin` CLI with `--min-age 0`), rerun the command with the policy
37
+ relaxed for that single install:
38
38
 
39
39
  ```bash
40
- dsh plugin --profile web add /path/to/dsh-update-all/plugin --config.minimum-release-age=0
40
+ dsh plugin --profile web add /path/to/dsh-update-plugin/plugin --config.minimum-release-age=0
41
41
  ```
42
42
 
43
43
  > **Always mount with `dsh plugin add`, not plain `pnpm add`.** The official
package/README.zh-CN.md CHANGED
@@ -13,8 +13,8 @@
13
13
  - 全局 `@deepseek-ai/dsh` CLI 以及随包的 `@deepseek-ai/dsh-*`;
14
14
  - `~/.dsh/profiles/*` 下每个 profile 的插件。
15
15
 
16
- 更新逻辑完整内置在插件里,**不依赖 Homebrew,也不依赖单独安装的
17
- `dsh-update-all` 脚本**。
16
+ 更新逻辑完整内置在插件里:**不依赖 Homebrew,也不需要额外安装同名的
17
+ `dsh-update-plugin` 命令行工具**。
18
18
 
19
19
  ![设置 → 通用设置里的「检查更新」](assets/screenshots/general-zh.webp)
20
20
  ![右侧栏更新提醒](assets/screenshots/sidebar-cn.png)
@@ -27,14 +27,14 @@
27
27
  dsh plugin --profile web add dsh-update-plugin
28
28
 
29
29
  # 本地开发 / 从本仓库安装
30
- dsh plugin --profile web add /path/to/dsh-update-all/plugin
30
+ dsh plugin --profile web add /path/to/dsh-update-plugin/plugin
31
31
  ```
32
32
 
33
33
  如果 pnpm 的 `minimumReleaseAge` 策略因为 lockfile 里已有较新的条目而拒绝安装
34
- (例如刚用过 `dsh-update-all --min-age 0`),给这一次安装临时放开策略即可:
34
+ (例如刚用 `dsh-update-plugin` 命令行工具跑过 `--min-age 0`),给这一次安装临时放开策略即可:
35
35
 
36
36
  ```bash
37
- dsh plugin --profile web add /path/to/dsh-update-all/plugin --config.minimum-release-age=0
37
+ dsh plugin --profile web add /path/to/dsh-update-plugin/plugin --config.minimum-release-age=0
38
38
  ```
39
39
 
40
40
  > **一定要用 `dsh plugin add` 挂载,不要只用 `pnpm add`。** 官方命令还会把包
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,7 +1,7 @@
1
1
  // dsh-update-plugin host-side update core.
2
2
  //
3
3
  // This module intentionally depends on Node built-ins only. It mirrors the
4
- // logic of the dsh-update-all shell script (resolve the newest CLI across all
4
+ // logic of the dsh-update-plugin shell script (resolve the newest CLI across all
5
5
  // npm dist-tags, discover profiles, back up, update the CLI and every profile)
6
6
  // so the plugin can work without Homebrew or a separately installed script.
7
7
 
@@ -392,7 +392,7 @@ export async function listBackups(dshHome) {
392
392
  backups.push({
393
393
  id: entry.name,
394
394
  dir,
395
- source: manifest.source || "dsh-update-all",
395
+ source: manifest.source || "dsh-update-plugin",
396
396
  createdAt: manifest.createdAt || manifest.timestamp || null,
397
397
  cliVersion: manifest.cliVersion || manifest.cli_version || null,
398
398
  targetVersion: manifest.targetVersion || manifest.target_version || null,
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "dsh-update-plugin",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "DSH Web plugin: check and update DeepSeek Harness CLI and all profile plugins from Settings → General.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/haotian-lu-prog/dsh-update-all.git",
8
+ "url": "git+https://github.com/haotian-lu-prog/dsh-update-plugin.git",
9
9
  "directory": "plugin"
10
10
  },
11
- "homepage": "https://github.com/haotian-lu-prog/dsh-update-all/tree/main/plugin",
11
+ "homepage": "https://github.com/haotian-lu-prog/dsh-update-plugin/tree/main/plugin",
12
12
  "bugs": {
13
- "url": "https://github.com/haotian-lu-prog/dsh-update-all/issues"
13
+ "url": "https://github.com/haotian-lu-prog/dsh-update-plugin/issues"
14
14
  },
15
15
  "type": "module",
16
16
  "main": "lib/index.js",