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
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,6 +209,8 @@ Flags:
209
209
-`--device <name>`
210
210
-`--udid <udid>` (iOS)
211
211
-`--serial <serial>` (Android)
212
+
-`--ios-simulator-device-set <path>` constrain iOS simulator discovery/commands to one simulator set (`xcrun simctl --set`)
213
+
-`--android-device-allowlist <serials>` constrain Android discovery/selection to comma/space-separated serials
212
214
-`--activity <component>` (Android app launch only; package/Activity or package/.Activity; not for URL opens)
213
215
-`--session <name>`
214
216
-`--state-dir <path>` daemon state directory override (default: `~/.agent-device`)
@@ -232,6 +234,11 @@ Flags:
232
234
-`--on-error stop` batch: stop when a step fails
233
235
-`--max-steps <n>` batch: max allowed steps per request
234
236
237
+
Isolation precedence:
238
+
- Discovery scope (`--ios-simulator-device-set`, `--android-device-allowlist`) is applied before selector matching (`--device`, `--udid`, `--serial`).
239
+
- If a selector points outside the scoped set/allowlist, command resolution fails with `DEVICE_NOT_FOUND` (no host-global fallback).
240
+
- When `--ios-simulator-device-set` is set (or its env equivalent), iOS discovery is simulator-set only (physical iOS devices are not enumerated).
241
+
235
242
TV targets:
236
243
- Use `--target tv` together with `--platform ios|android|apple`.
237
244
- TV target selection supports both simulator/emulator and connected physical devices (AppleTV + AndroidTV).
@@ -465,6 +472,9 @@ pnpm build
465
472
Environment selectors:
466
473
-`ANDROID_DEVICE=Pixel_9_Pro_XL` or `ANDROID_SERIAL=emulator-5554`
467
474
-`IOS_DEVICE="iPhone 17 Pro"` or `IOS_UDID=<udid>`
475
+
-`AGENT_DEVICE_IOS_SIMULATOR_DEVICE_SET=<path>` (or `IOS_SIMULATOR_DEVICE_SET=<path>`) to scope all iOS simulator discovery/commands to one simulator set.
476
+
-`AGENT_DEVICE_ANDROID_DEVICE_ALLOWLIST=<serials>` (or `ANDROID_DEVICE_ALLOWLIST=<serials>`) to scope Android discovery to allowlisted serials.
0 commit comments