Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .changeset/ai-sdk-v7-chatbot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
'@object-ui/plugin-chatbot': minor
---

chore(chatbot): upgrade to Vercel AI SDK v7 / @ai-sdk/react v4

Bump `ai` ^6 -> ^7 and `@ai-sdk/react` ^3 -> ^4. The chatbot's `useChat`,
`DefaultChatTransport`, `UIMessage`/`ChatStatus` usage and the `mapMessages`
parts adapter are all source-compatible with v7 — no code changes required.

Verified: type-check clean, build green, 183/183 unit tests pass on v7.

Part of the org-wide AI SDK v6->v7 / providers v3->v4 upgrade (framework#2464,
cloud#710).
4 changes: 2 additions & 2 deletions packages/plugin-chatbot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"lint": "eslint ."
},
"dependencies": {
"@ai-sdk/react": "^3.0.216",
"@ai-sdk/react": "^4.0.5",
"@object-ui/components": "workspace:*",
"@object-ui/core": "workspace:*",
"@object-ui/react": "workspace:*",
"@object-ui/types": "workspace:*",
"@radix-ui/react-slot": "^1.3.0",
"@radix-ui/react-use-controllable-state": "^1.2.3",
"ai": "^6.0.214",
"ai": "^7.0.4",
"class-variance-authority": "^0.7.1",
"lucide-react": "^1.22.0",
"motion": "^12.42.0",
Expand Down
95 changes: 84 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading