Skip to content

chore(sync): defer upstream AI SDK v7 migration (dfbbfeb)#238

Merged
IgorShevchik merged 1 commit into
mainfrom
sync/nuxt-dfbbfeb
Jul 3, 2026
Merged

chore(sync): defer upstream AI SDK v7 migration (dfbbfeb)#238
IgorShevchik merged 1 commit into
mainfrom
sync/nuxt-dfbbfeb

Conversation

@IgorShevchik

Copy link
Copy Markdown
Collaborator

Upstream

dfbbfebchore(deps): migrate AI SDK to v7 (#6636)

A major AI SDK migration: ai ^6^7, @ai-sdk/anthropic ^3^4, @ai-sdk/gateway ^3^4, @ai-sdk/mcp ^1^2, @ai-sdk/vue ^3^4; docs/playground clients move from the new Chat() class to the useChat() composable; server routes move to the v7 streaming API (systeminstructions, stepCountIsisStepCount, .toUIMessageStreamResponse()toUIMessageStream()+createUIMessageStreamResponse(), onFinishonEnd). No src/runtime change upstream.

Decision — skip / defer

This isn't a mechanical port, and it touches b24ui surfaces upstream doesn't:

  • b24ui runtime imports aisrc/runtime/components/{ChatMessages,ChatMessage,ChatPromptSubmit}.vue and src/runtime/utils/ai.ts. Upstream changed no runtime file (its runtime was already v7-safe), but b24ui adopting ai@7 requires verifying its runtime still typechecks against the v7 types — which the diff gives no guidance on.
  • b24ui-only bx-assistant moduledocs/modules/bx-assistant/ (AssistantPanel.vue, runtime/server/api/search.ts, runtime/composables/useAssistant.ts) uses @ai-sdk/vue+streamText with no upstream counterpart; it needs a hand-authored, independently-tested migration.

So b24ui stays on ai@6 for now; v7 adoption should be a deliberate, separately-tested pass (runtime types + bx-assistant + lockfile regen + end-to-end chat/assistant test), not a diff replay. Consistent with prior deferrals (#220 InputRating, #194 Calendar). (Also: verbatim upstream .patch fetch is currently egress-blocked this session, so a faithful large-file replay isn't cleanly available.)

Bookkeeping only — ledger decision: skip, cursor advances; tracked for a future AI-SDK-v7 task.

🤖 Generated with Claude Code


Generated by Claude Code

Upstream dfbbfeb is a major AI SDK migration (ai ^6->^7, @ai-sdk/* v3/v4). It
changes no src/runtime upstream, but b24ui's runtime imports `ai`
(ChatMessages/ChatMessage/ChatPromptSubmit + utils/ai.ts) and ships a
b24ui-only bx-assistant module with no upstream counterpart, so adopting v7 is a
deliberate, separately-tested migration rather than a mechanical port.

Deferred (ledger `skip`), consistent with #220/#194; b24ui stays on ai@6.
Tracked for a future AI-SDK-v7 adoption task. Bookkeeping only.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JS8ypVfQSFzYVZzkTHhURb
@IgorShevchik IgorShevchik merged commit a2c59cf into main Jul 3, 2026
1 check passed
@IgorShevchik IgorShevchik deleted the sync/nuxt-dfbbfeb branch July 3, 2026 04:19
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