stuarthu/dsh-hot-reload
stuarthu★ 0JavaScript最后同步: 2026-08-16
Live-reload upgraded DeepSeek Harness (dsh) plugins without restarting dsh — safe reloads in place, failed ones roll back and flag a restart.
README 摘要
dsh-hot-reload English 中文 Live-reload upgraded DeepSeek Harness (dsh) plugins without restarting dsh . dsh's built-in hot-reload ( cordis-plugin-hmr ) deliberately ignores node modules , so upgrading an installed plugin ( dsh plugin add pkg@x ) normally requires a full dsh restart to take effect. This plugin closes that gap: it watches your profile's pnpm-lock.yaml , and when an already-loaded plugin package's version changes, it swaps the running plugin in place. Behavior On a plugin package upgrade, for each affected plugin: - Reload it live — invalidate the module caches, re-import the new code, and re-instantiate the plugin fiber in place. 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. Two cases, both handled: - 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; - a failure while initializing it (the new apply throws, sync or async) is rolled back — the old version is re-instantiated in place. A version that…
在 GitHub 查看完整 README →分类
Enhancement suite for Gemini, AI Studio, Claude & ChatGPT — plus a prompt manager for any web UI, DeepSeek Harness included. / 面向 Gemini、AI Studio、Claude 与 ChatGPT 的增强套件;提示词管理器可用于任意 Web UI,含 DeepSeek Harness。
★ 19,431
PicGo/PicGo-Core:zap:The ultimate image uploading engine. Both CLI & API supports.
★ 972
Nagi-ovo/dsh-ads把 DSH 变成 2005 年门户网站|Parody ads, fake games, and popups for the DSH Web UI
★ 428