Skip to content

Releases: mohn93/agent-wires

agent_wires_mcp 0.1.1

Choose a tag to compare

@mohn93 mohn93 released this 25 May 07:35

Post-launch iteration. Tool count grows 18 → 23 (5 new lifecycle tools). No breaking changes.

New: lifecycle tools

  • list_devices — discover what flutter can target (phones, sims, macOS, Chrome). Agent picks per-session
  • boot_app — explicit boot with device_id and wait: false (fire-and-forget so the agent can poll progress)
  • app_status — query state + latest_progress ("Running Xcode build…", "Installing Pods…") during long boots
  • stop_app — tear down to retarget device
  • hot_reload — re-inject sources, preserve state + route
  • hot_restart — cold restart in lazy mode (attached mode returns a clear error)

Boot: visible instead of black box

  • Lazy boot — MCP handshake answers in ms; flutter only starts on first tool call. Fixes Claude Code's 30s connection timeout
  • Progress streaming to stderr + app_status.latest_progress
  • Fail-fast on app.stop errors and error-level daemon logs (no more 10-min hangs)
  • Recovery: lazy sessions can re-boot from exited without restarting the MCP server
  • Default boot timeout 5 → 10 min

Perception tools — smaller, more accurate

  • snapshot defaults to compact mode (include_unresolved: false)
  • screenshot writes PNG to tmpfile, returns {path, width, height, size_bytes} (was 329k chars of inline base64)
  • inspect returns descendants + CustomPaint metadata

Sync — diagnose what's keeping the app awake

  • wait_for_idle returns structured blocked_by on timeout
  • ignore_animations flag

Tool descriptions

  • All 23 tools rewritten to disambiguate and teach the canonical agent loop. Most user-visible fix: agents now reach for snapshot first by default.

Full notes: CHANGELOG
pub.dev: https://pub.dev/packages/agent_wires_mcp/versions/0.1.1
Requires: agent_wires_probe ^0.1.3

agent_wires_probe 0.1.3

Choose a tag to compare

@mohn93 mohn93 released this 25 May 07:34

Post-launch iteration driven by real LLM-agent driving sessions.

Snapshot — route-aware and state-aware

  • Drops elements buried under a topmost full-screen route (no more phantom home-screen FABs in a Domain Details snapshot)
  • Per-element state field: on/off for Switch/SwitchListTile/CupertinoSwitch, checked/unchecked/indeterminate for Checkbox, slider value for Slider, etc. Hoisted from inner widget to labelled parent (a SwitchListTile reports state directly)
  • include_unresolved (default false) — unresolved[] array becomes unresolved_count, ~60% smaller snapshot

inspect — drill into custom widgets

  • descendants[] subtree returned by default (include_descendants, descendant_depth)
  • CustomPaint descendants expose painter runtime type + rendered size (lets the agent diagnose unaddressable pixel regions)

wait_for_idle — diagnose stuck idles

  • Structured timeout payload: {idle, blocked_by, in_flight_http, has_scheduled_frame, in_transient_callback}
  • New ignore_animations flag for screens with continuous spring animations

route_stack — zero-wiring multi-navigator

  • Reads Navigator.pages from the live tree at snapshot time. AutoRoute / GoRouter work without observer wiring
  • Full back-stack, deepest-first

screenshot — first-frame race fixed

  • Auto-waits one endOfFrame if no RepaintBoundary exists yet (cold-start)

Full notes: CHANGELOG
pub.dev: https://pub.dev/packages/agent_wires_probe/versions/0.1.3