mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-11-02 07:13:02 +00:00
- Add paperclip button to ChatInput (both stacked and inline variants) - File picker accepts images (jpeg/png/gif/webp) and PDFs up to 10MB - Attachments are converted to FileUIPart (data URLs) via FileReader - Preview chips shown in input: thumbnails for images, filename for PDFs - Remove-chip button on hover - handleSend forwards FileUIPart[] to sendMessage via AI SDK - UserMessage renders image thumbnails and PDF file chips inline - canSend allows sending with attachments even when text is empty |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| hooks | ||
| lib | ||
| public | ||
| stores | ||
| .env.example | ||
| .gitignore | ||
| biome.json | ||
| components.json | ||
| globals.css | ||
| instrumentation-client.ts | ||
| middleware.ts | ||
| next.config.ts | ||
| open-next.config.ts | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
| wrangler.jsonc | ||