Skip to content

Harden agent attachment drops#32

Merged
udaychandra merged 1 commit into
mainfrom
feat/chorus-thread-attachment-drag-drop
May 5, 2026
Merged

Harden agent attachment drops#32
udaychandra merged 1 commit into
mainfrom
feat/chorus-thread-attachment-drag-drop

Conversation

@udaychandra

Copy link
Copy Markdown
Contributor

Summary

  • Keep existing Mast agent thread image/PDF drop support, but make image-looking files validate at the attachment boundary instead of silently falling back to file mentions.
  • Apply the existing 25 MB external attachment limit to known raster image attachments.
  • Surface invalid and oversized image attachment errors through workspace notifications while preserving normal text/code file drop behavior.

Verification

  • cargo fmt --all -- --check
  • cargo check -p agent_ui
  • cargo test -p agent_ui external_image
  • cargo test -p agent_ui test_paste_external_pdf_path_inserts_blob_mention

Release Notes:

  • Improved Mast agent thread attachment handling for dragged or pasted image/PDF files.

@udaychandra udaychandra merged commit aad8298 into main May 5, 2026
2 checks passed
@udaychandra udaychandra deleted the feat/chorus-thread-attachment-drag-drop branch May 7, 2026 00:48
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