ai
7.0.176 · 17 Nov 2026Apache-2.048.5M / weekRepositoryHomepagenpmAtom feed
7.0.181 is the newest release of 7.x.
In short
1 new2 fixed1 internal
Release note
The section about ai of a note shared by several packages.
Patch Changes
Expose provider metadata on language-model-call end callbacks and telemetry spans.
Fix (ai/gateway): make retried
doStartcalls idempotentgenerateVideoretriesdoStart, which creates a billable generation, so a
retry after a lost response could start a second one. It now mints one
idempotency token per logical start — outside the retry closure — and forwards it
as anidempotency-keyheader, so a provider that deduplicates (the Vercel AI
Gateway does) sees the same key on every attempt.GatewayVideoModelsimply
forwards the caller's headers rather than inferring retry identity from an
options object, which would collide across unrelated calls.Stop pending and active resumed chat streams after cancellation, and prevent
overlapping resumptions from applying stale updates.
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.