dsh-icloud-sync
Sync DSH profiles, plugin manifests, skills, and session histories between Macs through iCloud Drive, with a settings panel, a cloud sessions tab, and a bundled dsh-sync CLI.
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mkoalade/dsh-icloud-sync說明文件
閱讀完整 README ↗Configuration
| Key | Type | Default | Meaning |
|---|---|---|---|
autoPull | boolean | false | On boot, run one pull when the cloud bundle exists and this Mac has not joined yet. |
syncBin | string | "" | Absolute path to a different dsh-sync script, overriding the bundled copy. |
DSH_ICLOUD_SYNC_BIN wins over both. Resolution order: environment, syncBin, bundled
bin/dsh-sync, ~/.local/bin/dsh-sync, DSH-Sync/bin/dsh-sync in iCloud.
配置项
| 键 | 类型 | 默认 | 说明 |
|---|---|---|---|
autoPull | boolean | false | 启动时若云端已有同步包而本机未接入,自动 pull 一次。 |
syncBin | string | "" | 指定另一个 dsh-sync 脚本的绝对路径。 |
脚本查找顺序:DSH_ICLOUD_SYNC_BIN 环境变量 → syncBin → 包内 bin/dsh-sync →
~/.local/bin/dsh-sync → iCloud 里的 DSH-Sync/bin/dsh-sync。
会话记录由插件自己的后台循环同步(即「云端」页签),不走 dsh-sync 脚本。