@e2edev/agent-device 0.3.0 → 0.3.1

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
@@ -1,6 +1,6 @@
1
1
  # @e2edev/agent-device
2
2
 
3
- The mobile engine for [`e2e`](https://www.npmjs.com/package/e2e), built on
3
+ The mobile engine for [`@e2edev/e2e`](https://www.npmjs.com/package/@e2edev/e2e), built on
4
4
  [agent-device](https://github.com/callstack/agent-device): iOS simulators and
5
5
  Android emulators through the same `@e2edev/e2e/engine` contract the browser engine
6
6
  implements. A test written against `screen`, `expect`, `app`, and `agent` runs
@@ -8,7 +8,7 @@ on a device target unchanged; nothing in `e2e` core knows this package exists.
8
8
 
9
9
  ## Install
10
10
 
11
- Run `npx @e2edev/e2e@beta init` and choose **agent-device** for a Settings
11
+ Run `npx @e2edev/e2e init` and choose **agent-device** for a Settings
12
12
  example with optional AI testing. Init defaults to iOS on macOS and Android
13
13
  elsewhere; change the platform in `e2e.config.ts` when needed.
14
14
  Or add the packages to an existing project:
@@ -22,7 +22,7 @@ with an emulator. Run `npx agent-device doctor` once before handing the target
22
22
  to the runner.
23
23
 
24
24
  ```ts title="e2e.config.ts"
25
- import { defineConfig } from '@e2edev/e2e';
25
+ import type { E2EConfig } from '@e2edev/e2e';
26
26
  import { createAgent } from '@e2edev/e2e/agent';
27
27
  import { agentDevice } from '@e2edev/agent-device';
28
28
  import { agentDeviceTools } from '@e2edev/agent-device/tools';
@@ -30,14 +30,14 @@ import { agentDeviceTools } from '@e2edev/agent-device/tools';
30
30
  const iphone = agentDevice({ platform: 'ios', app: 'Settings' });
31
31
  const pixel = agentDevice({ platform: 'android', app: 'com.android.settings' });
32
32
 
33
- export default defineConfig({
33
+ export default {
34
34
  targets: [
35
35
  { name: 'iphone', platform: 'ios', engine: iphone },
36
36
  { name: 'pixel', platform: 'android', engine: pixel },
37
37
  ],
38
38
  workers: 1,
39
39
  agent: { executor: createAgent({ tools: agentDeviceTools(iphone, pixel) }) },
40
- });
40
+ } satisfies E2EConfig;
41
41
  ```
42
42
 
43
43
  A test written against `agent`, `app`, `screen`, and `device` runs on both
@@ -140,4 +140,4 @@ through a deterministic `screen` action in a setup step instead.
140
140
 
141
141
  ## Documentation
142
142
 
143
- Full documentation lives at [e2e.dev](https://e2e.dev).
143
+ Full documentation lives at [e2e.docs.buildwithfern.com](https://e2e.docs.buildwithfern.com).
package/dist/engine.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The agent-device engine for e2e (RFC0002): a mobile body built with the
2
+ * The agent-device engine for e2e: a mobile body built with the
3
3
  * public `defineEngine`, validated by the same rules and graded by the same
4
4
  * capabilities as any other engine. Core imports nothing from here; this
5
5
  * package imports the contract from `@e2edev/e2e/engine` and contributes the
package/dist/engine.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The agent-device engine for e2e (RFC0002): a mobile body built with the
2
+ * The agent-device engine for e2e: a mobile body built with the
3
3
  * public `defineEngine`, validated by the same rules and graded by the same
4
4
  * capabilities as any other engine. Core imports nothing from here; this
5
5
  * package imports the contract from `@e2edev/e2e/engine` and contributes the
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@e2edev/agent-device",
3
- "version": "0.3.0",
4
- "description": "agent-device mobile engine (iOS and Android) for the e2e agentic end-to-end testing standard",
3
+ "version": "0.3.1",
4
+ "description": "agent-device mobile engine (iOS and Android) for e2e agentic end-to-end testing",
5
5
  "keywords": [
6
6
  "e2e",
7
7
  "testing",
@@ -49,7 +49,7 @@
49
49
  "dependencies": {
50
50
  "agent-device": "0.20.10",
51
51
  "pngjs": "7.0.0",
52
- "zod": "4.4.3"
52
+ "zod": "4.5.4"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "ai": "^7.0.0",
@@ -66,7 +66,7 @@
66
66
  "ai": "7.0.37",
67
67
  "typescript": "7.0.2",
68
68
  "vitest": "4.1.10",
69
- "@e2edev/e2e": "0.5.0"
69
+ "@e2edev/e2e": "0.6.0"
70
70
  },
71
71
  "engines": {
72
72
  "node": ">=22.12.0"