@laivikto/dsh-ssh-servers 1.2.0 → 1.2.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.
Files changed (3) hide show
  1. package/README.md +27 -11
  2. package/README.zh.md +27 -12
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -18,9 +18,33 @@ English | [简体中文](./README.zh.md)
18
18
 
19
19
  ## Installation
20
20
 
21
- This is a local DSH bundle. Install it as follows.
21
+ ### Option 1: npm (recommended)
22
22
 
23
- ### Option 1: Download from GitHub (recommended)
23
+ The plugin is published on npm, so installing and updating needs no archive and no manual file copying.
24
+
25
+ In DSH Desktop open **Settings → Plugins → Add plugin** and enter the package name:
26
+
27
+ ```
28
+ @laivikto/dsh-ssh-servers
29
+ ```
30
+
31
+ The plugin manager installs it into your profile and registers its bundle. Restart DSH and an **SSH Cloud Servers** tab appears in the right sidebar. To update later, use the same add/update action in the plugin manager.
32
+
33
+ Or wire it into the profile by hand:
34
+
35
+ ```json
36
+ {
37
+ "dependencies": {
38
+ "@laivikto/dsh-ssh-servers": "^1.2.0"
39
+ }
40
+ }
41
+ ```
42
+
43
+ Also add `"@laivikto/dsh-ssh-servers"` to `dsh.profile.bundles`, then restart DSH.
44
+
45
+ > Do not run `pnpm` manually or edit `cordis.patch.yml` — DSH's plugin manager handles those steps.
46
+
47
+ ### Option 2: Download from GitHub
24
48
 
25
49
  1. Download the archive:
26
50
  <https://github.com/Laivikto/dsh-ssh-servers/archive/refs/heads/main.zip>
@@ -30,7 +54,7 @@ This is a local DSH bundle. Install it as follows.
30
54
  4. Select the extracted directory
31
55
  5. Restart DSH; an **SSH Cloud Servers** tab appears in the right sidebar
32
56
 
33
- ### Option 2: Local development link
57
+ ### Option 3: Local development link
34
58
 
35
59
  Point the profile at the repository:
36
60
 
@@ -44,14 +68,6 @@ Point the profile at the repository:
44
68
 
45
69
  Also add `"@laivikto/dsh-ssh-servers"` to `dsh.profile.bundles`, then restart DSH.
46
70
 
47
- > Do not run `pnpm` manually or edit `cordis.patch.yml` — DSH's plugin manager handles those steps.
48
-
49
- ### Option 3: npm (future)
50
-
51
- ```bash
52
- npm install @laivikto/dsh-ssh-servers
53
- ```
54
-
55
71
  ### Uninstall
56
72
 
57
73
  Disable or remove the plugin under **Settings → Plugins**.
package/README.zh.md CHANGED
@@ -18,9 +18,33 @@
18
18
 
19
19
  ## 安装
20
20
 
21
- 本插件是 DSH 的本地 bundle,安装方式如下。
21
+ ### 方式一:npm(推荐)
22
22
 
23
- ### 方式一:从 GitHub 下载(推荐)
23
+ 插件已发布到 npm,安装和更新都不需要下载压缩包,也不用手动拷贝文件。
24
+
25
+ 打开 DSH Desktop,进入 **设置 → 插件 → 添加插件**,输入包名:
26
+
27
+ ```
28
+ @laivikto/dsh-ssh-servers
29
+ ```
30
+
31
+ 插件管理器会把它装进 profile 并注册好 bundle。重启 DSH,右侧栏就会出现「SSH 云服务器」标签。以后升级也走同一个添加 / 更新入口,不用再碰文件。
32
+
33
+ 也可以在 profile 里手动声明:
34
+
35
+ ```json
36
+ {
37
+ "dependencies": {
38
+ "@laivikto/dsh-ssh-servers": "^1.2.0"
39
+ }
40
+ }
41
+ ```
42
+
43
+ 并在 `dsh.profile.bundles` 列表中加入 `"@laivikto/dsh-ssh-servers"`,然后重启 DSH。
44
+
45
+ > 不要手动跑 `pnpm` 或直接改 `cordis.patch.yml`;DSH 的插件管理器会负责这些步骤。
46
+
47
+ ### 方式二:从 GitHub 下载
24
48
 
25
49
  1. 下载仓库压缩包:
26
50
  <https://github.com/Laivikto/dsh-ssh-servers/archive/refs/heads/main.zip>
@@ -30,7 +54,7 @@
30
54
  4. 选择上一步解压出来的目录
31
55
  5. 重启 DSH,右侧栏会出现「SSH 云服务器」标签
32
56
 
33
- ### 方式二:开发者本地联调
57
+ ### 方式三:开发者本地联调
34
58
 
35
59
  把仓库目录直接链接进 profile:
36
60
 
@@ -43,15 +67,6 @@
43
67
 
44
68
  并在 `dsh.profile.bundles` 列表中加入 `"@laivikto/dsh-ssh-servers"`,然后重启 DSH。
45
69
 
46
- > 不要手动跑 `pnpm` 或直接改 `cordis.patch.yml`;DSH 的插件管理器会负责这些步骤。
47
-
48
- ### 方式三:npm(未来)
49
-
50
- ```bash
51
- # 发布后可用
52
- npm install @laivikto/dsh-ssh-servers
53
- ```
54
-
55
70
  ### 卸载
56
71
 
57
72
  在 **设置 → 插件** 中禁用或移除该插件即可。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laivikto/dsh-ssh-servers",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "SSH server manager for DeepSeek Harness: saved key/password connections, native key-file picker, live connection health, IPv4/IPv6 display, a task prompt copied to the clipboard, and remote file browsing.",
5
5
  "type": "module",
6
6
  "main": "index.js",