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(plugins): count modal portal call sites
vastsa0360c3c6251d
diff --git a/apps/desktop/test/settings-dialog-overlay.test.mjs b/apps/desktop/test/settings-dialog-overlay.test.mjsindex ad876e8b6..a82825d8c 100644--- a/apps/desktop/test/settings-dialog-overlay.test.mjs+++ b/apps/desktop/test/settings-dialog-overlay.test.mjs@@ -76,7 +76,7 @@ test("settings overlays mount on a viewport-fixed host outside the app shell", aconst pluginDialogs = await read("../src/features/plugins/PluginDialogs.tsx");assert.equal(- pluginDialogs.match(/pluginModalPortal\(/g)?.length,+ pluginDialogs.match(/(?<!function )pluginModalPortal\(/g)?.length,3,"each route-owned plugin modal must mount through pluginModalPortal",);