Skip to content

feat(ios-esp32): add ESP32 iPhone adapter for Midscene Connect - #46

Merged
await-ovo merged 7 commits into
mainfrom
feat/esp32-iphone-agent
Dec 2, 2026
Merged

await-ovo merged 7 commits into
mainfrom
feat/esp32-iphone-agent

Conversation

@await-ovo

@await-ovo await-ovo commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add @midscene/ios-esp32 (packages/ios-esp32), a Midscene Connect adapter backed by esp32-iphone-agent (esp32agent CLI) for running vision-driven E2E tests on unmodified physical iPhones via an external ESP32 Bluetooth HID board.

  • Exposes AirPlay native-size screenshots (with stale-frame retry budget) and touch/keyboard/system primitives (tap, doubleClick, longPress, swipe, scroll, typeText, keyboardPress, clearInput, homeButton) over Midscene Connect.
  • Provides the ios-esp32 CLI with automatic board discovery, interactive selection for multiple boards, --device/ESP32AGENT_DEVICE support, and graceful shutdown.
  • Adds unit tests (tests/connect.test.ts), English/Chinese package READMEs, and root README package links.
  • Upgrades external @midscene/connect, @midscene/core, and @midscene/shared dependencies across the workspace to 1.19.0.

Checklist

  • Lint passes (pnpm lint:check)
  • Build and typecheck pass (pnpm build, pnpm typecheck)
  • Relevant tests pass (pnpm test or a filtered suite)
  • Documentation is updated, if applicable
  • Hardware changes are verified, if applicable
    • Simulated / unit tests: pnpm test passed across all 9 workspace packages (including @midscene/ios-esp32 6/6 with mock esp32agent fixture).
    • Physical device verification: Verified on a real iPhone paired with an ESP32 Agent board (esp32agent v0.1.5) via both direct Midscene Connect HTTP API calls and end-to-end agentOverConnectProtocol + aiAct / aiAssert (creating and verifying alarms in the Clock app).

@await-ovo
await-ovo marked this pull request as ready for review December 2, 2026 07:17
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-02T09:11:27.184050Z 823295e New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@await-ovo
await-ovo merged commit d27b216 into main Dec 2, 2026
5 checks passed
@await-ovo
await-ovo deleted the feat/esp32-iphone-agent branch December 2, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants