Skip to content

fix: support AI SDK 7 in react-headless - #982

Merged
AbhinRustagi merged 3 commits into
mainfrom
codex/support-ai-sdk-v7
Aug 14, 2026
Merged

fix: support AI SDK 7 in react-headless#982
AbhinRustagi merged 3 commits into
mainfrom
codex/support-ai-sdk-v7

Conversation

@vishxrad

@vishxrad vishxrad commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • allow @openuidev/react-headless consumers to use Vercel AI SDK 6 or 7
  • bump @openuidev/react-headless from 0.9.7 to 0.9.8
  • update the optional-peer error and integration docs for both supported majors

Why

@openuidev/assistant-ui already accepts AI SDK 7, but its transitive @openuidev/react-headless dependency only declared ai@^6. npm therefore rejects AI SDK 7 consumers with ERESOLVE, as reported in assistant-ui#5925.

Validation

  • AI SDK 6: react-headless build + 164 tests; assistant-ui typecheck + 12 tests
  • AI SDK 7.0.65: react-headless build + 164 tests; assistant-ui typecheck + 12 tests
  • packed both packages and installed them with ai@^7 in a clean npm consumer
  • exercised UI-message streaming, message conversion, and assistant continuation against AI SDK 7
  • the temporary GitHub AI SDK 7 compatibility job passed before its workflow and smoke-test script were removed

After merge, @openuidev/react-headless@0.9.8 must be published for downstream consumers to receive the widened peer range.

@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openui-docs Ready Ready Preview Aug 14, 2026 10:48am

Request Review

@AbhinRustagi
AbhinRustagi marked this pull request as ready for review August 14, 2026 11:06
@AbhinRustagi
AbhinRustagi merged commit edd2b02 into main Aug 14, 2026
4 checks passed
@AbhinRustagi
AbhinRustagi deleted the codex/support-ai-sdk-v7 branch August 14, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants