Skip to main content

flutter_a2ui_mcp 1.2.1 copy "flutter_a2ui_mcp: ^1.2.1" to clipboard
flutter_a2ui_mcp: ^1.2.1 copied to clipboard

Dynamic Agent-to-User Interface (A2UI) widget for Flutter. Connect to LLMs, execute MCP tools, and render dynamic interactive generative A2UI widgets.

1.2.1 #

  • Synchronized Suite Upgrade:
    • Upgraded flutter_ui_mcp_core dependency to ^1.5.18 (Android/iOS FilePicker.saveFile / ACTION_CREATE_DOCUMENT export sheet allowing direct saves to Downloads/, Documents/, and Google Drive).

1.2.0 #

  • Built-In A2UI 1.0 Express Support (useExpressFormat = true by default):
    • Integrated a2ui_agent's ExpressPromptGenerator and ExpressParser into McpA2uiChatController and A2uiMcpPlayground, cutting UI token output roughly in half compared to raw JSON while compiling <a2ui>...</a2ui> Express blocks into validated A2UI 1.0 JSON envelopes locally.
    • Preserved seamless fallback to <a2ui-json>, fenced JSON, and shorthand component JSON for models that emit raw JSON, and updated streaming text sanitization to strip both closed and in-progress <a2ui> Express blocks.
  • A2UI 0.5.0 / 0.9.0 Ecosystem Upgrade:
    • Upgraded a2ui_flutter to ^0.5.0, a2ui_core to ^0.9.0, and a2ui_agent to ^0.5.0 (adds MessageProcessor.addCatalog, direct FunctionCall resolution & oneOf boolean coercion in GenericBinder, improved JSON Pointer error reporting, and updated Slider accessibility semantics).
    • Breaking: Raised minimum Dart/Flutter SDK bounds to sdk: ^3.13.0 and flutter: ">=3.47.0" to align with a2ui_core ^0.9.0 and a2ui_flutter ^0.5.0.
    • Updated all A2UI example apps to a2ui_flutter: ^0.5.0 and a2ui_core: ^0.9.0.

1.1.3 #

  • Synchronized Suite & Dependency Floor Alignment:
    • Upgraded dart_mcp_core: ^1.5.16, flutter_ui_mcp_core: ^1.5.17, and file_picker: ^13.4.1.

1.1.2 #

  • Synchronized Suite Upgrades:
    • Bumped dependencies to dart_mcp_core: ^1.5.15 (adds built-in GenerateImageTool for inline AI image generation) and flutter_ui_mcp_core: ^1.5.16.

1.1.1 #

  • Synchronized Suite Upgrades:
    • Bumped dependencies to dart_mcp_core: ^1.5.14 (fixes infinite context compression thrashing loop, openai_dart ^13.0.0, anthropic_sdk_dart ^11.0.0) and flutter_ui_mcp_core: ^1.5.15 (pure-Dart cross-platform PDF export, writable mobile default directories, responsive export dialog, and mobile share sheet).

1.1.0 #

  • A2UI Ecosystem Upgrade (a2ui_core ^0.8.0, a2ui_flutter ^0.4.0, a2ui_agent ^0.4.0):
    • Upgraded a2ui_core from ^0.7.0 to ^0.8.0, a2ui_flutter from ^0.3.0 to ^0.4.0, and a2ui_agent from ^0.3.0 to ^0.4.0.
    • v1.0 Envelope Normalization & Hardening (McpA2uiChatController):
      • Added _sanitizeV1ComponentEnvelope to guard against a2ui_core 0.8.0 strict validation errors when models emit null @catalogId/catalogId or mix @-prefixed (@catalogId, @metadata, @accessibility, @checks) and legacy bare mixin keys on the same component.
      • Stripped leaked version keys when transforming direct component shorthand payloads into updateComponents.
      • Ensured createSurface and component @catalogId/catalogId normalize unknown or blank catalog IDs to the active catalog ID.
    • Custom Component Schema Injection & Error Logging (McpA2uiChatController):
      • Included full JSON schemas of custom domain components in the generated A2UI system prompt so LLMs emit valid property names and required fields instead of guessing.
      • Subscribed to MessageProcessor.model.onError and logged A2UI validation/render errors to the Agent Inspector execution log.
      • Added heuristic component inference for AgentSwarmTimeline, SubagentCard, and ApprovalGateWidget.
    • Updated all A2UI example apps to align with a2ui_core: ^0.8.0 and a2ui_flutter: ^0.4.0.

1.0.2 #

  • Synchronized Suite Upgrades:
    • Bumped dependencies to dart_mcp_core: ^1.5.13 and flutter_ui_mcp_core: ^1.5.13.

1.0.1 #

  • Synchronized Suite Upgrades:
    • Bumped dependencies to dart_mcp_core: ^1.5.12 and flutter_ui_mcp_core: ^1.5.12.
    • Added visual showcase demo images and GIF walkthroughs in package README.

1.0.0 #

  • Initial release of flutter_a2ui_mcp:
    • Successor to flutter_genui_mcp, migrated to the modern Flutter A2UI standard (a2ui_flutter: ^0.3.0, a2ui_core: ^0.7.0, a2ui_agent: ^0.3.0).
    • Dynamic A2UI Surface Rendering: Renders rich interactive surfaces generated by LLMs inline in conversational transcripts.
    • Pluggable A2UI Catalog: Easily register custom components via A2uiCatalogItemDefinition and custom functions via FunctionImplementation.
    • Seamless MCP Integration: Built-in support for remote HTTP/SSE MCP servers, local subprocess servers, and Dart-native tools.
    • Multi-LLM Support: Supports OpenAI, Anthropic Claude, Google Gemini, Ollama, Mistral AI, OpenAI-compatible APIs, and local embedded GGUF models.
    • Agent Inspector: Real-time side panel for inspecting tool executions, active system prompts, tokens, and A2UI JSON payloads.
    • Backwards Compatibility: Includes typedefs (FlutterGenUiMcp, GenuiMcpPlayground) and compatibility aliases for smooth transition from flutter_genui_mcp.
    • Reactivity & Recursion Guards: Guarded updateLlmConfig and _onStateChange against redundant re-entrant state notifications.
    • Protocol Version Normalization: Enforces strict A2UI wire protocol version 1.0 and v0.9 compatibility.
    • Balanced JSON Scanner & Multi-Surface Extraction: Robust extraction of concatenated JSON component payloads without regex parsing failures.
    • Heuristic Component Inference: Auto-infers component names when models omit the top-level component field.
0
likes
150
points
377
downloads

Documentation

API reference

Publisher

verified publishertealkit.dev

Weekly Downloads

Dynamic Agent-to-User Interface (A2UI) widget for Flutter. Connect to LLMs, execute MCP tools, and render dynamic interactive generative A2UI widgets.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

a2ui_agent, a2ui_core, a2ui_flutter, dart_mcp_core, file_picker, flutter, flutter_markdown_plus, flutter_ui_mcp_core, json_schema_builder, material_ui, shared_preferences, uuid

More

Packages that depend on flutter_a2ui_mcp