moltbot plugins
管理网关插件/扩展(进程内加载)。相关:
命令
moltbot plugins list
moltbot plugins info <id>
moltbot plugins enable <id>
moltbot plugins disable <id>
moltbot plugins doctor
moltbot plugins update <id>
moltbot plugins update --all内置插件随 Moltbot 提供但默认禁用。使用 plugins enable 激活。所有插件必须提供带内联 JSON Schema(configSchema,可为空)的 moltbot.plugin.json。缺失或无效的清单/schema 会导致插件无法加载并导致配置校验失败。
安装
moltbot plugins install <path-or-spec>安全提示:将插件安装视为执行代码。建议使用固定版本。支持的归档:.zip、.tgz、.tar.gz、.tar。使用 --link 避免复制本地目录(会加入 plugins.load.paths):
moltbot plugins install -l ./my-plugin更新
moltbot plugins update <id>
moltbot plugins update --all
moltbot plugins update <id> --dry-run更新仅适用于从 npm 安装的插件(记录在 plugins.installs 中)。
最后更新于: