- ChatMessage: files prop, renders ChatFilePreview for each attached file - ChatMessageList: passes files prop through to ChatMessage - ChatPanel: wires useChatFileUpload, passes pendingFiles/onRemoveFile/onFilesPicked to ChatInput - ChatPanel handleSend: attaches uploaded files to message after creation, invalidates query - chatApi: adds attachFilesToMessage (parallel PATCH /files/:fileId for each fileId) - server/chat.ts: listMessages fetches chatFiles by messageId (inArray), attaches files array - server/chat.ts: addMessage returns files: [] for consistency |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| components.json | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
@paperclipai/ui
Published static assets for the Paperclip board UI.
What gets published
The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.
Typical use
Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.