deepforce/dsh-plugin-reloader ↗★ 1

@deepforce/dsh-plugin-reloader

Hot-reload installed DeepSeek Harness plugins without restarting dsh web: watches plugin bundles, reloads changed plugins in place, and restarts on dependency changes 适合频繁升级插件的开发者;依赖变化重启需通过supervisor启动dsh。

パッケージ
@deepforce/dsh-plugin-reloader
互換性
未検証
Harness ピア範囲
^0.0.1-rc.1
Cordis ピア範囲
^4.0.1
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/08/15

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:deepforce/dsh-plugin-reloader

ドキュメント

README 全文を読む ↗

Usage

After upgrading an installed plugin:

dsh plugin --profile web add github:deepforce/dsh-balance   # upgrade

The watcher notices the changed lib/ files and hot-reloads it — no restart. To force it manually, type /reload @deepforce/dsh-balance in a session, or /reload with no argument to list candidates.

If the upgrade also changed the plugin's dependency tree, the process exits 42 and the supervisor relaunches dsh web automatically (a supervisor is required — a plain dsh web just exits).

Configuration

FieldDefaultMeaning
watchEnabledtruePoll installed plugins and hot-reload on code changes
watchRoots["@deepseek-ai", "@deepforce"]Scoped directories under the profile's node_modules to consider
debounceMs400Change coalescing window before a reload fires
pollIntervalMs2000Polling interval for change detection
restartExitCode42Exit code used when a dependency tree changed (supervisor restarts on it)
allowOfficialfalseAlso hot-reload official @deepseek-ai plugins (not recommended)
allowServiceProvidersfalseAlso hot-reload plugins that provide services other plugins depend on (not recommended)

Example overlay: