ai
7.0.176 · 17 Nov 2026Apache-2.048.6M / weekRepositoryHomepagenpmAtom feed
6.0.333 is the newest release of 6.x.
In short
8 fixed1 internal
Release note
Patch Changes
ui: Export
isDynamicToolUIPartfromaipackageconvertToModelMessagesno longer emits an empty assistant message when a block contains only unknown data parts (e.g. a data part beforestep-startwith noconvertDataPartprovided)ai: Enforce
timeout.stepMsfor the whole step instreamTextPreviously
streamText's step timer was cleared synchronously right after the step's stream was registered, before the stream produced anything, sostepMsnever aborted a step that stalled before emitting content. The step timer now survives until the step's stream finishes or aborts, matchinggenerateText.chunkMs/totalMsand normal step-finish cleanup are unchanged.Return validated elements from generateText array output
ai: Include tool input on tool result for provider executed dynamic tools
More precise default message for tool execution denial
Preserve signed tool approval metadata when recording approval responses.
ai: Tag step/chunk timeout aborts with
TimeoutErrorreasonWhen
timeout: { stepMs }ortimeout: { chunkMs }fires, the abort reason is now aTimeoutErrorDOMException, matching whatAbortSignal.timeout()produces natively. Consumers can distinguish a framework timeout from a user-initiated cancel viasignal.reason.name === 'TimeoutError'.
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.