@flue/react
2.3.1 · 18 Nov 2026Apache-2.0187.9k / weekRepositoryHomepagenpmAtom feed
2.3.1 is the newest release of 2.x.
In short
1 new1 internal
Release note
Minor Changes
Support document attachments (PDFs) on user messages.
DeliveredAttachmentis now a union of image and document attachments —{ type: 'document', data, mimeType: 'application/pdf', filename? }— accepted ondispatch(), theinit()handle, and direct HTTP prompts.session.prompt(),skill(), andtask()gain adocumentsoption alongsideimages, and@flue/react'ssendMessage()gains adocumentsoption. Documents are forwarded to the model as native document content: Anthropicdocumentblocks, OpenAI (and Azure OpenAI) Responsesinput_fileparts, and GoogleinlineData. On other model APIs the document is replaced in model context with a text placeholder saying it was omitted. Documents are stored like images — as canonical attachments projected asfileparts withmediaType: 'application/pdf'— so existing conversations and persistence adapters need no migration. The SDK also exportsDeliveredImageAttachmentandDeliveredDocumentAttachment.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.