terminus-cloud-settings-sync-plus 0.0.0-stage → 1.0.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 (54) hide show
  1. package/LICENSE +21 -0
  2. package/NOTICE +7 -0
  3. package/README.en.md +41 -0
  4. package/README.md +40 -2
  5. package/dist/index.js +2 -0
  6. package/dist/index.js.LICENSE.txt +7439 -0
  7. package/dist/src/components/change-logs/change-logs.component.d.ts +244 -0
  8. package/dist/src/components/checkbox.component.d.ts +13 -0
  9. package/dist/src/components/cloud-sync-settings.component.d.ts +431 -0
  10. package/dist/src/components/feeback-form/feeback.component.d.ts +242 -0
  11. package/dist/src/components/master-password/master-password.component.d.ts +244 -0
  12. package/dist/src/components/sub-components/about/about.component.d.ts +20 -0
  13. package/dist/src/components/sub-components/amazon/amazon-settings.component.d.ts +459 -0
  14. package/dist/src/components/sub-components/built-in/builtin-settings.component.d.ts +444 -0
  15. package/dist/src/components/sub-components/check-for-updates/check-for-updates.component.d.ts +267 -0
  16. package/dist/src/components/sub-components/dropbox/dropbox-encryption-secret-modal.component.d.ts +252 -0
  17. package/dist/src/components/sub-components/dropbox/dropbox-settings.component.d.ts +488 -0
  18. package/dist/src/components/sub-components/ftp/ftp-settings.component.d.ts +460 -0
  19. package/dist/src/components/sub-components/gist/gist-settings.component.d.ts +461 -0
  20. package/dist/src/components/sub-components/webdav/webdav-settings.component.d.ts +454 -0
  21. package/dist/src/components/toggle.component.d.ts +4 -0
  22. package/dist/src/data/lang.d.ts +245 -0
  23. package/dist/src/data/s3-data.d.ts +15 -0
  24. package/dist/src/data/setting-items.d.ts +198 -0
  25. package/dist/src/index.d.ts +47 -0
  26. package/dist/src/interface/index.d.ts +65 -0
  27. package/dist/src/providers/cloud-sync-actions.d.ts +15 -0
  28. package/dist/src/providers/cloud-sync-command.provider.d.ts +16 -0
  29. package/dist/src/providers/cloud-sync-toolbar.provider.d.ts +7 -0
  30. package/dist/src/services/dev-constants.d.ts +4 -0
  31. package/dist/src/services/tabby-sync-upgrade.d.ts +10 -0
  32. package/dist/src/services/toast.d.ts +61 -0
  33. package/dist/src/settings.d.ts +7 -0
  34. package/dist/src/utils/CloudSyncSettingsHelper.d.ts +8 -0
  35. package/dist/src/utils/Logger.d.ts +29 -0
  36. package/dist/src/utils/cloud-components/AmazonS3.d.ts +38 -0
  37. package/dist/src/utils/cloud-components/Dropbox.d.ts +50 -0
  38. package/dist/src/utils/cloud-components/FTP.d.ts +46 -0
  39. package/dist/src/utils/cloud-components/WebDav.d.ts +34 -0
  40. package/dist/src/utils/cloud-components/gist.d.ts +86 -0
  41. package/dist/src/utils/cloud-components/gists/gists.d.ts +15 -0
  42. package/dist/src/utils/cloud-components/gists/gitee.d.ts +16 -0
  43. package/dist/src/utils/cloud-components/gists/github.d.ts +16 -0
  44. package/dist/src/utils/cloud-components/gists/gitlab.d.ts +44 -0
  45. package/dist/src/utils/cloud-components/sync-utils.d.ts +90 -0
  46. package/dist/src/utils/config-hash.d.ts +21 -0
  47. package/dist/src/utils/dev-mock-data.d.ts +6 -0
  48. package/dist/src/utils/settings-crypto.d.ts +53 -0
  49. package/dist/src/utils/settings-helper.d.ts +177 -0
  50. package/dist/src/utils/settings-secret.d.ts +16 -0
  51. package/dist/src/utils/sync-lock.d.ts +44 -0
  52. package/dist/src/utils/sync-payload.d.ts +38 -0
  53. package/dist/src/utils/sync-state.d.ts +55 -0
  54. package/package.json +111 -6
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/NOTICE ADDED
@@ -0,0 +1,7 @@
1
+ Based on Tabby Sync Cloud Settings:
2
+ https://github.com/niceit/tabby-cloud-sync-settings
3
+
4
+ The upstream project is distributed under the MIT License. Its original
5
+ copyright and permission notice is preserved in LICENSE.
6
+
7
+ Copyright (c) 2026 Jym2004 for modifications made in this repository.
package/README.en.md ADDED
@@ -0,0 +1,41 @@
1
+ # Tabby Cloud Settings Sync
2
+
3
+ English | [简体中文](README.md)
4
+
5
+ Sync Tabby settings and SSH connections between Windows, macOS, and Linux.
6
+
7
+ Based on [Tabby Sync Cloud Settings](https://github.com/niceit/tabby-cloud-sync-settings). See [NOTICE](NOTICE) for attribution.
8
+
9
+ ## Key features
10
+
11
+ - Syncs Tabby settings and `~/.ssh/config` together in encrypted cloud storage.
12
+ - Keeps WSL and other machine-specific local profiles on their own devices.
13
+ - Skips SSH entries that point back to the current computer.
14
+ - Adapts SSH key paths for each operating system.
15
+ - Creates local backups before applying cloud changes.
16
+ - Supports S3-compatible storage, WebDAV, FTP/FTPS, and Gists. Dropbox requires your own `DROPBOX_APP_KEY` at build time.
17
+
18
+ ## Install
19
+
20
+ Open **Settings → Plugins** in Tabby, search for `Cloud Settings Sync Plus`, install it, then restart Tabby.
21
+
22
+ You can also install it from the command line in Tabby's plugin directory:
23
+
24
+ ```powershell
25
+ npm install --prefix "$env:APPDATA\tabby\plugins" terminus-cloud-settings-sync-plus
26
+ ```
27
+
28
+ npm package: `terminus-cloud-settings-sync-plus`.
29
+
30
+ ## Build
31
+
32
+ Requires Node.js and Yarn. Use `npm run build:local` for a local build; Dropbox builds require your own `DROPBOX_APP_KEY`.
33
+
34
+ ```sh
35
+ corepack yarn install --ignore-scripts
36
+ DROPBOX_APP_KEY=your_dropbox_app_key npm run build
37
+ ```
38
+
39
+ ## License
40
+
41
+ MIT. See [LICENSE](LICENSE).
package/README.md CHANGED
@@ -1,3 +1,41 @@
1
- # Temporary Holding Version
1
+ # Tabby 云同步设置
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ [English](README.en.md) | 简体中文
4
+
5
+ 在 Windows、macOS 和 Linux 之间同步 Tabby 设置与 SSH 连接。
6
+
7
+ 本项目基于上游项目 [Tabby Sync Cloud Settings](https://github.com/niceit/tabby-cloud-sync-settings)。来源说明见 [NOTICE](NOTICE)。
8
+
9
+ ## 主要功能
10
+
11
+ - 将 Tabby 设置和 `~/.ssh/config` 一起加密同步到云端。
12
+ - WSL 等本机专属配置只保留在本机。
13
+ - 自动跳过指向本机自身的 SSH 连接。
14
+ - 根据操作系统适配 SSH 密钥路径。
15
+ - 应用云端配置前自动备份本地文件。
16
+ - 支持 S3 兼容存储、WebDAV、FTP/FTPS 和 Gist;Dropbox 需要自己在构建时提供 `DROPBOX_APP_KEY`
17
+
18
+ ## 安装
19
+
20
+ 在 Tabby 中打开 **Settings → Plugins**,搜索 `Cloud Settings Sync Plus`,点击安装并重启 Tabby。
21
+
22
+ 也可以在 Tabby 的插件目录执行:
23
+
24
+ ```powershell
25
+ npm install --prefix "$env:APPDATA\tabby\plugins" terminus-cloud-settings-sync-plus
26
+ ```
27
+
28
+ npm 包名:`terminus-cloud-settings-sync-plus`。
29
+
30
+ ## 构建
31
+
32
+ 需要 Node.js 和 Yarn。普通本地构建可运行 `npm run build:local`;构建 Dropbox 版本需要提供自己的 `DROPBOX_APP_KEY`。
33
+
34
+ ```sh
35
+ corepack yarn install --ignore-scripts
36
+ DROPBOX_APP_KEY=your_dropbox_app_key npm run build
37
+ ```
38
+
39
+ ## 许可证
40
+
41
+ MIT,详见 [LICENSE](LICENSE)。