Packages

@flue/runtime

2.3.1 · 18 Nov 2026Apache-2.0524.4k / weekRepositoryHomepagenpmAtom feed

Upgrading @flue/runtime From 2.1.1 to 2.2.0

1 release in betweenevery note read

Other targets from 2.1.1Newest 2.x, Latest2.3.1
  1. 2.1.1yours
  2. 2.2.0target
  3. 2 pre
0
changes to make
0
advisories fixed
4
new
1
fix

Release by release

  1. 2.2.0

    28 Sep 20264 new · 1 fix
    • New

      Add bounded conversation history reads so long-running chats no longer transfer the whole transcript on every page load or reconnect.

    • New

      Support document attachments (PDFs) on user messages. DeliveredAttachment is now a union of image and document attachments — { type: 'document', data, mimeType: 'application/pdf', filename? } — accepted on dispatch(), the init() handle, and direct HTTP prompts. session.prompt(), skill(), and task() gain a documents option alongside images, and @flue/react's sendMessage() gains a documents option. Documents are forwarded to the model as native document content: Anthropic document blocks, OpenAI (and Azure OpenAI) Responses input_file parts, and Google inlineData. 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 as file parts with mediaType: 'application/pdf' — so existing conversations and persistence adapters need no migration. The SDK also exports DeliveredImageAttachment and DeliveredDocumentAttachment.

    • New

      Conversation messages now carry a server-authored timestamp (ISO 8601 capture time of the underlying durable record) in history(), observe(), and useFlueAgent. It works for every role and for existing conversations. metadata remains entirely agent-authored. Conversation settlements carry the same timestamp for when the submission settled.

    • New

      Adds support for GPT-6 Sol, GPT-6 Luna, and Claude Opus 5.5. Flue now uses Pi 0.87.1, so you can pass these models to useModel() without extra configuration. The model list at https://flueframework.com/models.json also includes them now. There are no public API changes.

    • Fixed

      Fix Cloudflare-routed Anthropic models (cloudflare/anthropic/*) failing with betas: Extra inputs are not permitted whenever the agent had tools. Anthropic beta features are now sent in the anthropic-beta request header instead of the request body.

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.