Skip to content

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

fix(chat): keep clipboard file paste wired to the composer

Tioit-Wangac6fcc28ae81
diff --git a/apps/desktop/src/components/Composer.tsx b/apps/desktop/src/components/Composer.tsx
index 026378e53..64708b09d 100644
--- a/apps/desktop/src/components/Composer.tsx
+++ b/apps/desktop/src/components/Composer.tsx
@@ -567,6 +567,7 @@ export function Composer({
enterToSend={enterToSend}
runActive={runActive}
composerAc={completions.ac}
+ onPaste={pasteClipboardFiles}
onAcceptCompletion={completions.acceptCompletion}
onSubmit={(steering) => void submit(steering)}
onInsertNewline={insertNewlineInEditor}