dsh_plugin_refresh: Ready-to-Use Activation and Hot Reload for DSH Plugins Without Restart
dsh_plugin_refresh is a DSH Host-side client plugin maintained by lixiaohao001. Without modifying the profile manifest, it automatically checks installed combinations: for unmounted bundles, it goes through the official setBundleEnabled path to repair them; for changes to files at the same path, it performs a deep reload; and it exposes a /api/plugin-refresh status interface. It is suitable for scenarios such as reinstalling dependencies with the same name, modifying code after the first import failure, and hot-updating plugins within node_modules. The installation command is dsh plugin --profile desktop add github:lixiaohao001/dsh_plugin_refresh, requiring Node ^22.19.0 or >=24 and a DSH 0.2.0-rc.2 peer range.
Read More