Vercel has updated its AI SDK, with releases for @ai-sdk/voyage@2.0.30, @ai-sdk/workflow@2.0.9, @ai-sdk/vue@4.0.79, and @ai-sdk/xai@4.0.44. These updates include new features and dependency changes across several packages.
Key Points
- The
@ai-sdk/harness-cursor@1.0.0package now implements a Cursor harness adapter. - A new
fxharness adapter has been implemented in@ai-sdk/harness-fx@1.0.0. - Batch completion webhooks have been added, allowing
experimental_startTextBatchto accept a webhook. - The AI SDK now preserves active text and reasoning parts when a merged UI message stream finishes a step.
- Workflow stream normalization has been aligned with explicit part end chunks.
- Dependencies for
@ai-sdk/harness-acp@1.0.25,@ai-sdk/harness@1.0.87, and@ai-sdk/provider-utils@5.0.30have been updated.
Context
According to the Vercel AI SDK Changelog, these updates were managed through the Changesets release GitHub action. This process allows for packages to be published to npm automatically upon merging the release PR. The updates reflect ongoing development in the AI SDK ecosystem.
Why It Matters
These updates introduce new capabilities for developers using the Vercel AI SDK, particularly in how they can integrate and manage AI-driven workflows. The addition of harness adapters and batch completion webhooks offers more flexibility and control over AI model interactions and data processing.
What To Do
- Review the updated documentation for
@ai-sdk/harness-cursorto understand the new adapter. - Investigate the
fxharness adapter in@ai-sdk/harness-fxfor potential new integration patterns. - Explore the new batch completion webhooks feature for
experimental_startTextBatchto enhance asynchronous processing. - Note the changes in UI message stream handling and workflow stream normalization for improved consistency.