Packages

@flue/react

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

Your version

2.1.1

23 Sep 2026Where it was published

2.3.1 is the newest release of 2.x.

In short

2 fixed1 internal

Release note

Patch Changes

  • Clarify useFlueAgent's status contract to match the reducer's actual aggregate behavior. status reflects the observed conversation's activity — including submissions admitted out-of-band (webhooks, dispatches, other clients) — combined with the hook's in-memory local admission recollection. The README now documents the full precedence order (failed-local-settlement error → streaming text → submitted → active/recollected submission streaming → retained-failed-send error → idle) and notes that a locally-admitted submission that has not yet settled keeps streaming across empty or absent observations until it settles. The reload fix covers submissions already represented by conversation messages; a submission admitted but not yet materialized into a message at reload time is documented as a residual window.

  • Keep useFlueAgent's status at streaming after a reload for an unsettled submission. The reducer now derives active (unsettled) submission ids from the observed conversation — message submissionIds minus settled ids — instead of relying only on the in-memory admission receipt, which does not survive a reload. Previously a fresh hook would report idle for an admitted-but-silent prompt or a running tool call until the next assistant text part streamed.

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.