v0.3.0 of mcpe2e

2026-03-09T05:46:43.930058Z

0.3.0 was published on Mar 9, 2026.

Changelog excerpt:
### Added

- `McpTreeInspector`— walks the full widget tree from `WidgetsBinding.rootElement`with zero intrusion. Reads Text values, TextField content, button labels/enabled state, Checkbox/Switch/Radio checked state, Slider current value, AppBar titles, AlertDialog and SnackBar presence. No widget registration required.
- `McpScreenCapture`— captures the current screen as PNG using Flutter's internal layer tree (`renderViews.first.debugLayer`). Zero widgets added to the tree. Returns `{"error":"not_available_in_release"}`gracefully in release builds.
- `GET /mcp/tree`endpoint — returns the full widget tree JSON via `McpTreeInspector`
- `GET /mcp/screenshot`endpoint — returns the screen as PNG base64 via `McpScreenCapture`
- Production guard in `McpEventServer.start()`: exits immediately if not in debug or profile mode
- `mcpe2e.dart`exports `McpTreeInspector`and `McpScreenCapture`

---