feat(widget): send multiple files per multimodal message - #980
bsreenivas11 wants to merge 4 commits into
Conversation
Dual-send file + files so older backends still receive the first attachment. Co-authored-by: Cursor <cursoragent@cursor.com>
Pending attachments are now an array and go out as fileIds. Co-authored-by: Cursor <cursoragent@cursor.com>
PR SummaryMedium Risk Overview
Transcript and display types move from Reviewed by Cursor Bugbot for commit 7e9dcf2. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a8764e7. Configure here.
| fileInput?: TranscriptFileInput | null; | ||
| fileInputs?: TranscriptFileInput[] | null; |
There was a problem hiding this comment.
We should be able to remove fileInput and just have fileInputs here since this type isn't exported from the package.
| fileInput?: TranscriptFileInput | null; | ||
| fileInputs?: TranscriptFileInput[] | null; |
There was a problem hiding this comment.
Same here, let's see if we can remove fileInput in favor of just fileInputs
giannagerton
left a comment
There was a problem hiding this comment.
LGTM just a few comments to look at before merging
Co-authored-by: Cursor <cursoragent@cursor.com>

Summary
useFileUploadholdsPendingFile[]and the attach input ismultiple.fileIdsand renders N pending chips / transcript attachments.fileIdsPR (bharath/multi-file-upload-client).Written by Cursor Grok 4.6, using Cursor
Test plan
maxFiles