@laivikto/dsh-ssh-servers 1.2.0 → 1.2.2
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 +19 -22
- package/README.zh.md +18 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,40 +18,37 @@ English | [简体中文](./README.zh.md)
|
|
|
18
18
|
|
|
19
19
|
## Installation
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Distributed via npm. Two ways to install — pick either one.
|
|
22
22
|
|
|
23
|
-
### Option 1:
|
|
23
|
+
### Option 1: DSH Desktop (GUI)
|
|
24
24
|
|
|
25
|
-
1.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
5. Restart DSH; an **SSH Cloud Servers** tab appears in the right sidebar
|
|
25
|
+
1. Open DSH Desktop
|
|
26
|
+
2. Open **Settings → Plugins**
|
|
27
|
+
3. Click **Add plugin**
|
|
28
|
+
4. Enter the package name `@laivikto/dsh-ssh-servers`
|
|
29
|
+
5. Confirm, then restart DSH
|
|
30
|
+
6. An **SSH Cloud Servers** tab appears in the right sidebar
|
|
32
31
|
|
|
33
|
-
### Option 2:
|
|
32
|
+
### Option 2: Command line (copy & paste)
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
```json
|
|
38
|
-
{
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"@laivikto/dsh-ssh-servers": "link:E:/path/to/dsh-ssh-servers"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
34
|
+
```bash
|
|
35
|
+
dsh plugin add @laivikto/dsh-ssh-servers
|
|
43
36
|
```
|
|
44
37
|
|
|
45
|
-
|
|
38
|
+
With a specific profile:
|
|
46
39
|
|
|
47
|
-
|
|
40
|
+
```bash
|
|
41
|
+
dsh --profile desktop plugin add @laivikto/dsh-ssh-servers
|
|
42
|
+
```
|
|
48
43
|
|
|
49
|
-
|
|
44
|
+
Restart DSH after it finishes. Upgrade later with:
|
|
50
45
|
|
|
51
46
|
```bash
|
|
52
|
-
|
|
47
|
+
dsh plugin update
|
|
53
48
|
```
|
|
54
49
|
|
|
50
|
+
> The plugin manager writes the profile dependency and the `dsh.profile.bundles` entry for you — do not run `pnpm` or edit `cordis.patch.yml` by hand.
|
|
51
|
+
|
|
55
52
|
### Uninstall
|
|
56
53
|
|
|
57
54
|
Disable or remove the plugin under **Settings → Plugins**.
|
package/README.zh.md
CHANGED
|
@@ -18,40 +18,37 @@
|
|
|
18
18
|
|
|
19
19
|
## 安装
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
插件通过 npm 分发,两种装法任选其一。
|
|
22
22
|
|
|
23
|
-
###
|
|
23
|
+
### 方式一:DSH Desktop 图形界面
|
|
24
24
|
|
|
25
|
-
1.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
5. 重启 DSH,右侧栏会出现「SSH 云服务器」标签
|
|
25
|
+
1. 打开 DSH Desktop
|
|
26
|
+
2. 进入 **设置 → 插件**(Plugins)
|
|
27
|
+
3. 点 **添加插件 / Add plugin**
|
|
28
|
+
4. 输入包名 `@laivikto/dsh-ssh-servers`
|
|
29
|
+
5. 确认安装,重启 DSH
|
|
30
|
+
6. 右侧栏出现「SSH 云服务器」标签
|
|
32
31
|
|
|
33
|
-
###
|
|
34
|
-
|
|
35
|
-
把仓库目录直接链接进 profile:
|
|
32
|
+
### 方式二:命令行(复制即用)
|
|
36
33
|
|
|
37
34
|
```bash
|
|
38
|
-
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"@laivikto/dsh-ssh-servers": "link:E:/path/to/dsh-ssh-servers"
|
|
41
|
-
}
|
|
35
|
+
dsh plugin add @laivikto/dsh-ssh-servers
|
|
42
36
|
```
|
|
43
37
|
|
|
44
|
-
|
|
38
|
+
如果有多套 profile,指定其中一个:
|
|
45
39
|
|
|
46
|
-
|
|
40
|
+
```bash
|
|
41
|
+
dsh --profile desktop plugin add @laivikto/dsh-ssh-servers
|
|
42
|
+
```
|
|
47
43
|
|
|
48
|
-
|
|
44
|
+
装完重启 DSH。以后升级用:
|
|
49
45
|
|
|
50
46
|
```bash
|
|
51
|
-
|
|
52
|
-
npm install @laivikto/dsh-ssh-servers
|
|
47
|
+
dsh plugin update
|
|
53
48
|
```
|
|
54
49
|
|
|
50
|
+
> profile 依赖和 `dsh.profile.bundles` 的注册由插件管理器自动写入,不要手动跑 `pnpm` 或改 `cordis.patch.yml`。
|
|
51
|
+
|
|
55
52
|
### 卸载
|
|
56
53
|
|
|
57
54
|
在 **设置 → 插件** 中禁用或移除该插件即可。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@laivikto/dsh-ssh-servers",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
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",
|