flutter_ui_mcp_core 1.4.0
flutter_ui_mcp_core: ^1.4.0 copied to clipboard
Shared UI components, dialogs, drawers, controllers, and services for the Flutter MCP Suite ecosystem.
1.4.0 #
- ⚠️ BREAKING CHANGES & MIGRATION (Embedded LLM Decoupling):
- Removed
llamadartfromflutter_ui_mcp_core: The base core library no longer compiles or bundles native C++, FFI, WebGPU, or WASM dependencies. - Migration for On-Device GGUF users:
- Add
flutter_ui_mcp_embedded: ^1.4.0to yourpubspec.yaml. - Register the driver via
FlutterUiMcpEmbedded.register()during app startup. - If the companion driver is omitted,
LlmProvider.embeddedis safely suppressed from UI dropdowns and stored preferences fall back toLlmProvider.none.
- Add
- Contract Extracted: Core now provides abstract interfaces
EmbeddedLlmDriverand global registryEmbeddedLlmRegistry.
- Removed
- Standalone Prompt Composer (
McpChatInputBar):- Added
McpChatInputBarwidget for host applications needing only the prompt textfield, attachment chips, clipboard paste, and send triggers.
- Added
- Configurable System Prompt Templates (
SystemPromptTemplate):- Added
SystemPromptTemplatemodel andkDefaultSystemPromptTemplates. - Added
systemPromptTemplatesandshowSystemPromptTemplatesoptions toSettingsPanel,SettingsDrawer,showMcpSettingsDialog(), andPlaygroundControllerto allow providing custom persona templates or hiding the quick persona chips altogether.
- Added
- Cancel / Stop Generation Support:
- Added
stopGeneration()alias and interactive stop button inMcpChatInputBar. - Added
onCancelcallback support falling back directly toPlaygroundController.cancelGeneration().
- Added
- Mobile Fullscreen Inspector & Dialog Polish:
- Updated
showMcpInspectorDialog()to open in full screen on mobile screens (< 900px) usingDialog.fullscreenwith zero double/duplicate title headers.
- Updated
- Local Model Directory Discovery:
EmbeddedModelManagernow automatically discovers.ggufweights in~/.modelsas well as application documents.
- Runtime Local Tool Registration:
- Added
controller.addLocalTools(tools)for batch registration of native Dart tools.
- Added
1.3.0 #
- Episodic Memory Archive & Retrieval UI:
- Added
MemoryArchiveDialogfor searching, inspecting, and navigating compressed episodic memory summaries and raw interaction histories. - Added reactive
memoryArchivestore andretrieve_memorytool integration inPlaygroundController.
- Added
- Autonomous Sub-Agent Execution Tracking:
- Added
SubAgentExecutionmodel tracking child sub-agent workflows, hierarchy/depth, status, execution logs, and completed results. - Integrated autonomous
DelegateTaskToolrunner intoPlaygroundControllerwith dynamic tool cascading. - Added specialized visual execution cards in
ChatBubblefor sub-agent runs, episodic memory lookups, and skill activations.
- Added
- Dynamic Skill Activation Dock:
- Added
DynamicSkillDockwidget allowing users to toggle dynamic skill availability on the fly. - Integrated agent-driven skill activation via
ActivateSkillsToolandDeactivateSkillsTool.
- Added
- Multimodal Chat Content Staging:
- Added
pendingPartsstaging inPlaygroundControllerfor multimodal input. - Enhanced
ChatBubblewith rich rendering for images (with full-resolution lightbox viewer), documents, and audio clips.
- Added
- Evaluation Benchmark Runner:
- Added
EvalControllerandEvalBenchmarkDialogenabling automated LLM/agent benchmarking directly in Flutter apps with real-time pass/fail metrics, scoring, and output inspection.
- Added
- Dynamic Model Pricing & Context Limits (
ModelPricingService):- Real-time dynamic token pricing and context window resolution without hardcoded static tables (queries host
/modelscatalogs, OpenRouter live API, DeepInfra, and local endpoints). - Rich model autocomplete suggestions with multimodal indicator badges, context length tags, and real-time input/output rates.
- Interactive model pricing and context banner beneath the model selector in
LlmConfigFormwith USD ($) and EUR (€) rate conversions and live freshness tracking.
- Real-time dynamic token pricing and context window resolution without hardcoded static tables (queries host
- Autonomous Multi-Turn Sub-Agent Execution Loop:
- Enhanced
delegate_taskrunner inPlaygroundControllerinto a full autonomous multi-turn loop supporting up to 5 iterative tool turns. - Real-time progress updates streamed to
SubAgentExecutionand rendered inChatBubblecards as child tools run.
- Enhanced
- Markdown Dark Mode Styling:
- High-contrast markdown text and syntax styles (
darkMarkdownStyleSheet) ensuring crystal-clear codeblock, table, and list readability in dark theme mode.
- High-contrast markdown text and syntax styles (
- Attachment Resilience & Inspector Metrics:
- Added
allowMalformed: trueto attachment UTF-8 decoding to protect against non-UTF8/ISO-8859-1 character crashes. AgentInspectorsent characters and token usage metrics now accurately account for staged file attachments.
- Added
- Dependencies:
- Upgraded dependency to
dart_mcp_core: ^1.3.0.
- Upgraded dependency to
1.2.0 #
- Embedded On-Device LLM Standardization (
.ggufviallamadart):- Standardized the embedded on-device engine exclusively on
.ggufviallamadart(llama.cpp) across all platforms (Android, iOS, Windows, macOS, Linux, Web), ensuring crash-safe execution and access to the extensive open-weights community catalog. - Enhanced HuggingFace discovery (
HfDiscoverDialog) and direct URL import (AddGgufDialog) tailored to quantized GGUF models with automatic CPU size safety filtering. - Added hardware-specific acceleration guidance in
EmbeddedModelPickerWidget(Apple Metal GPU, Android ARM NEON, Desktop shaders, WebGPU).
- Standardized the embedded on-device engine exclusively on
- Multimodal Image Optimization (
ImageOptimizer):- Added
ImageOptimizer.shrinkToOptimalSizeusing Flutter native hardware decoders to automatically downscale large photos (e.g. 200MP mobile camera shots) to optimal 768px dimensions for on-device SLMs and multimodal APIs without memory bloat.
- Added
- Mobile UX Enhancements:
- Optimized LLM configuration and settings modal sheets for mobile screens, rendering as full-screen views on devices under 600px width for optimal readability.
- Zero-Cost Telemetry:
- Configured
AgentInspectortoken cost tracking to recognizeLlmProvider.embeddedas zero-cost on-device execution.
- Configured
- Dependencies:
- Upgraded dependency to
dart_mcp_core: ^1.2.0.
- Upgraded dependency to
1.1.7 #
- Dependencies:
- Upgraded dependency to
dart_mcp_core: ^1.1.6for OpenAI-compatible endpoint token detail sanitization, tool call schema patching, and SSE stream handling. - Synchronized version 1.1.7 across the Flutter MCP Suite ecosystem.
- Upgraded dependency to
1.1.6 #
- Platform Support & WASM Compatibility:
- Migrated from
flutter_widget_from_htmltoflutter_widget_from_html_core, restoring full WASM runtime compatibility and clean platform support across Android, iOS, Windows, macOS, Linux, and Web.
- Migrated from
- Static Analysis & Deprecation Fixes:
- Updated
EmbeddedLlmAdapterto useLlamaLogging.configureinstead of deprecatedLlamaEngine.configureLogging. - Updated model loading to use
LlamaEngine.setModelwithLlamaModelinstead of deprecatedloadModelandloadModelFromUrl. - Resolved all linter deprecation warnings.
- Updated
- Dependencies:
- Synchronized version 1.1.6 across the Flutter MCP Suite ecosystem.
1.1.5 #
- Synchronized release across the Flutter MCP Suite ecosystem.
- Added support for embedded model discovery and dynamic tool registration.
1.1.4 #
- Upgraded dependencies:
openai_dart: ^11.0.1material_ui: ^1.6.0
- Upgraded dependency on
dart_mcp_core: ^1.1.4. - Synchronized release across the Flutter MCP Suite ecosystem.
1.1.3 #
- Upgraded AI SDK dependencies:
googleai_dart: ^13.0.0openai_dart: ^10.0.0anthropic_sdk_dart: ^9.0.0ollama_dart: ^4.0.0
- Upgraded dependency on
dart_mcp_core: ^1.1.3. - Synchronized release across the Flutter MCP Suite ecosystem.
1.1.2 #
- Upgraded dependency on
dart_mcp_core: ^1.1.2. - Synchronized release across the Flutter MCP Suite ecosystem.
1.1.1 #
- Upgraded dependency on
dart_mcp_core: ^1.1.1. - Synchronized release across the Flutter MCP Suite ecosystem.
1.1.0 #
- Modernized UI text across widgets: updated defaults to "Chat", "AI Agent Studio", and clean action labels.
- Added support for sub-prompt and workflow prompt templates with improved styling.
- Model Size & Capability Matrix added to documentation.
- Upgraded dependency on
dart_mcp_core: ^1.1.0.
1.0.2 #
- Updated README and documentation to reference
flutter_mcp_suiteecosystem. - Depends on
dart_mcp_core: ^1.0.2.
1.0.1 #
- Upgraded dependencies:
material_uito^1.4.0,file_pickerto^13.1.0,archiveto^4.3.0,llamadartto^0.8.24. - Expanded version constraints for
anthropic_sdk_dart,googleai_dart,openai_dart, andollama_dart. - Added standalone showcase example package in
example/.
1.0.0 #
- Initial stable production release under the
flutter_mcp_suiteecosystem. - Rebranded and modernized from
mcp_playground_ui. - Shared UI controllers, inspector drawer, embedded GGUF model discoverers, and MCP server registry components.
- Depends on
dart_mcp_core: ^1.0.0.
0.4.0 #
- BREAKING CHANGE - Decoupled Material UI:
- Migrated from legacy
package:flutter/material.dartto standalonepackage:material_ui/material_ui.dartusing the official Flutter migration tool (dart fix --apply --code=migrate_design_widgets). - Added dependency on
material_ui: ^1.3.0. - Re-exported
package:material_ui/material_ui.dartinmcp_playground_ui.dartfor backwards and downstream compatibility.
- Migrated from legacy
- Upgraded
file_pickerto^13.0.0. - Fixed markdown style sheet text colors in dark mode to guarantee legible
onSurfacecontrast for headings and body text.
0.3.4 #
- Tightened
file_pickerdependency constraint to^12.0.0and removed redundant null checks to ensure seamlesspub downgradeanalysis. - Fixed dartdoc parameter references in
SkillStorageAdapterimplementations.
0.3.3 #
- Enabled WebAssembly (WASM) runtime support:
- Replaced direct
dart:ioandpath_providerimports with conditional exports and platform-agnostic helpers. - Added conditional stubs for
EmbeddedModelManager,LocalMCPClient, andFileSystemSkillStorageAdapterfor Web/WASM runtimes. - Decoupled HTML preview in chat bubbles via conditional launcher.
- Removed
universal_iodependency. - Replaced platform checks with
defaultTargetPlatform.
- Replaced direct
0.3.2 #
- Upgraded AI and core dependencies:
mcp_playground_dartto^0.3.2anthropic_sdk_dartto^8.0.0googleai_dartto^12.0.1openai_dartto^8.1.0ollama_dartto^2.6.1llamadartto^0.8.23archiveto^4.2.0flutter_widget_from_htmlto^0.17.4
0.3.1 #
- Declared supported platforms explicitly in
pubspec.yaml(Android, iOS, Linux, macOS, Web, Windows). - Fixed
repositoryURL inpubspec.yamlto point to GitHubmainbranch. - Broadened
file_pickerdependency constraint to'>=11.0.3 <13.0.0'to supportfile_picker12.0.0+.
0.3.0 #
- Updated
WorkflowSaveDialogto use Flutter 3.32+RadioGroup<bool>ancestor, resolving deprecatedgroupValuewarnings. - Added auto-sync to
PlaygroundController.connectServer()for newly registered or unsynced clients. - Added copy button and clipboard feedback for user prompts and assistant message bubbles.
- Upgraded
mcp_playground_dartto^0.3.0.
0.1.0 #
- Initial release of
mcp_playground_uiextracting common Flutter components, dialogs, drawers, and controllers into a shared library.