mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 00:10:43 +00:00
fix: avoid CLI startup warmup leaks
This commit is contained in:
@@ -42,6 +42,16 @@ describe("activation planner", () => {
|
||||
hooks: [],
|
||||
origin: "bundled",
|
||||
},
|
||||
{
|
||||
id: "browser",
|
||||
commandAliases: [{ name: "browser" }],
|
||||
providers: [],
|
||||
channels: [],
|
||||
cliBackends: [],
|
||||
skills: [],
|
||||
hooks: [],
|
||||
origin: "bundled",
|
||||
},
|
||||
{
|
||||
id: "openai",
|
||||
providers: ["openai"],
|
||||
@@ -88,6 +98,15 @@ describe("activation planner", () => {
|
||||
}),
|
||||
).toEqual(["memory-core"]);
|
||||
|
||||
expect(
|
||||
resolveManifestActivationPluginIds({
|
||||
trigger: {
|
||||
kind: "command",
|
||||
command: "browser",
|
||||
},
|
||||
}),
|
||||
).toEqual(["browser"]);
|
||||
|
||||
expect(
|
||||
resolveManifestActivationPluginIds({
|
||||
trigger: {
|
||||
|
||||
Reference in New Issue
Block a user