flutter_webmcp 0.2.1
flutter_webmcp: ^0.2.1 copied to clipboard
A typed Dart API for exposing Flutter Web actions as WebMCP tools.
0.2.1 #
- Aligned the browser bindings and compatibility tests with the WebMCP Draft Community Group Report dated 26 August 2026.
- Expanded browser regression coverage for the current tool definition, annotations, registration options, and execution cancellation shape.
- Tolerate experimental browser builds where
registerToolreturns synchronously instead of returning the draft'sPromise<void>.
0.2.0 #
- Added
WebMcpToolScopefor automatic Flutter lifecycle management. - Added typed inputs with
WebMcpTypedTool<T>. - Added
WebMcpResulthelpers for text, structured, raw, and error results. - Added structured
WebMcpToolExceptionhandling without opaque Dart promise failures. - Added detailed support diagnostics through
WebMcp.support. - Added tool-call logging with status, duration, result, and local errors.
- Made execution cancellation data tolerant of browser implementations that do
not provide an
AbortSignal. - Added VM, browser, and Flutter widget regression tests.
- Added strict public API documentation, security guidance, package validation, and continuous integration checks for JavaScript and WebAssembly builds.
0.1.0 #
- Initial typed imperative WebMCP API.
- Tool registration and abort-based unregistration.
- Feature detection, JSON Schema input, annotations, and exposed origins.
- Dart VM fallback and tests.