dsh-hot-reload
支持在不重启 DSH 的情况下热重载升级后的插件,若重载失败会自动回滚到旧版本并提示手动重启。
AI 分析
核心用途是实现 DSH 插件的无缝热插拔与在线升级。适合频繁调整插件配置、开发调试插件或不希望中断运行中会话的系统管理员与开发者。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:stuarthu/dsh-hot-reload说明文档
阅读完整 README ↗Configuration
Set on the hot-reload row in your profile's cordis.patch.yml:
| Key | Default | Meaning |
|---|---|---|
debounce | 300 | ms to wait after a lockfile change before acting |
profileDir | auto | absolute path to the profile dir to watch (auto-detected from the loader base URL if omitted) |