fix: scope voicecall CLI activation

This commit is contained in:
Peter Steinberger
2026-05-01 05:31:50 +01:00
parent 778902103d
commit 07bc320a8a
3 changed files with 13 additions and 1 deletions

View File

@@ -381,6 +381,15 @@ describe("bundled plugin metadata", () => {
);
});
it("scopes Voice Call CLI activation to the voicecall command", () => {
const entry = listRepoBundledPluginManifests().find(
({ manifest }) => manifest.id === "voice-call",
);
expect(entry?.manifest.commandAliases).toContainEqual({ name: "voicecall" });
expect(entry?.manifest.activation?.onCommands).toContain("voicecall");
});
it("keeps empty-config Gateway startup narrower than declared startup sidecars", () => {
const manifestRegistry = {
plugins: listRepoBundledPluginManifests().map(({ manifest, dirName }) => ({