dsh-go-plugin-sync 0.4.4 → 0.4.6
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 +12 -0
- package/README.md +11 -3
- package/package.json +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.6 — 2026-12-05
|
|
4
|
+
|
|
5
|
+
### 文档
|
|
6
|
+
- npm 说明改为「用同步码在 dsh-go 双端快速安装、同步可兼容的插件;Git 中转与 SSH 为测试阶段高级通道」,与 README 的定位一致
|
|
7
|
+
- keywords 补充 `cordis`、`sync-code`
|
|
8
|
+
|
|
9
|
+
## 0.4.5 — 2026-12-05
|
|
10
|
+
|
|
11
|
+
### 文档
|
|
12
|
+
- README 说明:Git 仓库中转同步、SSH 直连同步处于测试阶段;本产品最初是为「用复制码快速同步双端可兼容的插件」而设计,Git 中转与 SSH 是后来补充的高级通道
|
|
13
|
+
- 同步更新 npm 页面展示的说明(README 随包发布)
|
|
14
|
+
|
|
3
15
|
## 0.4.4 — 2026-12-04
|
|
4
16
|
|
|
5
17
|
### 改进
|
package/README.md
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
同步只增不删:不会卸载或覆盖你已经有的插件;版本对不上、缺少文件、本机多出来的插件只做标记提醒,不自动处理。
|
|
6
6
|
|
|
7
|
+
> **测试阶段**:Git 仓库中转同步、SSH 直连同步目前仍处于测试阶段,接口和行为可能调整;日常快速同步请优先使用复制码。
|
|
8
|
+
>
|
|
9
|
+
> **产品定位**:本产品最初就是为「用复制码快速同步双端可兼容的插件」而设计的;Git 中转和 SSH 是后来补充的高级通道,不是主线。
|
|
10
|
+
|
|
7
11
|
## 功能
|
|
8
12
|
|
|
9
13
|
- **同步码**:面板里复制,另一台主机粘贴导入
|
|
@@ -11,7 +15,7 @@
|
|
|
11
15
|
- **部分选择 / 全选**:导入后默认选中同步码里的插件,可以手动取消或加选
|
|
12
16
|
- **逐项结果**:每个插件的成功/失败都会列出来,失败项带报错尾巴,可一键重试
|
|
13
17
|
- **状态条**:输入框上方显示「待同步 N 项 / 同步失败 N 项 / 插件已同步」
|
|
14
|
-
-
|
|
18
|
+
- **高级通道(测试阶段)**:Git 私有仓中转、SSH 直连(推送 / 拉取 / 拉远端清单)
|
|
15
19
|
- **使用引导**:面板里的「使用引导」有完整步骤
|
|
16
20
|
- **电脑端设置页**:设置 → 插件同步,导入同步码、勾选安装、配置 Git 中转和 SSH
|
|
17
21
|
|
|
@@ -38,7 +42,7 @@ dsh plugin --profile web add ./dshgochajiantongbucha
|
|
|
38
42
|
1. 在 A 主机打开「插件同步」,选中要同步的插件(或全选),点**复制同步码**
|
|
39
43
|
2. 到 B 主机打开「插件同步」,把同步码粘进输入框,点**导入同步码**
|
|
40
44
|
3. 列表会默认选中同步码里的插件;不需要的可以点掉
|
|
41
|
-
4.
|
|
45
|
+
4. 点确认框的**下载并安装**,后台开始安装
|
|
42
46
|
5. 面板会显示逐项结果;失败项点**重试失败项**
|
|
43
47
|
6. 装完后重启一次引擎让新插件加载
|
|
44
48
|
|
|
@@ -50,7 +54,7 @@ dsh plugin --profile web add ./dshgochajiantongbucha
|
|
|
50
54
|
|
|
51
55
|
1. 粘贴同步码,点**导入同步码**
|
|
52
56
|
2. 在插件列表里勾选要安装的项(默认选中同步码里的插件)
|
|
53
|
-
3.
|
|
57
|
+
3. 点**下载并安装**,下方显示任务状态
|
|
54
58
|
4. 在同一页填写 **Git 中转**(仓库地址 / 分支 / 目录)和 **SSH**(主机 / 端口 / 用户 / 私钥 / profile),点**保存配置**
|
|
55
59
|
|
|
56
60
|
Windows 上支持同步码导入和安装;安装任务由 Node 直接执行,不依赖 `/bin/sh`。Git 中转和 SSH 推/拉暂不支持 Windows。
|
|
@@ -147,3 +151,7 @@ other, and missing plugins install automatically.
|
|
|
147
151
|
Add-only: it never uninstalls or overwrites existing plugins. Conflicts and
|
|
148
152
|
missing files are reported as warnings. Advanced transports: a private Git relay
|
|
149
153
|
or direct SSH.
|
|
154
|
+
|
|
155
|
+
**Status note:** the Git relay and SSH sync channels are still in testing and may
|
|
156
|
+
change. The product was originally designed for fast sync-code transfer of
|
|
157
|
+
plugins that work on both phone and desktop — prefer sync codes for everyday use.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-go-plugin-sync",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"dsh": {
|
|
@@ -80,12 +80,14 @@
|
|
|
80
80
|
"type": "git",
|
|
81
81
|
"url": "https://gitee.com/o12354654/dshgochajiantongbucha.git"
|
|
82
82
|
},
|
|
83
|
-
"description": "
|
|
83
|
+
"description": "用同步码在 dsh-go 双端快速安装、同步可兼容的插件;Git 中转与 SSH 为测试阶段高级通道。",
|
|
84
84
|
"keywords": [
|
|
85
85
|
"dsh",
|
|
86
86
|
"dsh-plugin",
|
|
87
87
|
"dsh-go",
|
|
88
|
-
"plugin-sync"
|
|
88
|
+
"plugin-sync",
|
|
89
|
+
"cordis",
|
|
90
|
+
"sync-code"
|
|
89
91
|
],
|
|
90
92
|
"homepage": "https://gitee.com/o12354654/dshgochajiantongbucha",
|
|
91
93
|
"files": [
|