mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:30:42 +00:00
fix(channels): keep lazy bundled discovery off staged deps
This commit is contained in:
@@ -551,7 +551,9 @@ function getBundledChannelPluginForRoot(
|
||||
loadContext.pluginLoadInProgressIds.add(id);
|
||||
try {
|
||||
const metadata = resolveBundledChannelMetadata(id, rootScope);
|
||||
const plugin = entry.loadChannelPlugin() as ChannelPlugin | undefined;
|
||||
const plugin = entry.loadChannelPlugin({ installRuntimeDeps: false }) as
|
||||
| ChannelPlugin
|
||||
| undefined;
|
||||
if (!plugin) {
|
||||
loadContext.lazyPluginsById.set(id, null);
|
||||
return undefined;
|
||||
@@ -671,7 +673,7 @@ function getBundledChannelSetupSecretsForRoot(
|
||||
}
|
||||
try {
|
||||
const secrets =
|
||||
entry.loadSetupSecrets?.() ??
|
||||
entry.loadSetupSecrets?.({ installRuntimeDeps: false }) ??
|
||||
getBundledChannelSetupPluginForRoot(id, rootScope, loadContext)?.secrets;
|
||||
loadContext.lazySetupSecretsById.set(id, secrets ?? null);
|
||||
return secrets;
|
||||
|
||||
Reference in New Issue
Block a user