Skip to content

[codex] Add clipboard paste uploads#5

Merged
firewalker06 merged 1 commit into
mainfrom
clipboard-upload-from-paste
May 30, 2026
Merged

[codex] Add clipboard paste uploads#5
firewalker06 merged 1 commit into
mainfrom
clipboard-upload-from-paste

Conversation

@firewalker06
Copy link
Copy Markdown
Owner

Summary

  • Add Remote UI paste handling for clipboard-provided files/images in the agent composer and inquiry form.
  • Synthesize safe filenames for nameless clipboard blobs before routing them through the existing pending attachment pipeline.
  • Add Remote UI asset regression assertions for the clipboard attachment path.

Impact

Users can paste copied screenshots/images, and browser-exposed copied files, directly into the Remote UI composer instead of opening the file picker. Text-only paste continues to behave normally.

Validation

  • bundle exec ruby test/remote_server_test.rb
  • bin/test
  • node --check lib/hq/remote_ui/assets/app.js
  • Temporary Remote UI browser verification with Playwright + system Chrome: pasted PNG became a pending attachment, sent with the prompt, cleared from the composer, and rendered in the chat attachment row.

@firewalker06 firewalker06 marked this pull request as ready for review May 30, 2026 12:55
@firewalker06 firewalker06 merged commit 404639e into main May 30, 2026
4 checks passed
@firewalker06 firewalker06 deleted the clipboard-upload-from-paste branch May 31, 2026 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant