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/references/session-management.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,8 @@ Sessions isolate device context. A device can only be held by one session at a t
14
14
- Name sessions semantically.
15
15
- Close sessions when done.
16
16
- Use separate sessions for parallel work.
17
-
- In iOS sessions, use `open <app>` for simulator/device. `open <url>` is simulator-only.
17
+
- In iOS sessions, use `open <app>`. `open <url>` opens deep links; on devices `http(s)://` opens Safari when no app is active, and custom schemes require an active app in the session.
18
+
- In iOS sessions, `open <app> <url>` opens a deep link.
18
19
- On iOS, `appstate` is session-scoped and requires a matching active session on the target device.
19
20
- For dev loops where runtime state can persist (for example React Native Fast Refresh), use `open <app> --relaunch` to restart the app process in the same session.
20
21
- Use `--save-script [path]` to record replay scripts on `close`; path is a file path and parent directories are created automatically.
0 commit comments