tabby-sync-selective 1.1.2 → 1.1.5

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 CHANGED
@@ -1,16 +1,44 @@
1
1
  # Tabby Sync Selective
2
2
 
3
- 全新 Tabby 云同步插件,支持**选择性同步** `config.yaml` 中的配置分区,避免 Mac / Windows 之间因热键、路径等平台相关设置互相覆盖。
3
+ Tabby 云同步插件,支持**选择性同步** `config.yaml` 中的配置分区,避免 Mac / Windows 之间因热键、路径等平台相关设置互相覆盖。
4
4
 
5
- 本项目基于 [niceit/tabby-cloud-sync-settings](https://github.com/niceit/tabby-cloud-sync-settings) 与 [kentxxq/tabby-cloud-sync-settings](https://github.com/kentxxq/tabby-cloud-sync-settings) fork 演进而来。
5
+ npm 包名:**`tabby-sync-selective`**
6
+
7
+ ## Fork 说明
8
+
9
+ 本项目 fork 自以下仓库,并在此基础上做了功能改造:
10
+
11
+ | 上游 | 说明 |
12
+ |------|------|
13
+ | [niceit/tabby-cloud-sync-settings](https://github.com/niceit/tabby-cloud-sync-settings) | 最初版本(Tran IT) |
14
+ | [kentxxq/tabby-cloud-sync-settings](https://github.com/kentxxq/tabby-cloud-sync-settings) | 社区维护 fork(npm: `tabby-sync-kentxxq`) |
15
+
16
+ **本 fork 仓库**:[chomoe327/tabby-cloud-sync-settings](https://github.com/chomoe327/tabby-cloud-sync-settings)
17
+
18
+ ### 相对上游的主要改动
19
+
20
+ - **新 npm 包** `tabby-sync-selective`,与 `tabby-sync-kentxxq` 独立安装,互不覆盖
21
+ - **选择性同步**:不再整文件覆盖 `config.yaml`,按分区 merge
22
+ - **Cross-platform**:自动排除热键、字体、shell 路径等平台相关项
23
+ - **Full**:整文件覆盖(适合两台相同系统)
24
+ - **Custom**:40+ 细项自由勾选
25
+ - **手动同步增强**:Sync enabled 关闭后仍可手动 from/to cloud;同步前可临时选择模式与细项
26
+ - **WebDAV 三向 hash 对比**适配选择性同步(hash 基于参与同步的字段子集)
27
+ - **独立配置文件名**:`tabby-sync-selective-settings.json`、`tabby-sync-selective-cloud.json` 等
28
+ - **移除 winston 日志**,改用轻量文件日志,修复 Tabby 加载插件时的 `isStream is not a function` 崩溃
29
+ - **修复 WebDAV 连接测试**路径拼接问题(`location` + `test.txt` → 正确目录路径)
6
30
 
7
31
  ## 如何安装
8
32
 
9
33
  1. 打开 Tabby → **Settings** → **Plugins**
10
- 2. 搜索 `tabby-sync-selective`
34
+ 2. 搜索 `selective` 或 `sync-selective`
11
35
  3. 安装 **tabby-sync-selective** 并重启 Tabby
12
36
 
13
- > **重要**:请勿与 `tabby-sync-kentxxq` 或原版 `terminus-cloud-settings-sync` 同时启用。本插件使用独立的配置文件名(`tabby-sync-selective-*`),需重新配置 WebDAV 等云服务。
37
+ > **重要**
38
+ >
39
+ > - 请勿与 `tabby-sync-kentxxq` 或原版 `terminus-cloud-settings-sync` **同时启用**
40
+ > - 云端配置文件名已变更,WebDAV 等服务需在本插件内**重新配置**(服务器地址/账号可不变,路径如 `webdav/tabby` 保持不变)
41
+ > - 首次同步会在云端创建 `tabby-sync-selective-cloud.json`(与旧版 `tabby-sync-kentxxq` 的云端文件名不同)
14
42
 
15
43
  ## 选择性同步
16
44
 
@@ -29,7 +57,17 @@
29
57
  - **开启**:自动定时双向同步 + 本地配置变更自动上传
30
58
  - **关闭**:停止自动同步;**手动** from/to cloud 仍可使用
31
59
 
32
- ## 发布
60
+ ## WebDAV 配置提示
61
+
62
+ | 字段 | 示例 |
63
+ |------|------|
64
+ | Host | `https://webdav.123pan.cn` |
65
+ | Port | `443` |
66
+ | Location | `webdav/tabby`(目录路径,无需末尾 `/`) |
67
+
68
+ 点击 **Test Connection** 会在该目录下写入并删除 `test.txt` 以验证权限。
69
+
70
+ ## 开发与发布
33
71
 
34
72
  ```bash
35
73
  pnpm install
@@ -39,10 +77,23 @@ pnpm publish
39
77
 
40
78
  ## 变更日志
41
79
 
42
- ### [v1.0.0] - 2026-07-06
80
+ ### [v1.1.4] - 2026-07-06
81
+
82
+ - 修复 WebDAV 连接:`HotPatcher is not a constructor`(webdav 改为运行时依赖,不再错误打包)
83
+ - 连接失败时在界面显示具体错误信息
84
+
85
+ ### [v1.1.3] - 2026-07-06
86
+
87
+ - 修复 WebDAV 测试连接路径拼接
88
+ - 更新 About 页作者与仓库链接为本 fork
89
+
90
+ ### [v1.1.2] - 2026-07-06
91
+
92
+ - 移除 winston,修复插件启动崩溃
93
+ - 锁定 `is-stream@2.0.1`
94
+
95
+ ### [v1.1.0] - 2026-07-06
43
96
 
44
- - 新插件 `tabby-sync-selective`,独立 npm 包与配置文件
45
- - 选择性 merge 同步(appearance / profiles / hotkeys 等分区)
46
- - 手动同步前可选择本次同步分区
47
- - 关闭 Sync enabled 后仍可手动同步
48
- - WebDAV SHA256 三向对比适配选择性 hash
97
+ - 新插件 `tabby-sync-selective`,选择性 merge 同步
98
+ - 手动同步分区选择对话框
99
+ - Sync enabled 关闭后仍可手动同步