Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

test(composer): fix Windows file-reference paste fixture

Tioit-Wangea0768a788b3
diff --git a/scripts/e2e-composer-paste.mjs b/scripts/e2e-composer-paste.mjs
index e14a9360d..7c4f069a2 100644
--- a/scripts/e2e-composer-paste.mjs
+++ b/scripts/e2e-composer-paste.mjs
@@ -118,7 +118,7 @@ ipcMain.handle("pi-desktop/composer/readClipboardDirectories", async (event) =>
? paths.map(source => pathToFileURL(source).href).join("\\r\\n") : "") };
const data = await readComposerClipboardDirectories(clipboard,
selected => rememberComposerPickerSelection(selected, event.sender.id),
- () => nativeClipboardPaths(clipboard, "linux"));
+ () => paths);
return { ok: true, data };
}
if (!directoryPastePending) return { ok: true, data: null };