Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(desktop): update skill state launch fixtures

vastsa092958a53d27
diff --git a/apps/desktop/test/custom-system-prompt-launch.test.mjs b/apps/desktop/test/custom-system-prompt-launch.test.mjs
index 8bf3f5dbd..75073191b 100644
--- a/apps/desktop/test/custom-system-prompt-launch.test.mjs
+++ b/apps/desktop/test/custom-system-prompt-launch.test.mjs
@@ -35,6 +35,7 @@ function launchRuntime() {
if (method === "providers.list") return { providers: [provider] };
if (method === "providers.getSecret") return {};
if (method === "agents.active") return { subagents: [] };
+ if (method === "skills.disabledBuiltins") return { disabled: [] };
if (method === "skills.active") return { skills: [] };
if (method === "mcp.active") return { servers: [] };
if (method === "project.memory.get") return {};
diff --git a/apps/desktop/test/jev-session-launch.test.mjs b/apps/desktop/test/jev-session-launch.test.mjs
index d9f9ff089..55d96fd71 100644
--- a/apps/desktop/test/jev-session-launch.test.mjs
+++ b/apps/desktop/test/jev-session-launch.test.mjs
@@ -53,6 +53,7 @@ test("session launch resolves Jev credentials only for opted-in Agent mode", asy
}
if (method === "providers.list") return { providers: [provider] };
if (method === "providers.getSecret") return { value: "" };
+ if (method === "skills.disabledBuiltins") return { disabled: [] };
if (method === "skills.active") return { skills: [] };
if (method === "mcp.active") return { servers: [] };
if (method === "agents.active") return { subagents: [] };
diff --git a/apps/desktop/test/subagent-model-launch.test.mjs b/apps/desktop/test/subagent-model-launch.test.mjs
index bc247bcec..b45db6efb 100644
--- a/apps/desktop/test/subagent-model-launch.test.mjs
+++ b/apps/desktop/test/subagent-model-launch.test.mjs
@@ -31,6 +31,7 @@ test("launch resolves definition-only pins without granting Task.model selection
if (method === "providers.list") return { providers };
if (method === "providers.getSecret") return {};
if (method === "agents.active") return { subagents: [{ id: "reviewer", path }] };
+ if (method === "skills.disabledBuiltins") return { disabled: [] };
if (method === "skills.active") return { skills: [] };
if (method === "mcp.active") return { servers: [] };
if (method === "project.memory.get") return {};