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(plugin-ui): allow the launcher payload dependency
Tioit-Wangd37c6fc8949c
diff --git a/apps/desktop/test/plugin-provider-catalog-ipc.test.mjs b/apps/desktop/test/plugin-provider-catalog-ipc.test.mjsindex b61f6d5ff..b5bff9e61 100644--- a/apps/desktop/test/plugin-provider-catalog-ipc.test.mjs+++ b/apps/desktop/test/plugin-provider-catalog-ipc.test.mjs@@ -5,6 +5,7 @@ import ts from "typescript";import { IPC } from "../../../packages/shared/src/protocol.ts";import { pluginProviderCatalogEntries } from "../electron/main/plugin-provider-catalog.ts";import { createSessionPushGate } from "../electron/main/plugin-session-push-gate.ts";+import { normalizeLauncherLaunch } from "../electron/main/ipc/plugin-launcher-ipc.ts";/** Load the real main-process registration function with unrelated hosts stubbed. */function loadPluginUiIpc({ gateFactory = () => () => ({ ignored: false }) } = {}) {@@ -30,6 +31,11 @@ function loadPluginUiIpc({ gateFactory = () => () => ({ ignored: false }) } = {}"../plugin-panel-host": {},"../plugin-provider-catalog": { pluginProviderCatalogEntries },"../plugin-session-push-gate": { createSessionPushGate: gateFactory },+ /**+ * The launcher's payload check is a pure function; load the real one rather+ * than a stub so the open-panel handler runs as shipped.+ */+ "./plugin-launcher-ipc": { normalizeLauncherLaunch },};new Function("require", "exports", "module", outputText)((id) => {