Agent InfrastructureAutomated release watch

ai@5.0.289

Vercel AI SDK 5.0.289 resolves high CPU usage during streamObject array streaming by validating array elements incrementally.

Human read

Why this signal matters

In release ai@5.0.289, a patch (bdbf015) was applied to correct excessive CPU consumption when streaming long arrays with streamObject array output. The fix switches the parser behavior to evaluate and validate completed elements incrementally instead of processing the entire accumulated array on every incoming text chunk. The release also updates dependencies including @ai-sdk/gateway@2.0.180.

Agent parse

Actionable summary

ai@5.0.289 optimizes streamObject array output CPU usage by parsing and validating completed elements incrementally rather than re-evaluating the full accumulated array on each chunk.

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

What builders should check

  • Upgrade the ai package to version 5.0.289 if encountering performance bottlenecks or high CPU usage when using streamObject with large array outputs.
Classification

Tags and routing

vercelai-sdktypescript
Related signals

Continue the thread