feat: Add clipboard image support and attachment UI to CLI#1612
Merged
Conversation
Contributor
📋 Review SummaryThis PR adds clipboard image capture support across platforms (macOS, Windows, Linux) and introduces an attachment UI in the CLI with keyboard-driven management. The implementation is well-structured with proper cross-platform support and includes comprehensive tests. 🔍 General Feedback
🎯 Specific Feedback🟡 High
🟢 Medium
🔵 Low
✅ Highlights
|
Contributor
Code Coverage Summary
CLI Package - Full Text ReportCore Package - Full Text ReportFor detailed HTML reports, please see the 'coverage-reports-22.x-ubuntu-latest' artifact from the main CI run. |
8 tasks
tanzhenxin
reviewed
Jan 29, 2026
tanzhenxin
left a comment
Collaborator
There was a problem hiding this comment.
Need manual test screenshots across various platforms, including Windows, MacOS and Linux.
Closed
Collaborator
|
Potential distribution issue for inline native binary, need better solution. |
606dce0 to
c829730
Compare
Closed
xaelistic
pushed a commit
to xaelistic/qwen-code
that referenced
this pull request
Jun 7, 2026
feat: Add clipboard image support and attachment UI to CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TLDR
clipboardtemp directory and clean up old files safely.Dive Deeper
This change extends the clipboard image handling so that images can be captured from the system clipboard across platforms and stored under a
clipboardtemp directory. The cleanup logic now supports more image extensions and uses access time to avoid deleting recently used files.On the CLI side, the input prompt shows a list of current attachments and introduces an "attachment mode" that allows users to navigate between attachments with the keyboard, delete them, and exit back to the normal input flow. Localized helper hints are added for all supported locales.
Reviewer Test Plan
feat/image-attachmentbranch and build the project.clipboardtemp directory with the expected extension.Testing Matrix
Linked issues / bugs