Preface¶
When using DeepSeek Harness (DSH) across multiple machines or different profiles, common pain points are: plugins must be installed one by one, settings and skills are scattered locally, and the correspondence between sessions and workspaces is lost when switching machines. Manually copying certain directories under $DSH_HOME is prone to missing items and makes it hard to see exactly “what will be changed” before pushing. One Pack (npm package name dsh-one-pack, maintainer Zhang-Eli) is a networking utility plugin in the DSH ecosystem: it packages and syncs installed plugins, DSH and plugin settings, skills, sessions, and explicitly registered workspace directories to a private GitHub repository; after switching machines or reinstalling, one can install plugins, fill in a token once, and restore the environment via Pull.
What is it¶
One Pack is positioned as “one-click packaging and cross-machine restoration of the entire machine’s DSH environment.” Compared to simply backing up local folders, it emphasizes several mechanism differences in the README: after saving a token, it can automatically create or reuse a private repository named dsh-one-pack-sync; read-only preview of changes before Push; local backup before Pull; synchronization executes in the background; pulled sessions are mounted to the corresponding workspace; multiple devices can share one repository, each falling under a devices/<device>/ namespace.
- Repository: Zhang-Eli/dsh-one-pack
- Community Directory: skillhub.cn Plugin Page
- License: MIT (The
lib/vendor/part is noted separately in the repository NOTICE) - Current npm version (package.json in the docs): 0.4.8
The DSH community plugin directory is maintained by sites like skillhub.cn and has no official affiliation with DeepSeek / Matrix Dimensions; it is advisable to view the source code and license yourself before installing. Plugins run under current DSH process permissions; tokens are stored locally on the Host and are not written to the sync repository.
Core Features¶
Below is a summary of partitions and behaviors as written in the README; capabilities not appearing in the materials are not expanded here.
Scope & Panel¶
The One Pack panel in the sidebar focuses on “Connection + Sync”: the left side shows connection status and sync partitions; the right side shows Push/Pull, last sync, and auto-push; the bottom shows the history of the last 10 syncs. Sync partitions include: Plugins, Settings, Skills, Sessions (README states that the workspace files partition is currently hidden in the panel but the functionality is retained). The default enabled items are “Plugins + Settings”; the rest can be enabled in the panel or configuration.
Connection & Repository¶
On the panel, click Generate Token ↗ for the first time. After creating a classic token on GitHub (check repo, the link is pre-filled), paste and Save & Create Repository. After success, it shows “Connected to <owner>/dsh-one-pack-sync”. If you need to specify another repository, you can call one_pack_setup { repo: "owner/repo" } in the session.
Push & Pull¶
- Push: Preview add / update / skip / fork first, then write after confirmation; no empty commits are generated if there is no SHA-256 change, and it will prompt “No changes to push”.
- Pull: Backup to local before writing; skip if content is consistent, keep local if local is newer, keep local and save remote version if truly forking. When pulling on multiple devices, the source can be selected in the preview: This Device / Latest Backup / Specified Device.
- Auto Push: Disabled by default; when enabled, it automatically Pushes once daily at 18:00 (local time, configurable).
Tools within Session¶
In addition to the panel, the Agent can be called in the session:
| Tool | Action |
|---|---|
one_pack_status |
Read-only: Repository, token, device, partition switches, and recent sync |
one_pack_setup |
Write local configuration: Repository, branch, token, partition switches |
one_pack_sync |
Push/Pull, two-step preview → execute; direction=pull allows sourceDevice (self / latest / specified device id) |
Security & Boundaries (README Design Trade-offs)¶
- Fields like
api_key / token / secret / passwordin settings are written as***during sync; key files like.env,.key,.pem,.npmrcare explicitly excluded. - Plugins installed via local directories using
link:/file:/workspace:cannot be restored on other machines; One Pack will skip and prompt; cross-machine installation requires npm or git, etc. - Changes like plugin installation/update, start/stop, etc., may require restarting DSH after Pull; the panel will prompt.
Installation & Enablement¶
Prerequisites¶
| Item | Requirement |
|---|---|
| Node.js | >= 22 (README tested v24.20.0) |
| DSH | >= 0.2.1-rc.5 |
| GitHub | Account; private repository for storing snapshots |
| Token | classic token, check repo |
Installation Command¶
Recommended installation from npm:
dsh plugin --profile desktop add dsh-one-pack
After installation, the One Pack icon appears in the sidebar. For local development installation, after cloning, run plugin_manager install_bundle(...) inside DSH. See GitHub README (this article does not detail the clone steps).
First Configuration¶
- Open One Pack in the sidebar → Generate Token ↗ → Generate token → Paste → Save & Create Repository.
- Enable the partitions to be synced as needed (default Plugins + Settings).
- After the local environment is ready, click Push, confirm in the preview, then execute.
Typical Usage¶
Restore on New Machine¶
- Execute the installation command above on the new machine.
- Open One Pack and use the same GitHub account token (the repository with the same name is automatically reused).
- Click Pull → View plan → Confirm. If this device has no backup, select Latest Backup or a specified device in “Pull Source”.
- Sessions will appear in the corresponding workspace after landing; if there are plugin changes, handle the restart as prompted.
Verify Connection Status¶
Replace <dsh-port> with the actual DSH port:
curl -s http://127.0.0.1:<dsh-port>/one-pack/api/status
Or call one_pack_status in the session: you should see the device, repository, hasToken: true, partitions, and recent sync. When there is no token, the interface may return 401 (this is a normal situation described in the README when the Host only accepts requests with browser authentication).
Uninstall & Rollback¶
dsh plugin --profile desktop remove dsh-one-pack
Uninstalling does not delete state, history, or backups under $DSH_HOME/one-pack/; the remote repository needs to be cleaned manually on GitHub. To rollback a Pull: copy files from $DSH_HOME/one-pack/backups/<timestamp>/ back to their original locations.
Suitable Scenarios & Notes¶
Who is it for: Developers who frequently switch between multiple computers, reinstall systems, or use multiple profiles, and wish for the DSH plugin stack, settings, skills, and sessions to be as consistent as possible.
Precautions:
- Relies on a GitHub private repository and a classic
repotoken; you need to accept the model that “environment metadata (after masking) is stored under your GitHub account”. - Do not expect to sync plugins installed via local link; sensitive keys are not stored in the repository by default, but you should still read the source code before installing.
- If the target machine is missing the original workspace directory, sessions may fall into the first available workspace; the warnings in the Pull result need to be verified by yourself.
Conclusion¶
One Pack condenses “installing plugins, checking settings, finding sessions” into “filling token + Push/Pull + preview confirmation”, and uses multi-device namespaces and pre-Pull backups to reduce the risk of accidental overwriting. For further understanding and installation, you can enter via the community directory Zhang-Eli/dsh-one-pack, and refer to GitHub Repository README for details.