nextSteps property
What the agent can do about it.
Implementation
List<String> get nextSteps => switch (this) {
missing => const [
'build it with `cargo build --release` in packages/glint_mcp/$deviceHidBuildDir, or set $deviceHidEnv'
],
deviceNotFound || usbmuxd => const ['connect the iPhone by cable and unlock it, then retry'],
wifiOnly => const [
'plug the iPhone in by cable and unlock it, then retry',
'over Wi-Fi alone, `device op:screenshot` and `device op:status` still work'
],
tunnel => const ['unlock the iPhone and confirm it trusts this Mac and has Developer Mode on, then retry'],
developerImage => const [
'run any app on the phone from Xcode or `flutter run` once so the developer disk image mounts, then retry'
],
deviceBusy => const ['close Device Hub (Xcode) or any other screen viewer of this phone, then retry'],
unsupportedText => const [
'only printable ASCII types through the hardware keyboard; for other text focus a Flutter field and use input:auto'
],
stream || input || badRequest => const ['retry once; if it repeats, attach again'],
};