feat: add AndroidTV and tvOS target support
Merged
TH
9mo ago+752+752+012345678901234567890123456789-119-119-012345678901234567890123456789
Summary
Add AndroidTV/tvOS target support and enable tvOS runner-driven automation flows while reusing existing platform backends.
- Add
--target mobile|tvselection through device/session selectors and docs. - Add
--platform applealias that maps to the iOS/tvOS backend. - Remove tvOS capability hard block so tvOS follows the iOS command matrix by device kind.
- Update iOS runner destination/build resolution to pick
iOSvstvOSbased on selected target. - Update runner XCTest behavior for tvOS navigation semantics:
back-> menu remote action fallbackhome-> home remote actionapp-switcher-> double-home remote action- directional
swipe-> remote directional presses
- Make runner Xcode project multi-platform (
iOS + tvOS) so tvOS destinations are valid. - Keep AndroidTV launch/listing behavior category-aware (
LEANBACK_LAUNCHER). - Update README, website docs, and
skills/agent-devicewith tvOS runner support details and theapplealias.
Validation
pnpm typecheckpnpm test:unitpnpm test:smokepnpm build:xcuitestpnpm test:integration(fails in current environment on existing Android settings snapshot label assertion mismatch)xcodebuild build-for-testing ... -destination "generic/platform=tvOS Simulator"(blocked in this environment: tvOS Simulator runtime not installed)