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
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ Sessions isolate device context. A device can only be held by one session at a t
16
16
- Use separate sessions for parallel work.
17
17
- In iOS sessions, use `open <app>` for simulator/device. `open <url>` is simulator-only.
18
18
- 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.
19
+
- Use `--save-script [path]` to record replay scripts on `close`; path is a file path and parent directories are created automatically.
20
+
- For ambiguous bare `--save-script` values, prefer `--save-script=workflow.ad` or `./workflow.ad`.
19
21
- For deterministic replay scripts, prefer selector-based actions and assertions.
20
22
- Use `replay -u` to update selector drift during maintenance.
0 commit comments