Skip to content

Vercel AI SDK Competitive Analysis - #152

Merged
ananmouaz merged 2 commits into
mainfrom
chore/agent-library-review
Oct 3, 2026
Merged

ananmouaz merged 2 commits into
mainfrom
chore/agent-library-review

Conversation

@ananmouaz

Copy link
Copy Markdown
Owner

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 get
  • dart format --output=none --set-exit-if-changed .
  • dart analyze
  • flutter 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 --check

Opened by AgentDesk.

Connect registered and custom parts to the standard transcript with explicit addressed actions. Add asynchronous questions and host-owned restored answers without changing core serialization.

Include the dated Vercel and Mobbin review that informed this slice.

Refs #150, #151
@ananmouaz
ananmouaz marked this pull request as ready for review October 3, 2026 08:54
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.

1 participant