@e2e-dev/mobile 0.12.7 → 0.12.8-nightly-20261114030211

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -69,7 +69,7 @@ the other old app options are `INVALID_CONFIG` naming their key under `app`.
69
69
  | Option | Meaning |
70
70
  | --- | --- |
71
71
  | `platform` | `'ios'` or `'android'`. |
72
- | `device` | Simulator or emulator name or UDID, or a connected phone's name. A list is a pool: one worker per entry, worker slot `n` driving the `n`th. Omitted, every booted device of the platform is the pool, as many as the run has slots. |
72
+ | `device` | Simulator or emulator name or UDID, or a paired iPhone or iPad's name or a connected Android phone's name. A list is a pool: one worker per entry, worker slot `n` driving the `n`th. Omitted, every booted device of the platform is the pool, as many as the run has slots, a reachable paired iPhone or iPad included; with none booted, agent-device boots one (on iOS an iPhone over an iPad over an Apple TV, on Android a phone or tablet over a TV, then the newest OS, then name order). |
73
73
  | `session` | agent-device session name, before the worker slot: slot `n` drives its device under `<session>-<n>`, `e2e-<target name>-<n>` by default. One run per session at a time. |
74
74
  | `snapshot` | `'full'` (default, includes static text) or `'interactive'` (actionable nodes only). |
75
75
  | `settle` | Milliseconds the UI must hold still after an agent action before the agent observes again, default `150`; `false` skips the wait. A test's steps do not settle, except `device.back()`; `expect` verifies their outcome. |
package/dist/.build.json CHANGED
@@ -1 +1 @@
1
- {"version":"0.12.7"}
1
+ {"version":"0.12.8-nightly-20261114030211"}
package/dist/actions.d.ts CHANGED
@@ -34,7 +34,7 @@ export declare const DEVICE_POINTER_ACTIONS: readonly PointerActionKind[];
34
34
  * actions do; `stabilization` is the post-gesture option a swipe carries.
35
35
  * A double tap is two presses (`count: 2`), as it is on a node:
36
36
  * agent-device's own double-tap gesture reaches a React Native `Pressable`
37
- * on iOS as one press, while two presses in a row land about 285 ms apart.
37
+ * on iOS as one press, while two presses in a row land about 285 to 335 ms apart.
38
38
  * The kinds outside `DEVICE_POINTER_ACTIONS` never arrive: the harness
39
39
  * routes only declared kinds. They are refused here so the switch stays
40
40
  * exhaustive against the contract.
package/dist/actions.js CHANGED
@@ -45,7 +45,7 @@ export const DEVICE_POINTER_ACTIONS = ['tap', 'doubleTap', 'longPress', 'swipeTo
45
45
  * actions do; `stabilization` is the post-gesture option a swipe carries.
46
46
  * A double tap is two presses (`count: 2`), as it is on a node:
47
47
  * agent-device's own double-tap gesture reaches a React Native `Pressable`
48
- * on iOS as one press, while two presses in a row land about 285 ms apart.
48
+ * on iOS as one press, while two presses in a row land about 285 to 335 ms apart.
49
49
  * The kinds outside `DEVICE_POINTER_ACTIONS` never arrive: the harness
50
50
  * routes only declared kinds. They are refused here so the switch stays
51
51
  * exhaustive against the contract.
package/dist/options.d.ts CHANGED
@@ -39,10 +39,12 @@ export interface MobileOptions {
39
39
  * drives the `n`th, so `workers` at or above the pool size runs the target's
40
40
  * files across every device at once. Omitted, the pool is every booted device
41
41
  * of the platform at `prepare` that no other agent-device session holds, as
42
- * many as the run has slots; with none booted, agent-device boots a shut-down
43
- * one: a phone or tablet over a TV, then the newest OS, then name order (a
44
- * stopped Android emulator reports no OS version, so the name decides). With
45
- * every booted one held, `prepare` fails. A `DeviceProvider` leases hosted devices
42
+ * many as the run has slots. A paired iPhone or iPad that is reachable (USB or network) counts as booted and
43
+ * joins the pool. With none booted, agent-device boots a shut-down one: on
44
+ * iOS an iPhone over an iPad over an Apple TV, on Android a phone or tablet
45
+ * over a TV, then the newest OS, then name order (a stopped Android emulator
46
+ * reports no OS version, so the name decides). With every booted one held,
47
+ * `prepare` fails. A `DeviceProvider` leases hosted devices
46
48
  * instead: one per worker slot at `prepare`, each driven through the daemon
47
49
  * and client configuration the lease names. A replacement worker resumes a
48
50
  * healthy agent-device session on the same lease. Forced worker shutdown
package/dist/pool.js CHANGED
@@ -104,7 +104,7 @@ class BootedDevices {
104
104
  throw new EngineError('ENGINE_FAILURE', `every booted ${this.platform} device is held by another agent-device session (${heldBy}); boot another one, close a holding session, or name the device in the target's \`device\` option`, { retryable: false });
105
105
  }
106
106
  if (chosen.length === 0) {
107
- info.log(`no booted ${this.platform} device; agent-device boots a shut-down one (newest OS, then name)`);
107
+ info.log(`no booted ${this.platform} device; agent-device boots a shut-down one (iPhone over iPad over Apple TV on iOS, phone or tablet over TV on Android, then newest OS, then name)`);
108
108
  return [{}];
109
109
  }
110
110
  const skipped = held.length === 0 ? '' : `, skipping ${held.length} held by another agent-device session (${heldBy})`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e2e-dev/mobile",
3
- "version": "0.12.7",
3
+ "version": "0.12.8-nightly-20261114030211",
4
4
  "description": "Mobile engine (iOS and Android) for e2e agentic end-to-end testing, built on agent-device",
5
5
  "keywords": [
6
6
  "e2e",
@@ -61,7 +61,7 @@
61
61
  },
62
62
  "peerDependencies": {
63
63
  "ai": "^7.0.0",
64
- "e2e": ">=0.22.1 <1"
64
+ "e2e": "0.23.2-nightly-20261114030211"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "ai": {
@@ -71,7 +71,7 @@
71
71
  "devDependencies": {
72
72
  "@types/node": "26.6.6",
73
73
  "ai": "7.0.170",
74
- "e2e": "0.23.1",
74
+ "e2e": "0.23.2-nightly-20261114030211",
75
75
  "typescript": "7.0.2",
76
76
  "vitest": "5.1.0"
77
77
  },