Publish Plugin
Run the following commands in the monorepo root directory:Use Plugin
In the Xpert AI host system, declare the list of enabled plugins using thePLUGINS environment variable. Separate multiple plugins with commas:
PLUGINS environment variable and load these plugins in order.
Notes:
- The host project should install the plugin packages via npm/yarn/pnpm (
npm install @xpert-ai/my-plugin) and configure the plugin list in the environment variable. - The plugin’s
meta.namemust match the npm package name. - If a plugin fails to load correctly, check the logs for
registeroronPluginBootstrapoutput. - After starting the Xpert AI system, you can view the loaded plugins on the system settings Plugins page.