Introduction¶
When extending capabilities with plugins in DeepSeek Harness (DSH), the common practice is to directly modify files in the installation directory or wait for upstream releases. However, manually modified content is easily lost during plugin updates, reinstallations, or DSH upgrades. Furthermore, maintaining a long-term fork of built-in plugins without a convenient rollback mechanism is cumbersome. The community plugin dsh-local-plugins manages “edited DSH plugins” within local Git repositories. It only deploys a specific snapshot to the actual DSH loading path via an atomic symlink swap after you have committed changes and passed validation. Until “Apply” is triggered, DSH continues to run the previous version.
What is this?¶
Maintainer ishanshmalviya5 has released dsh-local-plugins on GitHub (the npm package name matches the directory name; current version 0.2.1, MIT License). It is categorized under Workflow in SkillHub. The description is: Keeps edited dsh plugins as local git repos; deploys committed snapshots via atomic symlink swap.
In short: Both third-party and built-in plugins can be migrated to ~/.dsh/local-plugins/<plugin> for Git version control. Using the UI or workflow to Commit → Apply allows you to trial modifications, merge upstream updates, and rollback without affecting the currently running version.
Core Features¶
The following capabilities are derived from the project README, organized by user intent.
| What you want to do | UI/Operation | Result |
|---|---|---|
| Fix bugs or fine-tune and keep changes long-term | + Add → Migrate, edit, Commit, Apply | Changes take effect in DSH and persist through updates and reinstalls. |
| Pull new versions from the author while keeping your diff | Update | Merges new versions with your modifications; conflicts on the same line are resolved by you. |
| Revert because something broke | Deploy older commit… | Immediately switches to an earlier commit. |
| Customize built-in capabilities (e.g., model provider) | Migrate built-in plugins as well | Runs your version; Unlink restores the original. |
| Let an agent modify plugins within a safety boundary | Work on it | Opens context within the plugin directory; the agent cannot Apply changes on your behalf. |
| Restore customizations after DSH upgrade or reinstall | Reapply all | Re-mounts your local versions. |
| Lock a specific distribution | Enter name@1.2.3 or …#v1.2.0 etc. during + Add |
Pins the version; no automatic drifting. |
| See what changed relative to the original | Card summary | e.g., “3 files changed vs original” and current running status. |
Status labels (excerpt): Applied (running latest commit), Changes pending (requires Commit and Apply), Update available, Conflict, Link lost / Reapply required, Broken (Repair installation), Disabled (disabled after crash), Not applied (tracked only, not switched).
Safety and Control (emphasized in README): Install/build scripts require your approval by default; only complete versions that pass build and checks are switched online; Apply failures do not cause accidental switching and prompt next steps; Unlink, Delete, and Rollback move work to recoverable locations (Delete goes to ~/.dsh/local-plugins/.trash/).
Installation and Activation¶
Environment requirements: git, npm, Node 26 or newer; OS must be macOS (Apple Silicon) or Linux (Windows is explicitly unsupported). Tested with dsh 0.2.0-rc.2; no additional migration steps are needed when upgrading from 0.1.
- Run in the terminal (if your profile is not
web, replacewebwith your profile name):
dsh plugin --profile web add github:ishanshmalviya5/dsh-local-plugins
-
Restart the DSH web interface.
-
Open Settings → Local Plugins.
Typical Usage: First Customization¶
- + Add → Migrate, select an already active plugin; previously manually modified content will be retained as the starting point.
- Edit in
~/.dsh/local-plugins/<plugin>, or click Work on it to collaborate with an agent. - Commit, then Apply, and restart the DSH web.
Throughout this loop, DSH will not load the new tree until Apply is clicked. If the new version cannot be built or fails checks, the currently running version remains unchanged.
Author releases a new version: Check now or automatic check on startup → Update available → Update; conflicting files can be Fix with agent followed by Finish update, or Abort; the running version remains unchanged until Apply.
DSH fails to start completely: Run in the terminal (recovery command from README):
node ~/.dsh/local-plugins/.deployed/dsh-local-plugins/scripts/undo.mjs --all
No longer customizing a plugin: First Unlink (restore original), optionally Delete… (work goes to .trash/, recoverable via Repair installation).
The local directory is a standard Git repository; you can manually git remote add and push for backup.
Use Cases and Notes¶
Who it is for: DSH / Agent developers who need to maintain long-term forks or patches for community and built-in plugins; who want to preserve private changes during upstream updates; and who desire commit-level rollback and “deploy only on Apply” workflows.
Compatibility (0.2.1): macOS + Node 26 has been verified end-to-end on a real DSH instance; Linux (Ubuntu) + Node 26 passes lint/unit tests/package checks in CI, though the README notes that full end-to-end manual testing on a real DSH instance has not yet been completed. Node 22/24 are not supported.
Permissions and Security: Plugins run with the permissions of the current DSH process; please read the Security documentation and source code (MIT License) before installation. If a plugin causes DSH to crash before dsh-local-plugins loads, this plugin cannot self-repair and relies on the aforementioned undo.mjs.
The DSH ecosystem emphasizes “everything is a plugin”; the SkillHub directory page is a community site and has no official affiliation with DeepSeek or High-Flyer.
Conclusion¶
dsh-local-plugins transforms plugin customization from a “temporary operation of modifying the installation tree and fearing loss of changes” into a “Local Git + Atomic Deployment” workflow: The Migrate, Commit, and Apply loop, along with Update and conflict handling, Reapply, Repair, and trash recovery, covers upgrade and incident scenarios.
- Directory Page: https://www.skillhub.cn/plugins/ishanshmalviya5/dsh-local-plugins
- Source Code & Docs: https://github.com/ishanshmalviya5/dsh-local-plugins