flutter_ui_mcp_core 1.5.13
flutter_ui_mcp_core: ^1.5.13 copied to clipboard
Shared UI components, dialogs, drawers, controllers, and services for the Flutter MCP Suite ecosystem.
1.5.13 #
- Suite Synchronization:
- Upgraded
dart_mcp_coredependency to^1.5.13(Jinja template single system message normalization and multi-adapter conversation summary retention).
- Upgraded
1.5.12 #
- Suite Synchronization:
- Upgraded
dart_mcp_coredependency to^1.5.12(dynamic streaming and prompt prefill timeout support).
- Upgraded
1.5.11 #
- Suite Synchronization:
- Upgraded
dart_mcp_coredependency to^1.5.11(multi-turn tool call and response ID alignment, provider compatibility fixes, and context compressor adjustments).
- Upgraded
1.5.10 #
- Suite Synchronization:
- Upgraded
dart_mcp_coredependency to^1.5.10(OpenAI compatible empty content sanitization and context window auto-compression improvements).
- Upgraded
1.5.9 #
- Automatic MCP Server Tool Selection & Synchronization:
- Enabling or adding an MCP server now automatically discovers/caches tools and registers them into
enabledToolNames, preventing the "0 Tools" state when external or custom MCP servers are toggled. - Disabling or removing an MCP server automatically purges its associated tools from
enabledToolNames. - Server synchronization automatically triggers connections for enabled servers that have cached tools or have not yet completed tool discovery.
- Cleans up legacy pseudo-tool IDs (e.g.
gh_mcp_*) on startup.
- Enabling or adding an MCP server now automatically discovers/caches tools and registers them into
- Suite Synchronization:
- Upgraded
dart_mcp_coredependency to^1.5.9.
- Upgraded
1.5.8 #
- Configurable 10-Minute HTTP Timeout for Local Models & Coding Agents:
- Inherited
timeoutSeconds(default 600s / 10m) fromdart_mcp_coreacross all LLM adapters. - Eliminates 2-minute timeouts when interacting with local models (Hypura, vLLM, LM Studio) during non-streaming tool execution turns.
- Inherited
- Synchronized AI SDK Major Upgrades:
- Upgraded
openai_dartto^12.0.0. - Upgraded
ollama_dartto^5.0.0. - Upgraded
anthropic_sdk_dartto^10.0.0. - Upgraded
googleai_dartto^13.1.0. - Upgraded
dart_mcp_coreto^1.5.8.
- Upgraded
1.5.7 #
- Clickable Markdown & Autolinked URLs:
- Added
onTapLinkhandler with fallback URL schemes (http,https) to launch links reliably in the external browser viaurl_launcher. - Configured
md.ExtensionSet.gitHubFlavoredwithmarkdown: ^7.3.0so raw URLs in responses (e.g.https://orf.at/...) are automatically rendered as clickable hyperlinks.
- Added
- Sanitized Choice Option Chips:
- Stripped code blocks (fenced and indented) and inline code spans before parsing interactive option buttons in
ChatBubble. - Prevents programming arrays and code constructs (such as Angular
router.navigate(['/login'])) from rendering as false-positive choice action buttons.
- Stripped code blocks (fenced and indented) and inline code spans before parsing interactive option buttons in
- Session History Restoration (
PlaygroundController.loadMessages):- Added
PlaygroundController.loadMessages(List<ChatMessage> messages, {bool clearExisting = true})to easily restore historical conversation transcripts and persist session state across app restarts or multi-chat views.
- Added
- Synchronized Suite Upgrades:
- Bumped
dart_mcp_coredependency to^1.5.7.
- Bumped
1.5.6 #
- Instant Generation Cancellation & Tool Loop Abortion:
- Aborts active tool wait immediately upon user clicking stop (
stopGeneration/cancelGeneration), halting the tool execution loop without delay. - Automatically rejects/denies any pending tool approvals on cancellation.
- Prevents subsequent tool iterations or further LLM turns from executing after a user stop request.
- Aborts active tool wait immediately upon user clicking stop (
- Workspace Directory Dynamic Rebinding:
- Updating
PlaygroundController.workspaceDirectorynow immediately synchronizes all activeBaseCodingToolinstances to the new workspace path. - Added
PlaygroundController.updateLocalTools(List<McpLocalTool> tools)to dynamically refresh local tool collections.
- Updating
- Synchronized Suite Upgrades:
- Bumped
dart_mcp_coredependency to^1.5.6.
- Bumped
1.5.5 #
- WASM & Web Platform Compatibility:
- Eliminated direct
dart:ioimports acrosstool_permission_service.dartanddocument_export_service.dartby migrating touniversal_io, restoring full Web & WASM runtime compatibility.
- Eliminated direct
- Resolved FilePicker Static Analysis Deprecations:
- Removed deprecated
typeandallowedExtensionsarguments inFilePicker.saveFile()withinchat_bubble.dartto prevent warnings on future file_picker releases and ensure a clean 50/50 static analysis score on pub.dev.
- Removed deprecated
- Synchronized Suite Upgrades:
- Bumped
dart_mcp_coredependency to^1.5.5andanthropic_sdk_dartto^9.0.1.
- Bumped
1.5.3 #
- Human-in-the-Loop (HITL) Tool Permissions (
ToolPermissionService,ToolPermissionSettings):- Configurable auto-approval policies categorized across four risk levels:
read,network,write, andexecute. - Added
PendingToolApprovalCardinteractive UI card displaying the requested tool name, color-coded risk badge, arguments preview, and three decision actions:- Accept: Approves the single execution.
- Always Allow: Auto-approves the entire risk category for the session and persists preferences to
.tealkit/permissions.yaml. - Deny: Rejects execution and safely returns an execution refusal error to the LLM.
- Added
ToolPermissionSettings.inferRiskLevel(...)heuristic classifier to deduce risk categories for tools lacking explicit risk designations. - Added
pendingToolApprovalandrespondToToolApproval(...)toPlaygroundController.
- Configurable auto-approval policies categorized across four risk levels:
- Coding Sub-Mode & Plan Mode Protection Guard (
checkPlanModeToolRestriction):- Added
codingSubModeproperty (/plan,/code,/ask,/rag) toPlaygroundController. - In
/planmode, file-writing tools (fs_write_file,fs_replace_text,fs_delete, etc.) are prohibited from modifying source code files (.dart,.py,.ts,.cpp, etc.), shielding production repositories from premature or unapproved edits. - Explicitly allows modifying documentation and planning files (
*.md,tasks.md,implementation_plan.md,*.json,*.yaml).
- Added
- Document Export Engine (
DocumentExportService,ExportDocumentDialog):- Export structured plans, architecture documents, and technical analyses to PDF (
.pdf), Word (.docx), and Markdown (.md). - Features intelligent plan detection (
DocumentExportService.isExportableAnalysisOrPlan) which automatically surfaces export buttons inChatBubblemessage cards. - Includes
ExportDocumentDialogallowing interactive destination folder selection, filename customization, and format toggling with native system file-saver integration.
- Export structured plans, architecture documents, and technical analyses to PDF (
- External Input Prompt Injection (
PlaygroundController):- Added
setInputPrompt(String prompt)andconsumePendingInputPrompt()for programmatic injection of prompts into the chat input bar.
- Added
1.5.2 #
- Chat View Background Customization:
- Added chatBackgroundDecoration (Decoration?), showEmptyChatState (ool, default rue), and emptyChatBuilder to PlaygroundController.
- Added reactive setters setChatBackgroundDecoration(...), setShowEmptyChatState(...), and setEmptyChatBuilder(...) that notify listeners on change.
- Added convenience method setChatBackgroundImage(ImageProvider image, {BoxFit fit, Alignment alignment, ColorFilter? colorFilter, double opacity, bool showEmptyText}) to allow setting an image wallpaper background with zero empty-state text.
- Standalone McpChatView in Core:
- Moved and exported McpChatView directly within lutter_ui_mcp_core with full background decoration and empty state customization support.
- Cleaned Multi-Step Tabs Controls:
- Removed the duplicate + Step button in SubPromptListEditor's horizontal step tabs bar; step insertion is now handled exclusively by the right-aligned + action button.
1.5.1 #
- Desktop Dialog Ergonomics:
- Enlarged settings and management dialogs to 95% screen width and 95% height on desktop (
mcpDesktopDialogWidth(context)= 0.95,mcpDesktopDialogHeight(context)= 0.95) for expansive multi-tab viewability.
- Enlarged settings and management dialogs to 95% screen width and 95% height on desktop (
- Redesigned LLM Model Selector:
- Permanently converted the model selector into a searchable dropdown menu with an inline quick-refresh button (
Icons.refresh_rounded). - Added auto-loading of remote models on form initialization when the endpoint URL is set.
- Added loading spinner and auto-fetch trigger when opening search picker with an empty model catalog.
- Removed obsolete "Detect Foundry" button.
- Permanently converted the model selector into a searchable dropdown menu with an inline quick-refresh button (
- Multi-Profile State Restoration on App Restart:
- Fixed multi-profile persistence:
PlaygroundController._initAndLoad()now loads all saved profiles from storage, preventing loss of secondary profiles upon app restart or hot restart (Shift+R).
- Fixed multi-profile persistence:
- International Localization Safety:
- Exported
materialUiLocalizationsDelegatesand robust fallback locale resolution to guarantee zeroMaterialLocalizationsruntime errors on systems running non-English system locales.
- Exported
1.5.0 #
- Multi-LLM Configuration Profiles & Manager (
LlmProfilesTab):- Create, switch, rename, duplicate (
clone()), and delete named LLM configuration profiles. - Profile fallback strategies and default profile resolution.
- Reorganized
LlmConfigFormwith execution limits (max tool calls, max turns, turn limit) and collapsible parameter sections.
- Create, switch, rename, duplicate (
- Safe Build-Phase State Dispatching (
_safeNotifyListeners):- Fixed
setState() or markNeedsBuild() called during buildassertion whenfetchActiveModelPrice()or configuration changes occur during the widget tree build phase. - Automatically defers notifications to
SchedulerPhase.postFrameCallbackswhen called duringpersistentCallbacks.
- Fixed
- Synchronous Rebuild Prevention in
AgentInspector:- Guarded
fetchActiveModelPrice()ininitState()anddidUpdateWidget()with post-frame callbacks.
- Guarded
- Workflow Scratchpad Memory & Progressive Discovery Integration:
- Integrated
WorkflowMemoryStoreinPlaygroundControllerwith dynamic blackboard tools (store_memory,recall_memory). - Improved
WorkflowSaveDialog: persists single most recent turn prompt and subprompts with clear omit warning banner. - Fixed tool selector in settings drawer: accurately displays active tool counts and selected tools across primary and subagent scopes.
- Integrated
1.4.2 #
- Responsive Full-Screen Dialogs on Mobile:
- All assistant management dialogs now automatically render as
Dialog.fullscreen(child: Scaffold(...))on mobile screen widths:SettingsPanel(Config, LLM, MCP servers viashowMcpSettingsDialogwithuseSafeArea: false).SkillsManagerDialog,SkillWizardDialog(including tool selector modal),SkillDetailsDialog,SkillSaveDialog, andSkillLoadDialog.WorkflowLoadDialogandWorkflowSaveDialog.MemoryArchiveDialog(Episodic Memory Archive & Search).EvalBenchmarkDialog(Evaluation & Benchmarking suite).EditMcpDialog,ServerToolsDialog, andRegisteredToolsDialog.
- All assistant management dialogs now automatically render as
- Mobile Layout & Overflow Fixes:
SettingsPanel: wrapped active tools status indicator inExpandedand compacted button padding to prevent horizontal text overflow on narrow displays.SettingsPanel: wrapped Persona / System Prompt title inExpandedto prevent overflow when long custom names are displayed.McpChatInputBar: stacked the paste-from-clipboard action directly below the attachment (paperclip) icon in a compact verticalColumn.WorkflowSaveDialog: modernized option selector using Flutter 3.32+RadioGroupandRadioListTilewith compact zero-padding.
1.4.1 #
- Web & WASM Compatibility:
- Decoupled native clipboard file and PowerShell reading behind conditional imports (
clipboard_native_reader_stub.darton Web/WASM,clipboard_native_reader_io.darton native desktop). - Removed unconditional
dart:ioimport fromClipboardContentServiceusingplatform_fileabstraction. - Added dedicated
embedded_llm.dartlightweight entrypoint exportingEmbeddedLlmDriverandEmbeddedLlmRegistrywithout pulling UI widgets or clipboard services.
- Decoupled native clipboard file and PowerShell reading behind conditional imports (
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.