feat: on-demand plugin installation system#4559
Open
robertsLando wants to merge 1 commit intomasterfrom
Open
Conversation
Move plugins out of the app's node_modules into a dedicated .plugins directory under storeDir. npm plugins are auto-installed when settings are saved and resolved from the .plugins directory at load time. - Add PluginManager singleton for install/update/uninstall/resolve - Add PluginRegistry as single source of truth for known plugins - Add API endpoints for plugin update and uninstall - Replace hardcoded plugin list in Settings UI with registry-based dropdown - Add "Update Plugins" button in Settings - Update Dockerfiles to install plugins into store/.plugins - Remove @kvaster/zwavejs-prom from bundled dependencies - Add @ongit/zwavejsui-prom-exporter to plugin registry Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request Test Coverage Report for Build 22303969780Details
💛 - Coveralls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PluginManagersingleton that installs npm plugins on-demand intostoreDir/.plugins/when settings are saved, keeping plugins separate from the app's ownnode_modulesPluginRegistryas a single source of truth for known plugins, shared between backend and frontendstore/.pluginsinstead of appnode_modules@kvaster/zwavejs-promfrom bundled dependencies (now auto-installed on demand)@ongit/zwavejsui-prom-exporterto the plugin registryTest plan
@kvaster/zwavejs-prom, save settings — verify.pluginsdirectory is created under store withpackage.jsonandnode_modules--build-arg plugins="@kvaster/zwavejs-prom"installs intostore/.plugins🤖 Generated with Claude Code