From 8a5f08ee1359a3576f947f148117f75d9b641f64 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 2 May 2026 02:28:31 +0100 Subject: [PATCH] test: complete bundled channel drift fixture --- src/config/plugin-auto-enable.prefer-over.test.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/config/plugin-auto-enable.prefer-over.test.ts b/src/config/plugin-auto-enable.prefer-over.test.ts index 75f4239b86d..d64564cda9e 100644 --- a/src/config/plugin-auto-enable.prefer-over.test.ts +++ b/src/config/plugin-auto-enable.prefer-over.test.ts @@ -41,6 +41,20 @@ function writeBundledChannelPackage(rootDir: string, channelId: string): void { }), "utf-8", ); + fs.writeFileSync( + path.join(pluginDir, "openclaw.plugin.json"), + JSON.stringify({ + id: channelId, + configSchema: { type: "object" }, + channels: [channelId], + }), + "utf-8", + ); + fs.writeFileSync( + path.join(pluginDir, "index.js"), + "export default { register() {} };\n", + "utf-8", + ); } const EMPTY_MANIFEST_REGISTRY: PluginManifestRegistry = {