fix: stage WhatsApp runtime deps before setup login

This commit is contained in:
Peter Steinberger
2026-04-24 17:04:26 +01:00
parent 7ba13fbc2b
commit f7a426d516
8 changed files with 143 additions and 8 deletions

View File

@@ -2441,7 +2441,9 @@ export function loadOpenClawPlugins(options: PluginLoadOptions = {}): PluginRegi
manifestRecord.setupSource
) {
const setupRegistration = resolveSetupChannelRegistration(mod, {
installRuntimeDeps: shouldInstallBundledRuntimeDeps && enableState.enabled,
installRuntimeDeps:
shouldInstallBundledRuntimeDeps &&
(enableState.enabled || forceSetupOnlyChannelPlugins),
});
if (setupRegistration.loadError) {
recordPluginError({