After developing your plugin, the final step is to publish it to npm and enable it in the host system (Xpert AI).Documentation Index
Fetch the complete documentation index at: https://docs.xpertai.cn/llms.txt
Use this file to discover all available pages before exploring further.
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.