Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
test(desktop): image-designated models are chat-ready in the Composer
koeriaae58a722067b
diff --git a/apps/desktop/test/native-pi-sessions.test.mjs b/apps/desktop/test/native-pi-sessions.test.mjsindex 33052ed0e..2b2d6546c 100644--- a/apps/desktop/test/native-pi-sessions.test.mjs+++ b/apps/desktop/test/native-pi-sessions.test.mjs@@ -172,7 +172,9 @@ test("native model readiness never depends on a Desktop provider but read-only fassert.equal(ready(false, {}, { enabled: true, hasSecret: true }, "model"), true);const settings = { imageGeneration: { providerId: "images", modelId: "model" } };const imageProvider = { id: "images", enabled: true, hasSecret: true };- assert.equal(ready(false, {}, imageProvider, "model", settings), false);+ // An image-generation designation no longer blocks chat readiness: the+ // image binding is independent of the conversation route.+ assert.equal(ready(false, {}, imageProvider, "model", settings), true);assert.equal(ready(false, {}, { ...imageProvider, id: "chat" }, "model", settings), true);assert.equal(ready(false, {}, imageProvider, "other-model", settings), true);assert.equal(ready(true, { capabilities: { canPrompt: true } }, imageProvider, "model", settings), true);