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(tests): load URL module in certificate probe banner
vastsafb21f71c2c5d
diff --git a/scripts/e2e-provider-certificates.mjs b/scripts/e2e-provider-certificates.mjsindex 03ab4fcac..f7ffe8955 100644--- a/scripts/e2e-provider-certificates.mjs+++ b/scripts/e2e-provider-certificates.mjs@@ -69,7 +69,7 @@ process.stdout.write(JSON.stringify({jsonrpc:'2.0',method:'test.trust',params:{s// them from `node:path` / `node:url` themselves, and a same-scope redeclare// is a syntax error. `__dirname` therefore resolves through the injected// `createRequire` as well - `.pathname` is not a usable path on Windows.- banner: { js: "import { createRequire as __piCreateRequire } from 'node:module'; const require = __piCreateRequire(import.meta.url); const __dirname = __piCreateRequire('node:url').fileURLToPath(new URL('.', import.meta.url));" },+ banner: { js: "import { createRequire as __piCreateRequire } from 'node:module'; const require = __piCreateRequire(import.meta.url); const __dirname = require('node:url').fileURLToPath(new URL('.', import.meta.url));" },});await run("localhost", "DEPTH_ZERO_SELF_SIGNED_CERT", false);await run("localhost", "success", true);