@flue/runtime
2.3.1 · 18 Nov 2026Apache-2.0524.4k / weekRepositoryHomepagenpmAtom feed
2.3.1 is the newest release of 2.x.
In short
13 fixed
Release note
Patch Changes
Fix Cloudflare sandbox directory listings collapsing into a single entry —
readdirresults are now correctly separated.Cloudflare traces now carry submission, operation, and turn identifiers on agent, task, model, tool, and shell spans, so trace fragments can be correlated across durable invocations.
Telemetry now marks model requests whose context includes a compaction summary, so compacted turns are distinguishable from ordinary ones.
Fix Workers AI conversations stalling on tool-call-only turns —
nullor missing assistant content is treated as an absent text delta, and malformed non-string content is rejected with a clear error instead of being silently dropped.Terminal telemetry for persisted submissions now includes the agent's output text, matching what direct prompts report.
Installed packages once again include the bundled Flue documentation, so commands such as
flue docs read guide/sandboxeswork out of the box.Restore compatibility for Cloudflare Anthropic gateway models — completions through
anthropic-gatewaycontinue to work with the full catalog of model options.Fix infinite recursion when a harness tool invokes another harness tool, directly or indirectly. Parallel tool calls remain independent, and unrelated tools sharing a public name are still allowed.
Fix lost tool results when a submission is aborted mid-batch: completed tool calls keep their stored outcomes, and unexecuted calls are recorded as interrupted instead of being dropped.
Fix submissions failing when a model length limit truncates a tool call batch — truncated batches now resume cleanly with their outcomes reconstructed instead of erroring out.
Fix conversations erroring with
Cannot continue from message role: assistantafter context compaction. A completed response is now preserved through overflow compaction, so the next turn continues normally; only genuine provider overflow errors trigger a retry.Sessions that end through a terminating tool now compact their context as expected, so the next turn starts from a manageable context instead of continuing to grow.
Tools without an output schema can now return union-shaped results — inferred branch unions, optional object properties, readonly arrays, and explicit
undefined— and still typecheck, matching what the runtime actually serializes.
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.