Dsh Hot Reload
stuarthu/dsh-hot-reload · skills
Live-reload upgraded DeepSeek Harness (dsh) plugins without restarting dsh — safe reloads in place, failed ones roll back and flag a restart.
★ 2GitHub stars
0Forks
2026-08-25Last updated
JavaScriptLanguage
MITLicense
Key features
- Reload it live — invalidate the module caches, re-import the new code, and re-instantiate the plugin fiber in place.
- One line in your terminal, for every outcome.
- dsh, your sessions, and every other plugin keep running.
- If the reload fails — you're left with the working old version, never a dead plugin, plus a logged note that a manual dsh restart is needed to pick up the new code.
- a failure while loading the new code (bad import, syntax error) is caught before the running plugin is touched — the old plugin is never disturbed
Requirements
- Built and tested against dsh 0.1.0-rc.6 (Node 22 / 24).
- It reaches into cordis/loader internals — mostly the same ones cordis-plugin-hmr uses — so a future dsh that changes any of them may require an update
Install command
dsh plugin --profile web add github:stuarthu/dsh-hot-reload