mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 12:30:43 +00:00
fix: scope voicecall CLI activation
This commit is contained in:
@@ -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 }) => ({
|
||||
|
||||
Reference in New Issue
Block a user