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: README.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
@@ -65,7 +65,8 @@ In non-JSON mode, core mutating commands print a short success acknowledgment so
65
65
66
66
- Startup timing is available on iOS and Android from `open` command round-trip sampling.
67
67
- Android app sessions also sample CPU (`adb shell dumpsys cpuinfo`) and memory (`adb shell dumpsys meminfo <package>`) when the session has an active app package context.
68
-
- Android CPU data is a recent process snapshot and may read as `0` for idle apps; Android memory values are reported in kilobytes from `dumpsys meminfo`.
68
+
- Apple app sessions on macOS and iOS simulators also sample CPU and memory from process snapshots resolved from the active app bundle ID.
69
+
- Physical iOS devices still report CPU and memory as unavailable in this release.
Copy file name to clipboardExpand all lines: skills/agent-device/references/debugging.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@ Logging is off by default. Enable it only when you need a debugging window.
36
36
- Default app logs live under `~/.agent-device/sessions/<session>/app.log`.
37
37
-`logs clear --restart` is the fastest clean repro loop.
38
38
-`network dump [limit] [summary|headers|body|all]` parses recent HTTP(s) entries from the same session app log.
39
+
- On macOS, `network dump` is app-scoped and only sees Unified Logging associated with the active session app.
39
40
- On iOS simulators, `network dump` can recover recent app log history with `simctl log show` when the live session stream is sparse, so check the returned notes before assuming the repro window was empty.
40
41
- On iOS, `network dump` is still limited to what Unified Logging exposes for the app process. If the app does not emit request metadata there, `network dump` can legitimately return no HTTP entries even during a real repro.
41
42
- Summary output already shows timestamp, status, and duration when the log backend exposes them.
@@ -44,6 +45,7 @@ Logging is off by default. Enable it only when you need a debugging window.
44
45
-`logs doctor` checks backend and runtime readiness for the current session and device.
45
46
-`logs mark "before tap"` inserts a timestamped marker into the app log.
46
47
- Android `network dump` surfaces timestamps from logcat-style prefixes and can backfill status and request/response duration from adjacent GIBSDK packet lines, so check it before dumping raw log windows.
48
+
- Android app-log streaming rebinds to the current app PID after relaunches, so rerun the repro window before assuming the last log slice is stale.
47
49
- Marker lines are emitted with the `[agent-device][mark][...]` prefix. When you grep later, prefer a narrow pattern such as `grep -n -E "agent-device.*mark|before tap" <path>`.
48
50
- Session app logs can contain runtime data, headers, or payload fragments. Review them before sharing.
49
51
-`logs start` requires an active app session and appends to `app.log`.
@@ -78,16 +80,16 @@ If the app showed a visible warning or error overlay during the flow:
78
80
79
81
## Alerts and permissions
80
82
81
-
Use `alert` for iOS simulator permission dialogs instead of tapping coordinates.
83
+
Use `alert` for iOS simulator permission dialogs and macOS desktop alerts instead of tapping coordinates.
82
84
83
85
```bash
84
86
agent-device alert wait 5000
85
87
agent-device alert accept
86
88
```
87
89
88
-
-`alert` is only supported on iOS simulators.
90
+
-`alert` is supported on iOS simulators and macOS desktop targets.
89
91
-`alert accept` and `alert dismiss` retry internally for a short window, so you usually do not need manual sleeps.
90
-
- If a permission sheet is visible in `snapshot` or `screenshot` but `alert accept` says no alert was found, treat it as normal tappable UI for that run: take a scoped `snapshot -i -s "<visible label>"` and `press @ref` instead of looping on `alert`.
92
+
- If a permission sheet or modal is visible in `snapshot` or `screenshot` but `alert accept` says no alert was found, treat it as normal tappable UI for that run: take a scoped `snapshot -i -s "<visible label>"` and `press @ref` instead of looping on `alert`.
91
93
- iOS 16+ "Allow Paste" prompts are suppressed under XCUITest. Use `xcrun simctl pbcopy booted` when you need to seed simulator clipboard content directly.
0 commit comments