flutter_a2ui_mcp 1.2.1
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_coredependency to^1.5.18(Android/iOSFilePicker.saveFile/ACTION_CREATE_DOCUMENTexport sheet allowing direct saves toDownloads/,Documents/, and Google Drive).
- Upgraded
1.2.0 #
- Built-In A2UI 1.0 Express Support (
useExpressFormat = trueby default):- Integrated
a2ui_agent'sExpressPromptGeneratorandExpressParserintoMcpA2uiChatControllerandA2uiMcpPlayground, 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.
- Integrated
- A2UI 0.5.0 / 0.9.0 Ecosystem Upgrade:
- Upgraded
a2ui_flutterto^0.5.0,a2ui_coreto^0.9.0, anda2ui_agentto^0.5.0(addsMessageProcessor.addCatalog, directFunctionCallresolution &oneOfboolean coercion inGenericBinder, improved JSON Pointer error reporting, and updatedSlideraccessibility semantics). - Breaking: Raised minimum Dart/Flutter SDK bounds to
sdk: ^3.13.0andflutter: ">=3.47.0"to align witha2ui_core ^0.9.0anda2ui_flutter ^0.5.0. - Updated all A2UI example apps to
a2ui_flutter: ^0.5.0anda2ui_core: ^0.9.0.
- Upgraded
1.1.3 #
- Synchronized Suite & Dependency Floor Alignment:
- Upgraded
dart_mcp_core: ^1.5.16,flutter_ui_mcp_core: ^1.5.17, andfile_picker: ^13.4.1.
- Upgraded
1.1.2 #
- Synchronized Suite Upgrades:
- Bumped dependencies to
dart_mcp_core: ^1.5.15(adds built-inGenerateImageToolfor inline AI image generation) andflutter_ui_mcp_core: ^1.5.16.
- Bumped dependencies to
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) andflutter_ui_mcp_core: ^1.5.15(pure-Dart cross-platform PDF export, writable mobile default directories, responsive export dialog, and mobile share sheet).
- Bumped dependencies to
1.1.0 #
- A2UI Ecosystem Upgrade (
a2ui_core ^0.8.0,a2ui_flutter ^0.4.0,a2ui_agent ^0.4.0):- Upgraded
a2ui_corefrom^0.7.0to^0.8.0,a2ui_flutterfrom^0.3.0to^0.4.0, anda2ui_agentfrom^0.3.0to^0.4.0. - v1.0 Envelope Normalization & Hardening (
McpA2uiChatController):- Added
_sanitizeV1ComponentEnvelopeto guard againsta2ui_core 0.8.0strict validation errors when models emitnull@catalogId/catalogIdor mix@-prefixed (@catalogId,@metadata,@accessibility,@checks) and legacy bare mixin keys on the same component. - Stripped leaked
versionkeys when transforming direct component shorthand payloads intoupdateComponents. - Ensured
createSurfaceand component@catalogId/catalogIdnormalize unknown or blank catalog IDs to the active catalog ID.
- Added
- 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.onErrorand logged A2UI validation/render errors to the Agent Inspector execution log. - Added heuristic component inference for
AgentSwarmTimeline,SubagentCard, andApprovalGateWidget.
- Updated all A2UI example apps to align with
a2ui_core: ^0.8.0anda2ui_flutter: ^0.4.0.
- Upgraded
1.0.2 #
- Synchronized Suite Upgrades:
- Bumped dependencies to
dart_mcp_core: ^1.5.13andflutter_ui_mcp_core: ^1.5.13.
- Bumped dependencies to
1.0.1 #
- Synchronized Suite Upgrades:
- Bumped dependencies to
dart_mcp_core: ^1.5.12andflutter_ui_mcp_core: ^1.5.12. - Added visual showcase demo images and GIF walkthroughs in package README.
- Bumped dependencies to
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
A2uiCatalogItemDefinitionand custom functions viaFunctionImplementation. - 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 fromflutter_genui_mcp. - Reactivity & Recursion Guards: Guarded
updateLlmConfigand_onStateChangeagainst redundant re-entrant state notifications. - Protocol Version Normalization: Enforces strict A2UI wire protocol version
1.0andv0.9compatibility. - 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
componentfield.
- Successor to