Files
CodeNomad/tasks/todo/025-image-clipboard-support.md
Shantur Rathore b06b8104a5 Add task specifications for Phase 5 advanced input features
- 015-keyboard-shortcuts.md (completed)
- 020-command-palette.md (completed)
- 021-file-attachments.md (next: @mentions, drag-drop, chips)
- 022-long-paste-handling.md (summarize long pastes)
- 023-symbol-attachments.md (LSP integration)
- 024-agent-attachments.md (agent context)
- 025-image-clipboard-support.md (image handling)
2025-10-23 21:40:19 +01:00

823 B

title, description
title description
Image Clipboard Support pasting images from the clipboard.

Implement Image Clipboard Support


Detect Image Paste

Detect when image data is present in the system clipboard during a paste event.

Prioritize image data over text data if both are present.


Create Image Attachment

Automatically create an image attachment from the pasted image data. Convert the image to a base64 encoded format for internal handling and submission.

Display the image attachment as a chip in the input area.


Acceptance Criteria

  • Pasting an image from the clipboard creates an image attachment chip.
  • The image data is base64 encoded and associated with the attachment.
  • The attachment chip has a suitable display name (e.g., [Image #1]).
  • Users can clear the image attachment.