mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 17:30:43 +00:00
fix: keep runtime deps repair out of hot paths
This commit is contained in:
@@ -162,6 +162,7 @@ describe("ensurePluginRegistryLoaded", () => {
|
||||
workspaceDir: "/resolved-workspace",
|
||||
onlyPluginIds: ["demo-channel"],
|
||||
throwOnLoadError: true,
|
||||
installBundledRuntimeDeps: false,
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
@@ -175,7 +175,7 @@ export function ensurePluginRegistryLoaded(options?: {
|
||||
},
|
||||
{
|
||||
throwOnLoadError: true,
|
||||
installBundledRuntimeDeps: options?.installBundledRuntimeDeps,
|
||||
installBundledRuntimeDeps: options?.installBundledRuntimeDeps ?? false,
|
||||
...(hasExplicitPluginIdScope(requestedPluginIds) ||
|
||||
shouldForwardChannelScope({ scope, scopedLoad }) ||
|
||||
hasNonEmptyPluginIdScope(expectedChannelPluginIds)
|
||||
|
||||
Reference in New Issue
Block a user