feat: add attach-only vphone provider

BY
9d ago
+4318-1

Summary

Initial out-of-tree, attach-only vphone provider for agent-device. It connects to an existing running iOS guest on the same Apple Silicon Mac, verifies the machine and required RPC methods, and supports app open/close, flat snapshots, point input, text entry, scrolling, and PNG screenshots.

The API-v2 package has no credentials, remote lease/endpoint, VM lifecycle operations, app installation, launch arguments, recording, fill/clear semantics, or provider-specific direct-selector route. The published ESM bundle has no runtime dependencies or peerDependencies and loads with lifecycle scripts disabled.

Validation

  • The live tgz used 67b7c5dd4f2888ea6619302efcb91d2d66d1a89c. Public code 521ad4876fd33dd4b2fe34ea4673faf24df84283 is patch-identical outside docs/ and all checks were rerun there. Current head ffc1dd9de1dbc76b082985d9eeb079bed5376574 uses the equivalent branded type annotation directly and updates the public evidence.
  • pnpm typecheck: PASS.
  • pnpm build: PASS.
  • pnpm test: 6 files, 57 tests PASS.
  • pnpm test:package: packed install with scripts disabled plus CLI connect PASS; installed manifest has no runtime or peer dependencies.
  • Independent review completed with no remaining findings.
  • Real raft-iphone transcript: packed plugins add, verification, non-empty vphone-ios-tree, General click point, focused input, scroll, valid PNGs, close/disconnect, and final VM still running. The zero-delay text anomaly is disclosed in the public transcript.

No npm publication, VM lifecycle change, or Testbed production change is included. Hosted CI remains required at the PR head.