Agent InfrastructureAutomated release watch

ai@7.0.170

Vercel AI SDK 7.0.170 fixes excessive CPU usage during array streaming and resolves transport leak issues when cancelling or disposing chats.

Human read

Why this signal matters

Vercel AI SDK release ai@7.0.170 introduces two key patch changes: first, it fixes excessive CPU consumption during long array streaming with Output.array or streamObject by incrementally parsing and validating only completed elements rather than reprocessing the entire accumulated array on every chunk. Second, it cancels pending send-now operations when stop or dispose is invoked, preventing abandoned chat queues and history from being inadvertently routed through a replacement transport. It also updates dependency @ai-sdk/gateway to 4.0.143.

Agent parse

Actionable summary

ai@7.0.170 resolves a high CPU consumption issue in Output.array and streamObject via incremental parsing of completed elements, and prevents message leakage across transports by cancelling pending send-now operations on stop or dispose.

Agent usefulness
77/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Upgrade to ai@7.0.170 if experiencing high CPU utilization when streaming large arrays with Output.array or streamObject.
  • Update if managing chat lifecycles where stop or dispose could overlap with pending send-now operations.
Classification

Tags and routing

vercelai-sdktypescript
Related signals

Continue the thread