From 542b56a37c8e2dfe5f3b781b7a3f58a7457540ad Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 Feb 2026 14:59:38 +0000 Subject: [PATCH] fix(config): preserve explicit channel enabled state for plugin auto-enable --- src/config/plugin-auto-enable.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config/plugin-auto-enable.ts b/src/config/plugin-auto-enable.ts index eccb6f980ed..baf19826b1f 100644 --- a/src/config/plugin-auto-enable.ts +++ b/src/config/plugin-auto-enable.ts @@ -437,7 +437,6 @@ function registerPluginEntry(cfg: OpenClawConfig, pluginId: string): OpenClawCon ...cfg.channels, [builtInChannelId]: { ...existingRecord, - enabled: true, }, }, }; @@ -515,7 +514,7 @@ export function applyPluginAutoEnable(params: { ) { return false; } - return (channelConfig as { enabled?: unknown }).enabled === true; + return (channelConfig as { enabled?: unknown }).enabled !== false; })() : next.plugins?.entries?.[entry.pluginId]?.enabled === true; if (alreadyEnabled && !allowMissing) {