mirror of
https://github.com/cline/cline.git
synced 2026-10-29 17:42:34 +08:00
* desktop: paste clipboard images into the composer as attachments (CLIENTS-78) Pasting a screenshot into the composer did nothing: only drag-and-drop and the paperclip file picker fed the attachment pipeline. Add an onPaste handler on the composer textarea that extracts image files from the clipboard, renames them to timestamped pasted-image-*.png files, and routes them through the existing onAttachFiles flow. Text pastes are untouched. * desktop: only extract clipboard images in formats message serialization supports Co-authored-by: Saoud Rizwan <saoudrizwan@users.noreply.github.com> --------- Co-authored-by: Saoud Rizwan <saoudrizwan@users.noreply.github.com>