mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:00:42 +00:00
fix: copy lookup startup plugin ids for gateway load
This commit is contained in:
@@ -477,14 +477,14 @@ export function loadGatewayPlugins(params: {
|
||||
env: process.env,
|
||||
});
|
||||
const resolvedConfig = autoEnabled.config;
|
||||
const pluginIds =
|
||||
params.pluginIds ??
|
||||
loadPluginLookUpTable({
|
||||
const pluginIds = params.pluginIds ?? [
|
||||
...loadPluginLookUpTable({
|
||||
config: resolvedConfig,
|
||||
activationSourceConfig: params.activationSourceConfig,
|
||||
workspaceDir: params.workspaceDir,
|
||||
env: process.env,
|
||||
}).startup.pluginIds;
|
||||
}).startup.pluginIds,
|
||||
];
|
||||
if (pluginIds.length === 0) {
|
||||
const pluginRegistry = createEmptyPluginRegistry();
|
||||
setActivePluginRegistry(pluginRegistry, undefined, "gateway-bindable", params.workspaceDir);
|
||||
|
||||
Reference in New Issue
Block a user