fix: avoid CLI startup warmup leaks

This commit is contained in:
Peter Steinberger
2026-04-26 10:40:58 +01:00
parent 64af2feda0
commit 4bc5e183ef
6 changed files with 49 additions and 3 deletions

View File

@@ -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: {