mcp_playground_dart 0.3.0
mcp_playground_dart: ^0.3.0 copied to clipboard
Pure Dart core for AI Agent Playground. Agent execution engine, LLM adapters, MCP clients, and tool orchestration — no Flutter dependency.
0.3.0 #
- Windows Stdio MCP Server Execution: Switched Windows NPX server launching to direct
node.exeexecution withnpx-cli.js, eliminatingcmd.exestdin pipe stalls during MCPinitializehandshakes. - Mistral Streaming: Fixed
_MistralPatchClientbuffering live SSE event streams, enabling real-time chunk streaming. - Added
LocalMcpRuntime.findNpxCliand_resolveWindowsExehelpers for robust tool detection on Windows. - Unified 0.3.0 release across the MCP Playground ecosystem.
0.2.2 #
- Added
SkillImporter.collectNeededTools()— collects all tool names referenced by a skill manifest (declared tools + per-step enabledToolNames). - Added
SkillImporter.buildUnresolvableToolsWarning()— builds a human-readable warning listing missing tools with capability/install/registry details. McpAgentEngine.registerAgentFromManifest()now tracks resolved capability tools and emits anAgentLogEventwarning when unresolvable tools are detected.
0.2.1 #
- Added
McpAgentEngine.registerAgentFromManifest()— builds and registers anAgentdirectly from a parsedSkillManifest, handling tool-declaration →McpServerConfigmapping and prompt-step conversion. Accepts optionaldartTools,workingDir, andserverOverrides. - Updated
SkillExporter.toSkillMd()compatibility tag frommcp_playgroundto"Universal"to match agentskills.io TealKit standard. - Added
dartToolsparameter toregisterAgentFromManifest()for Dart-native local tool injection (weather, charts, SSH).
0.2.0 #
- BREAKING: SKILL.md export/import format changed to agentskills.io TealKit-compatible standard (
compatibility:,metadata:,workflow:,agents:). Legacy custom format (system_prompt:,prompts:,tools:) is deprecated. - Added
SkillManifest,SkillPromptStep,SkillToolDeclarationmodels with 3-tier portability (capability,local,external). - Added
SkillExporter— convertsSavedPlaygroundSetup/conversation → SKILL.md YAML frontmatter. - Added
SkillImporter— parses SKILL.md (both TealKit and legacy formats) →SavedPlaygroundSetupwith multi-prompt step conversion. - Added
SkillStorageAdapterabstract interface withStoredSkillInfofor pluggable skill ZIP persistence. - Added
yamldependency for robust YAML parsing.
0.1.4 #
- Upgraded dependencies:
anthropic_sdk_dartto^6.0.0,googleai_dartto^9.0.0,ollama_dartto^2.4.0,httpto^1.6.0.
0.1.3 #
- Refactored streaming support for Small Language Models (SLMs) and embedded models.
- Added dynamic static delegates
embeddedHandlerandembeddedStreamHandlerto plug on-device inference engines without hard code dependencies. - Added a new headless CLI example
embedded_exampledemonstrating on-device Hugging Face GGUF model downloading, offline inference, local weather tool execution, and token-by-token terminal stream outputs.
0.1.2 #
- Expose
agentEventsstream inMcpAgentEngineand return a reactive event stream fromrunAsyncfor asynchronous streaming execution. - Add support for loading
LlmConfighyperparameters (temperature,maxTokens,topP,topK,repeatPenalty) inside provider clients. - Isolate local stdio client dependencies from web/wasm builds via default stub conditional imports.
- Protocol and logging compliance updates.
0.1.1 #
- Fixed WASM and Web compilation by integrating
universal_iofor subprocess/file wrappers. - Added pure Dart
McpChangeNotifierto core clients to remove Flutter dependencies. - Added comprehensive self-contained package example for pub.dev.
0.1.0 #
- Initial release of the pure-Dart core package.
- Built-in multi-LLM SDK adapters (OpenAI, Claude, Gemini, Ollama, Mistral).
- HTTP/SSE stateful Model Context Protocol (MCP) clients with authentication and health-monitoring reconnection.
- Desktop stdio process execution client for Node.js and Python MCP servers.
- Core
McpAgentEnginesupporting sub-prompt orchestration pipelines, iterative tool loops, and loop-protection.