Repository navigation
Vercel AI SDK Competitive Analysis - #152
Merged
Merged
Conversation
ananmouaz
marked this pull request as ready for review
October 3, 2026 08:54
This was referenced Oct 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Custom DataParts previously rendered as debug chips in the standard transcript, and embedded controls had no addressed action channel. Add widgetRegistry, partBuilder and onPartAction across all transcript wrappers, plus AiPartScope/AiPartRef using the user-selected message ID + original part index identity. Add accessible AiQuestion with single/multiple selection, optional freeform, asynchronous pending/retry/answered states and host-restored answers. Keep core message JSON and controller behavior unchanged. Replace the demo's manual parts switch with the standard bubble integration and document host-owned persistence/idempotency boundaries. Include the dated Vercel AI Elements/AI SDK comparison, Mobbin references and prioritized roadmap. Refs #150 and #151. Validation: 350 package tests passed; three provider live tests skipped. Seven demo tests passed; phone-sized question and chat captures inspected. Analysis, formatting and demo web build passed. No native-device runtime or performance benchmark was run.
Local checks
flutter pub getdart format --output=none --set-exit-if-changed .dart analyzeflutter test --no-pub (packages/flutter_ai_client and packages/flutter_ai_elements)dart test (packages/flutter_ai_core, flutter_ai_mcp, flutter_ai_provider_anthropic, flutter_ai_provider_gemini, flutter_ai_provider_openai, flutter_ai_tools, flutter_ai_voice)flutter test --no-pub --update-goldens (demo; generated captures visually inspected, not a baseline comparison)flutter build web --no-pub (demo)git diff --cached --checkOpened by AgentDesk.