915aaef30bf5077f3ba3ae1827d60b16ebfdef3a
- lib/api.ts: add AttachmentData interface, uploadAttachment() function, and getAttachmentDownloadUrl() helper for upcoming /api/attachments endpoint - GeminiInput.tsx: wire + button to trigger file selection with upload state management (uploading/done/error), file preview chips above textarea with retry and remove controls, pass AttachmentData to parent on submit - GeminiMessage.tsx: add attachments field to Message interface, render attachment list (filename + size + download link) below both user and assistant message content - GeminiChat.tsx: accept AttachmentData[] in handleSend, store attachments on user messages for display Backend /api/attachments endpoints not yet live — frontend is ready for integration once backend agent completes the upload/download API. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Description
No description provided
14 MiB
Languages
TypeScript
89.2%
CSS
4.3%
Makefile
2.9%
JavaScript
2.5%
Dockerfile
0.5%
Other
0.6%