test(acp): type agent override map

This commit is contained in:
Peter Steinberger
2026-04-05 15:15:40 +01:00
parent 69466cec2f
commit 8e51207626

View File

@@ -371,13 +371,13 @@ describeLive("gateway live (ACP bind)", () => {
const cfg = loadConfig();
const acpxEntry = cfg.plugins?.entries?.acpx;
const existingAgentOverrides =
const existingAgentOverrides: Record<string, { command?: string }> =
typeof acpxEntry?.config === "object" &&
acpxEntry.config &&
typeof acpxEntry.config.agents === "object" &&
acpxEntry.config.agents
? acpxEntry.config.agents
: undefined;
? (acpxEntry.config.agents as Record<string, { command?: string }>)
: {};
const nextCfg = {
...cfg,
gateway: {