Fix Android boot completion and emulator launch modes
Merged
TH
8mo ago+744+744+012345678901234567890123456789-26-26-01234567890123456789
Summary
- add Android
bootsupport for explicit emulator startup by AVD name, including optional--headless - make
boot --platform android --device "Pixel 9 Pro XL"resolve running emulators faster and return immediately when already booted - avoid flaky emulator-name lookup hangs by preferring AVD getprop-based resolution before console fallback
- add unit coverage for headless/non-headless Android boot flows and selector resolution, plus docs/skill updates for new CLI behavior
- touched files: 10 (scope stayed in boot/session + Android device resolution + docs/tests)
Validation
pnpm typecheckpnpm test:unitpnpm test:smokepnpm build/usr/bin/time -p node bin/agent-device.mjs boot --platform android --device "Pixel 9 Pro XL" --json --debug(already-booted emulator path; exits quickly)/usr/bin/time -p node bin/agent-device.mjs boot --platform android --device "Pixel 9 Pro XL" --headless --json