You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/agent-device/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ Use this skill as a router with mandatory defaults. Read this file first. For no
48
48
- Use `get`, `is`, or `find` when they can answer the question without changing UI state.
49
49
- Use `fill` to replace text.
50
50
- Use `type` to append text.
51
-
- When a task asks to "go back", prefer `back --in-app` for predictable app-owned navigation and reserve plain `back` or`back --system` for platform back gestures or button semantics.
51
+
- When a task asks to "go back", use plain `back` for predictable app-owned navigation and reserve `back --system` for platform back gestures or button semantics.
52
52
- If there is no simulator, no app install, or no open app session yet, switch to `bootstrap-install.md` instead of improvising setup steps.
53
53
- Use the smallest unblock action first when transient UI blocks inspection, but do not navigate, search, or enter new text just to make the UI reveal data unless the user asked for that interaction.
54
54
- Do not use external lookups to compensate for missing on-screen data unless the user asked for them.
Copy file name to clipboardExpand all lines: website/docs/docs/commands.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,8 @@ agent-device app-switcher
37
37
-`open <url>` deep links are supported on Android and iOS.
38
38
-`open <app> <url>` opens a deep link on iOS.
39
39
-`open --platform macos --surface app|frontmost-app|desktop|menubar` selects the macOS session surface explicitly. `app` is the default when an app argument is provided.
40
-
-`back`without flags preserves the legacy default: on Apple targets it prefers an in-app back control first, then falls back to the platform back gesture or remote action; on Android it sends the system back event.
41
-
-`back --in-app`asks for app-owned back navigation explicitly. On Apple targets that means visible in-app back UI only. On Android this currently falls back to the same system back event because Android routes in-app back through that platform event.
40
+
-`back`now defaults to app-owned back navigation. On Apple targets that means visible in-app back UI only. On Android this currently maps to the same back keyevent because Android routes in-app back through that platform event.
41
+
-`back --in-app`is an explicit alias for the default app-owned behavior.
42
42
-`back --system` asks for system back input explicitly. On Android this is the normal back keyevent. On iOS and tvOS it uses the platform back gesture or Siri Remote menu action. On macOS, where there is no generic system back input, `back --system` reports unavailable instead of falling back to app-owned navigation.
43
43
- On iOS devices, `http(s)://` URLs open in Safari when no app is active. Custom scheme URLs require an active app in the session.
44
44
-`AGENT_DEVICE_SESSION` and `AGENT_DEVICE_PLATFORM` can pre-bind a default session/platform for CLI automation runs, so normal commands (`open`, `snapshot`, `press`, `fill`, `screenshot`, `devices`, and `batch`) do not need those flags repeated on every call.
@@ -58,7 +58,7 @@ agent-device app-switcher
58
58
```bash
59
59
agent-device open "https://example.com" --platform ios # open link in web browser
60
60
agent-device open MyApp "myapp://screen/to" --platform ios # open deep link to MyApp
61
-
agent-device back --in-app --platform ios # tap visible app back UI only
61
+
agent-device back --platform ios# tap visible app back UI only
62
62
agent-device back --system --platform ios # use edge-swipe or remote back action
63
63
agent-device open com.example.myapp --remote-config ./agent-device.remote.json --relaunch
0 commit comments