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
{{ message }}
Repository navigation
Commit 80e097e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(snapshot): name the header app from Android application windows
Address review: scanning node packages let system UI, framework dialogs or
an IME win the header when the session app was absent. The Android helper
classifier already reads window types, so it now lists the captured
non-system application windows (androidSnapshot.applicationWindowPackages),
and the header names the topmost one only when none belongs to the session
app.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: website/docs/docs/snapshots.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
@@ -80,7 +80,7 @@ and disclosure behavior ([#2682](https://github.com/callstack/agent-device/issue
80
80
now, and hints that point to hidden list content.
81
81
- Use `snapshot -i` by default in agent loops.
82
82
- On Android, `snapshot -i` also keeps the title and message of a standard alert dialog, so you can see what its buttons confirm.
83
-
- On Android, the `Page:` and `App:` lines (`appName` and `appBundleId` in `--json`) name the app the snapshot shows. If the session app is not in front, for example after a failed `open`, they name the app that is, such as the launcher. The session keeps its app.
83
+
- On Android, the `Page:` and `App:` lines (`appName` and `appBundleId` in `--json`) name the session app while the snapshot holds one of its windows. When it holds none, for example after a failed `open`, they name the topmost captured application window, such as the launcher; system UI and keyboard windows never count. `androidSnapshot.applicationWindowPackages` in `--json` lists those windows. The session keeps its app.
84
84
- On Android, repeating an unfiltered snapshot when nothing on screen changed (content or bounds) returns a short acknowledgement instead of the tree. `-i`, `-d`, `-s`, `--json`, and `--raw` always print full output. Add `--force-full` to get the full tree anyway.
85
85
- The default text output is a compact view for planning and targeting actions. It lists visible elements first and may collapse helper and accessibility noise. Use `--raw` or `--json` when you need the full provider tree. Keep `--raw` for troubleshooting, such as when you need the full off-screen tree that summaries abbreviate.
86
86
- Off-screen interactive content is collapsed into summaries that show only a few labels, such as `[off-screen below] 3 interactive items: "Privacy", "Battery", "About"`.
0 commit comments