dsh-profile-sync
Keep DeepSeek Harness providers, plugins and settings aligned between machines over Git or a LAN sidecar.
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:b-iurea/dsh-profile-syncREADME
Read the full README ↗Usage
First machine (already configured):
profile_sync { action: "push" }
Second machine (fresh DSH install, plugin installed):
profile_sync { action: "configure", repo: "" }
profile_sync { action: "status" }
profile_sync { action: "pull", dryRun: true } # preview
profile_sync { action: "pull" }
Restart DSH if the result says restartRequired (new or changed bundles).
statuscompares local, snapshot and last sync, and shows the plan.pushrefuses to overwrite a snapshot changed elsewhere: pull first, or useforce: true.pullrefuses to overwrite local changes made after the last sync:force: truelets the snapshot win.- Every
pullwrites a backup to~/.dsh/profile-sync/backups/-before-pull/. - Last-sync state lives in
~/.dsh/profile-sync/state.json; in Git mode each machine also leavesmachines/.jsonin the repository.
Tool actions
| Action | Purpose |
|---|---|
status | local hash, remote hash, pending changes, drift |
push | write the snapshot to the repo (or send it to a LAN peer) |
pull | apply the remote snapshot (dryRun, force) |
configure | set repo, branch, excludeEntries, prune |
lan-status / lan-enable / lan-disable | LAN sidecar lifecycle |
lan-pair / lan-approve / lan-reject / lan-forget | pairing |
lan-push / lan-pull / lan-check | send, fetch, compare |
Configuration
In the profile, row profile-sync:
- id: profile-sync
name: dsh-profile-sync
config:
repo: 'git@github.com:user/dsh-profile.git'
branch: '' # optional
file: dsh-profile.json
excludeEntries: [] # row ids to keep machine-local
prune: false # true = also drop local overrides missing from the snapshot
lanEnabled: false # first-run default; afterwards the panel switch wins
lanPort: 47931
lanDiscoveryPort: 47932
lanAutoApply: true
manualPeers: [] # explicit URLs when UDP broadcast is blocked (VLANs)
repo accepts:
- a Git URL (
https://,git@,ssh://,file://): cloned to~/.dsh/profile-sync/repo, withpull --ff-only/commit/push; - a folder path (also
~/...): ideal with Syncthing, Dropbox or iCloud.