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
-`--platform ios|android|apple` (`apple` aliases the iOS/tvOS backend)
204
+
-`--target mobile|tv` select device class within platform (requires `--platform`; for example AndroidTV/tvOS)
204
205
-`--device <name>`
205
206
-`--udid <udid>` (iOS)
206
207
-`--serial <serial>` (Android)
@@ -220,8 +221,22 @@ Flags:
220
221
-`--on-error stop` batch: stop when a step fails
221
222
-`--max-steps <n>` batch: max allowed steps per request
222
223
224
+
TV targets:
225
+
- Use `--target tv` together with `--platform ios|android|apple`.
226
+
- TV target selection supports both simulator/emulator and connected physical devices (AppleTV + AndroidTV).
227
+
- AndroidTV app launch/app listing use TV launcher discovery (`LEANBACK_LAUNCHER`) and fallback component resolution when needed.
228
+
- tvOS uses the same runner-driven interaction/snapshot flow as iOS (`snapshot`, `wait`, `press`, `fill`, `get`, `scroll`, `back`, `home`, `app-switcher`, `record`, and related selector flows).
229
+
- tvOS back/home/app-switcher use Siri Remote semantics in the runner (`menu`, `home`, double-home).
230
+
- tvOS follows iOS simulator-only command semantics for helpers like `pinch`, `settings`, and `push`.
231
+
232
+
Examples:
233
+
-`agent-device open YouTube --platform android --target tv`
- tvOS targets are selectable (`--platform ios --target tv` or `--platform apple --target tv`) and support runner-driven interaction/snapshot commands.
403
419
-`record` supports iOS simulators and physical iOS devices.
-`AGENT_DEVICE_IOS_PROVISIONING_PROFILE=<profile>` optional provisioning profile specifier for iOS device runner signing.
440
456
-`AGENT_DEVICE_IOS_RUNNER_DERIVED_PATH=<path>` optional override for iOS runner derived data root. By default, simulator uses `~/.agent-device/ios-runner/derived` and physical device uses `~/.agent-device/ios-runner/derived/device`. If you set this override, use separate paths per kind to avoid simulator/device artifact collisions.
441
-
-`AGENT_DEVICE_IOS_CLEAN_DERIVED=1` rebuild iOS runner artifacts from scratch for runtime daemon-triggered builds (`pnpm ad ...`) on the selected path. `pnpm build:xcuitest`/`pnpm build:all` already clear `~/.agent-device/ios-runner/derived/device` and do not require this variable. When `AGENT_DEVICE_IOS_RUNNER_DERIVED_PATH` is set, cleanup is blocked by default; set `AGENT_DEVICE_IOS_ALLOW_OVERRIDE_DERIVED_CLEAN=1` only for trusted custom paths.
457
+
-`AGENT_DEVICE_IOS_CLEAN_DERIVED=1` rebuild iOS runner artifacts from scratch for runtime daemon-triggered builds (`pnpm ad ...`) on the selected path. `pnpm build:xcuitest` (alias of `pnpm build:xcuitest:ios`), `pnpm build:xcuitest:tvos`, and `pnpm build:all` already clear their default derived paths and do not require this variable. When `AGENT_DEVICE_IOS_RUNNER_DERIVED_PATH` is set, cleanup is blocked by default; set `AGENT_DEVICE_IOS_ALLOW_OVERRIDE_DERIVED_CLEAN=1` only for trusted custom paths.
- iOS `appstate` is session-scoped; Android `appstate` is live foreground state.
119
127
- Clipboard helpers: `clipboard read` / `clipboard write <text>` are supported on Android and iOS simulators; iOS physical devices are not supported yet.
120
128
- iOS settings helpers are simulator-only; use `appearance light|dark|toggle` and faceid `match|nonmatch|enroll|unenroll`.
129
+
- For AndroidTV/tvOS selection, always pair `--target` with `--platform` (`ios`, `android`, or `apple` alias); target-only selection is invalid.
0 commit comments