slipstream_agent 0.1.1
slipstream_agent: ^0.1.1 copied to clipboard
An in-process companion for the Flutter Slipstream agent tools.
0.1.1 #
- Update
GoRouterAdapterto reference the router via the [RouterConfig] parent type for additional type safety.
0.1.0 #
Initial release.
SlipstreamAgent.init()registers VM service extensions that the Flutter Slipstream MCP server uses for enhanced app interaction. All extensions are no-ops outsidekDebugModeand are tree-shaken from release builds.- Service extensions registered:
ext.slipstream.ping— session detection and version reportingext.slipstream.perform_action— tap, set_text, scroll, and scroll_until_visible via element-tree finders (byKey,byType,byText,bySemanticsLabel)ext.slipstream.enable_semantics— enables the Flutter semantics treeext.slipstream.get_semantics— returns visible semantics nodes as structured JSON with screen-space bounds (more accurate than the out-of-process evaluate-based implementation)ext.slipstream.navigate— navigates to a route path via the registeredRouterAdapterext.slipstream.get_route— returns the current route path via the registeredRouterAdapter
- Telemetry events posted to the VM service
Extensionstream:ext.slipstream.windowResized— fired on window/display metric changesext.slipstream.routeChanged— fired on route changes (requires aRouterAdapter)
GoRouterAdapterprovidesgo_routersupport (but without a transitive dependency onpackage:go_router).