tabby-sync-selective 1.1.0

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 (46) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +48 -0
  3. package/dist/index.js +2 -0
  4. package/dist/index.js.LICENSE.txt +7479 -0
  5. package/dist/src/components/change-logs/change-logs.component.d.ts +8 -0
  6. package/dist/src/components/checkbox.component.d.ts +13 -0
  7. package/dist/src/components/cloud-sync-settings.component.d.ts +317 -0
  8. package/dist/src/components/feeback-form/feeback.component.d.ts +36 -0
  9. package/dist/src/components/master-password/master-password.component.d.ts +8 -0
  10. package/dist/src/components/sub-components/about/about.component.d.ts +17 -0
  11. package/dist/src/components/sub-components/amazon/amazon-settings.component.d.ts +350 -0
  12. package/dist/src/components/sub-components/built-in/builtin-settings.component.d.ts +215 -0
  13. package/dist/src/components/sub-components/check-for-updates/check-for-updates.component.d.ts +26 -0
  14. package/dist/src/components/sub-components/dropbox/dropbox-settings.component.d.ts +348 -0
  15. package/dist/src/components/sub-components/ftp/ftp-settings.component.d.ts +351 -0
  16. package/dist/src/components/sub-components/gist/gist-settings.component.d.ts +352 -0
  17. package/dist/src/components/sub-components/plugin-logs/plugin-logs.component.d.ts +21 -0
  18. package/dist/src/components/sub-components/webdav/webdav-settings.component.d.ts +349 -0
  19. package/dist/src/components/support-us/support-us.component.d.ts +14 -0
  20. package/dist/src/components/sync-sections-dialog/sync-sections-dialog.component.d.ts +131 -0
  21. package/dist/src/components/toggle.component.d.ts +4 -0
  22. package/dist/src/data/lang.d.ts +119 -0
  23. package/dist/src/data/mockdata.json +7 -0
  24. package/dist/src/data/s3-data.d.ts +15 -0
  25. package/dist/src/data/setting-items.d.ts +197 -0
  26. package/dist/src/index.d.ts +15 -0
  27. package/dist/src/interface/index.d.ts +33 -0
  28. package/dist/src/services/dev-constants.d.ts +4 -0
  29. package/dist/src/services/sync-sections-dialog.service.d.ts +9 -0
  30. package/dist/src/services/tabby-sync-upgrade.d.ts +7 -0
  31. package/dist/src/settings.d.ts +7 -0
  32. package/dist/src/utils/CloudSyncSettingsHelper.d.ts +8 -0
  33. package/dist/src/utils/Logger.d.ts +9 -0
  34. package/dist/src/utils/cloud-components/AmazonS3.d.ts +30 -0
  35. package/dist/src/utils/cloud-components/Dropbox.d.ts +17 -0
  36. package/dist/src/utils/cloud-components/FTP.d.ts +15 -0
  37. package/dist/src/utils/cloud-components/WebDav.d.ts +13 -0
  38. package/dist/src/utils/cloud-components/gist.d.ts +12 -0
  39. package/dist/src/utils/cloud-components/gists/gists.d.ts +10 -0
  40. package/dist/src/utils/cloud-components/gists/gitee.d.ts +12 -0
  41. package/dist/src/utils/cloud-components/gists/github.d.ts +12 -0
  42. package/dist/src/utils/cloud-components/gists/gitlab.d.ts +12 -0
  43. package/dist/src/utils/config-merge.d.ts +40 -0
  44. package/dist/src/utils/dev-mock-data.d.ts +6 -0
  45. package/dist/src/utils/settings-helper.d.ts +49 -0
  46. package/package.json +101 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 by TranIT.Co <tran.tuan@tranit.co>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # Tabby Sync Selective
2
+
3
+ 全新 Tabby 云同步插件,支持**选择性同步** `config.yaml` 中的配置分区,避免 Mac / Windows 之间因热键、路径等平台相关设置互相覆盖。
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 演进而来。
6
+
7
+ ## 如何安装
8
+
9
+ 1. 打开 Tabby → **Settings** → **Plugins**
10
+ 2. 搜索 `tabby-sync-selective`
11
+ 3. 安装 **tabby-sync-selective** 并重启 Tabby
12
+
13
+ > **重要**:请勿与 `tabby-sync-kentxxq` 或原版 `terminus-cloud-settings-sync` 同时启用。本插件使用独立的配置文件名(`tabby-sync-selective-*`),需重新配置 WebDAV 等云服务。
14
+
15
+ ## 选择性同步
16
+
17
+ 在 **Settings → Tabby Sync Selective → General** 中可选三种模式:
18
+
19
+ | 模式 | 说明 |
20
+ |------|------|
21
+ | **Cross-platform** | 自动屏蔽平台相关项(热键、字体、shell 路径、Electron 参数等),适合 Mac ↔ Windows |
22
+ | **Full overwrite** | 整文件覆盖,适合两台相同系统 |
23
+ | **Custom** | 按细项自由勾选(主题、CSS、配色、终端行为、SSH 连接等 40+ 项) |
24
+
25
+ 手动同步时同样可在对话框中临时切换模式或调整 Custom 细项。
26
+
27
+ ## Sync enabled 说明
28
+
29
+ - **开启**:自动定时双向同步 + 本地配置变更自动上传
30
+ - **关闭**:停止自动同步;**手动** from/to cloud 仍可使用
31
+
32
+ ## 发布
33
+
34
+ ```bash
35
+ pnpm install
36
+ pnpm run build
37
+ pnpm publish
38
+ ```
39
+
40
+ ## 变更日志
41
+
42
+ ### [v1.0.0] - 2026-07-06
43
+
44
+ - 新插件 `tabby-sync-selective`,独立 npm 包与配置文件
45
+ - 选择性 merge 同步(appearance / profiles / hotkeys 等分区)
46
+ - 手动同步前可选择本次同步分区
47
+ - 关闭 Sync enabled 后仍可手动同步
48
+ - WebDAV SHA256 三向对比适配选择性 hash