chore: fix lint after rebase

This commit is contained in:
Peter Steinberger
2026-01-12 22:08:49 +00:00
parent 0a24bc0427
commit d3eeddfc2f
2 changed files with 5 additions and 3 deletions

View File

@@ -430,7 +430,7 @@ function wrapSandboxPathGuard(tool: AnyAgentTool, root: string): AnyAgentTool {
}
type RequiredParamGroup = {
keys: string[];
keys: readonly string[];
allowEmpty?: boolean;
label?: string;
};

View File

@@ -124,7 +124,7 @@ describe("voice-call plugin", () => {
action: "get_status",
callId: "call-1",
});
expect(result.details.found).toBe(true);
expect((result.details as { found?: boolean }).found).toBe(true);
});
it("legacy tool status without sid returns error payload", async () => {
@@ -141,7 +141,9 @@ describe("voice-call plugin", () => {
};
const tool = tools[0] as VoiceTool;
const result = await tool.execute("id", { mode: "status" });
expect(String(result.details.error)).toContain("sid required");
expect(String((result.details as { error?: unknown }).error)).toContain(
"sid required",
);
});
it("CLI start prints JSON", async () => {