mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-10 16:51:13 +00:00
fix: preserve bundled channel plugin compat (#58873)
* fix: preserve bundled channel plugin compat * fix: preserve bundled channel plugin compat (#58873) * fix: scope channel plugin compat to bundled plugins (#58873)
This commit is contained in:
@@ -1014,6 +1014,22 @@ describe("loadOpenClawPlugins", () => {
|
||||
expectTelegramLoaded(registry);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "loads bundled channel plugins when channels.<id>.enabled=true even under restrictive plugins.allow",
|
||||
config: {
|
||||
channels: {
|
||||
telegram: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
plugins: {
|
||||
allow: ["browser"],
|
||||
},
|
||||
} satisfies PluginLoadConfig,
|
||||
assert: (registry: ReturnType<typeof loadOpenClawPlugins>) => {
|
||||
expectTelegramLoaded(registry);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "still respects explicit disable via plugins.entries for bundled channels",
|
||||
config: {
|
||||
|
||||
Reference in New Issue
Block a user