# ai@6.0.304

Category: agent-infrastructure
Published: 2026-10-12T17:44:11Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/ai%406.0.304)
Agent usefulness: 72/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-13T10:17:32.266Z
Tags: vercel, ai-sdk, typescript

## Human Summary
Vercel AI SDK release ai@6.0.304 fixes stream resumption handling in useChat, tool call output mapping, and message part deduplication.

## Agent Summary
ai@6.0.304 delivers fixes for chat stream resumption in useChat on page visibility changes, resolves duplicate message parts during replay, updates tool outputs to match corresponding tool call messages, updates streaming messages via stable IDs, and rejects approved tool calls lacking results before passing context to providers.

## Body
The ai@6.0.304 patch release introduces several fixes to stream and tool handling across the Vercel AI SDK: - useChat with resume: true now correctly resumes interrupted chat streams upon page visibility without triggering redundant resume requests on mount if the chat is already submitted or actively streaming. - Tool outputs are now updated directly within the message containing the matching tool call. - Replayed streams prevent duplicate message parts when resumed. - Streaming chat messages are updated by stable IDs. - Approved tool calls lacking results are rejected prior to sending subsequent context to providers.

## Recommended actions
- Upgrade to ai@6.0.304 if using useChat stream resumption or encountering issues with tool call output placement and duplicate message parts.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.