Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
fix(plugins): expose the npm-unavailable reason to the renderer
vastsa988a59e6ee5d
diff --git a/apps/desktop/src/lib/api.ts b/apps/desktop/src/lib/api.tsindex e89dda843..9082c203a 100644--- a/apps/desktop/src/lib/api.ts+++ b/apps/desktop/src/lib/api.ts@@ -1164,7 +1164,7 @@ export const api = {dependencies:| { state: "skipped"; reason: "no-package-json" | "no-dependencies" }| { state: "installed" }- | { state: "failed"; error: string };+ | { state: "failed"; error: string; reason?: "npm-unavailable" };}>(IPC.invoke.pluginImportExtension),runExtensionCommand: (input: { sessionId: string; name: string; args: string }) =>