mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-28 01:21:36 +00:00
Plugins: extract provider runtime
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { resolveExtensionHostProviders } from "../extension-host/provider-runtime.js";
|
||||
import { createSubsystemLogger } from "../logging/subsystem.js";
|
||||
import { loadOpenClawPlugins, type PluginLoadOptions } from "./loader.js";
|
||||
import { createPluginLoaderLogger } from "./logger.js";
|
||||
@@ -82,8 +83,5 @@ export function resolvePluginProviders(params: {
|
||||
logger: createPluginLoaderLogger(log),
|
||||
});
|
||||
|
||||
return registry.providers.map((entry) => ({
|
||||
...entry.provider,
|
||||
pluginId: entry.pluginId,
|
||||
}));
|
||||
return resolveExtensionHostProviders({ registry });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user