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): assert lazy plugin launcher surface
vastsab0277fe70c50
diff --git a/apps/desktop/test/plugin-launcher-window.test.mjs b/apps/desktop/test/plugin-launcher-window.test.mjsindex 5d74e5789..be9dcbd9d 100644--- a/apps/desktop/test/plugin-launcher-window.test.mjs+++ b/apps/desktop/test/plugin-launcher-window.test.mjs@@ -50,7 +50,14 @@ test("launcher never turns the app into a macOS accessory process", () => {});test("launcher renderer supports keyboard selection and has no window controls", () => {- assert.match(renderer, /rendererSurface === "plugin-launcher" \? <PluginLauncher \/>/);+ assert.match(+ renderer,+ /const PluginLauncher = React\.lazy\(\(\) =>\s*import\("\.\/components\/PluginLauncher"\)\.then\(\(module\) => \(\{\s*default: module\.PluginLauncher,/,+ );+ assert.match(+ renderer,+ /rendererSurface === "plugin-launcher" \? \([\s\S]*?<ErrorBoundary>\s*<PluginLauncher \/>/,+ );assert.match(launcher, /event\.nativeEvent\.isComposing/);assert.match(launcher, /event\.key === "ArrowDown" \|\| event\.key === "ArrowUp"/);assert.match(launcher, /event\.key === "Enter"/);