agent-device 0.14.7 → 0.14.9

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.
Files changed (44) hide show
  1. package/README.md +119 -9
  2. package/android-snapshot-helper/README.md +4 -2
  3. package/android-snapshot-helper/dist/{agent-device-android-snapshot-helper-0.14.7.apk → agent-device-android-snapshot-helper-0.14.9.apk} +0 -0
  4. package/android-snapshot-helper/dist/agent-device-android-snapshot-helper-0.14.9.apk.sha256 +1 -0
  5. package/android-snapshot-helper/dist/{agent-device-android-snapshot-helper-0.14.7.manifest.json → agent-device-android-snapshot-helper-0.14.9.manifest.json} +6 -6
  6. package/dist/src/180.js +1 -1
  7. package/dist/src/208.js +1 -0
  8. package/dist/src/221.js +3 -3
  9. package/dist/src/6108.js +26 -0
  10. package/dist/src/7462.js +1 -0
  11. package/dist/src/7719.js +1 -0
  12. package/dist/src/9542.js +2 -2
  13. package/dist/src/9639.js +2 -2
  14. package/dist/src/9671.js +1 -0
  15. package/dist/src/9818.js +1 -1
  16. package/dist/src/android-adb.d.ts +11 -2
  17. package/dist/src/android-snapshot-helper.d.ts +12 -2
  18. package/dist/src/cli.js +82 -0
  19. package/dist/src/command-schema.js +382 -0
  20. package/dist/src/contracts.d.ts +1 -0
  21. package/dist/src/finders.d.ts +1 -0
  22. package/dist/src/index.d.ts +6 -0
  23. package/dist/src/index.js +1 -1
  24. package/dist/src/internal/bin.js +2 -461
  25. package/dist/src/internal/daemon.js +20 -20
  26. package/dist/src/io.js +1 -1
  27. package/dist/src/remote-config.js +1 -1
  28. package/dist/src/selectors.d.ts +1 -0
  29. package/dist/src/server.js +20 -0
  30. package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+CommandExecution.swift +86 -13
  31. package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Interaction.swift +160 -93
  32. package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Lifecycle.swift +1 -0
  33. package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Models.swift +3 -0
  34. package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Snapshot.swift +15 -0
  35. package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+SystemModal.swift +1 -0
  36. package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+TvRemote.swift +185 -0
  37. package/package.json +33 -6
  38. package/server.json +21 -0
  39. package/skills/agent-device/SKILL.md +11 -1
  40. package/skills/dogfood/SKILL.md +3 -1
  41. package/smithery.yaml +1 -0
  42. package/android-snapshot-helper/dist/agent-device-android-snapshot-helper-0.14.7.apk.sha256 +0 -1
  43. package/dist/src/2007.js +0 -26
  44. package/skills/react-devtools/SKILL.md +0 -48
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "agent-device",
3
- "version": "0.14.7",
4
- "description": "Agent-driven CLI for mobile UI automation, network inspection, and performance diagnostics across iOS, Android, tvOS, and macOS.",
3
+ "version": "0.14.9",
4
+ "description": "Agent-native CLI for AI mobile testing and app automation across iOS, Android, tvOS, Android TV, macOS, and Linux.",
5
+ "mcpName": "io.github.callstackincubator/agent-device",
5
6
  "license": "MIT",
6
7
  "author": "Callstack",
7
8
  "homepage": "https://agent-device.dev/",
@@ -92,10 +93,12 @@
92
93
  "fallow:baseline": "(fallow dead-code --save-baseline fallow-baselines/dead-code.json --summary || true) && (fallow dupes --save-baseline fallow-baselines/dupes.json --summary || true) && (fallow health --save-baseline fallow-baselines/health.json --summary || true)",
93
94
  "check:fallow": "fallow audit",
94
95
  "check:quick": "pnpm lint && pnpm typecheck",
95
- "check:tooling": "pnpm lint && pnpm typecheck && pnpm build",
96
+ "sync:mcp-metadata": "node scripts/sync-mcp-metadata.mjs",
97
+ "check:mcp-metadata": "node scripts/sync-mcp-metadata.mjs --check",
98
+ "check:tooling": "pnpm lint && pnpm typecheck && pnpm check:mcp-metadata && pnpm build",
96
99
  "check:unit": "pnpm test:unit && pnpm test:smoke",
97
100
  "check": "pnpm check:tooling && pnpm check:fallow && pnpm check:unit",
98
- "prepack": "pnpm build:all && pnpm package:android-snapshot-helper:npm",
101
+ "prepack": "pnpm check:mcp-metadata && pnpm build:all && pnpm package:android-snapshot-helper:npm",
99
102
  "typecheck": "tsc -p tsconfig.json",
100
103
  "test-app:install": "pnpm install --dir examples/test-app --ignore-workspace",
101
104
  "test-app:start": "pnpm --dir examples/test-app start",
@@ -127,6 +130,8 @@
127
130
  "!android-snapshot-helper/dist/*.idsig",
128
131
  "src/platforms/linux/atspi-dump.py",
129
132
  "skills",
133
+ "server.json",
134
+ "smithery.yaml",
130
135
  "README.md",
131
136
  "LICENSE"
132
137
  ],
@@ -152,7 +157,29 @@
152
157
  "diagnostics",
153
158
  "network",
154
159
  "profiling",
155
- "performance"
160
+ "performance",
161
+ "mcp",
162
+ "model-context-protocol",
163
+ "mcp-server",
164
+ "ai-agent",
165
+ "mobile-automation",
166
+ "ios-simulator",
167
+ "android-emulator",
168
+ "xcuitest",
169
+ "e2e-testing",
170
+ "cursor",
171
+ "claude-code",
172
+ "expo",
173
+ "mobile-testing",
174
+ "qa-automation",
175
+ "ai-testing",
176
+ "ios-automation",
177
+ "android-automation",
178
+ "simulator",
179
+ "emulator",
180
+ "appium",
181
+ "maestro",
182
+ "detox"
156
183
  ],
157
184
  "dependencies": {
158
185
  "fast-xml-parser": "^5.7.2",
@@ -166,7 +193,7 @@
166
193
  "fallow": "^2.52.0",
167
194
  "oxfmt": "^0.42.0",
168
195
  "oxlint": "^1.57.0",
169
- "skillgym": "^0.6.0",
196
+ "skillgym": "^0.8.0",
170
197
  "typescript": "^6.0.2",
171
198
  "vite": "^8.0.10"
172
199
  }
package/server.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.callstackincubator/agent-device",
4
+ "title": "agent-device",
5
+ "description": "Discovery router for the agent-device CLI with status, install, help, prompts, and resources.",
6
+ "repository": {
7
+ "url": "https://github.com/callstackincubator/agent-device",
8
+ "source": "github"
9
+ },
10
+ "version": "0.14.9",
11
+ "packages": [
12
+ {
13
+ "registryType": "npm",
14
+ "identifier": "agent-device",
15
+ "version": "0.14.9",
16
+ "transport": {
17
+ "type": "stdio"
18
+ }
19
+ }
20
+ ]
21
+ }
@@ -11,7 +11,15 @@ Router only. Private setup before using this skill:
11
11
  agent-device --version
12
12
  ```
13
13
 
14
- Require `agent-device >= 0.14.0`; older CLIs lack these help topics. If older, run `npm install -g agent-device@latest`, recheck, then continue. If you cannot upgrade, stop and tell the user. Do not include version/upgrade commands in final plans.
14
+ If that fails but the user installed `agent-device` globally, try the user's login shell before using `npx`:
15
+
16
+ ```bash
17
+ zsh -lic 'command -v agent-device'
18
+ ```
19
+
20
+ If it prints a path, run that absolute path instead of `agent-device`. For non-zsh shells, use the equivalent login-shell command.
21
+
22
+ Require `agent-device >= 0.14.0`; older CLIs lack these help topics. If older, stop and tell the user to upgrade the trusted install or approve an exact-version npm command. Do not run `npm install -g agent-device@latest` or `npx -y agent-device@latest` autonomously, and do not include version/upgrade commands in final plans.
15
23
 
16
24
  Before your first agent-device command or plan, read the version-matched CLI guide:
17
25
 
@@ -32,3 +40,5 @@ agent-device help dogfood
32
40
  Default loop: `open -> snapshot/-i -> get/is/find or press/fill/scroll/wait -> verify -> close`.
33
41
 
34
42
  Use this skill only to route into version-matched CLI help. Let `help workflow` provide exact command shapes, platform limits, and current workflow guidance.
43
+
44
+ For precise location workflows, read the installed `settings` help before planning so coordinate support and platform limits come from the active CLI version.
@@ -12,7 +12,9 @@ Router for exploratory QA. Private setup before using this skill:
12
12
  agent-device --version
13
13
  ```
14
14
 
15
- Require `agent-device >= 0.14.0`; older CLIs lack these help topics. If older, run `npm install -g agent-device@latest`, recheck, then continue. If you cannot upgrade, stop and tell the user. Do not include version/upgrade commands in final plans.
15
+ If that fails, stop and tell the user to expose a trusted `agent-device` binary on PATH or approve an exact-version npm command. This skill intentionally keeps allowed tools restricted to `agent-device` and `npx agent-device`.
16
+
17
+ Require `agent-device >= 0.14.0`; older CLIs lack these help topics. If older, stop and tell the user to upgrade the trusted install or approve an exact-version npm command. Do not run `npm install -g agent-device@latest` or `npx -y agent-device@latest` autonomously, and do not include version/upgrade commands in final plans.
16
18
 
17
19
  Read current CLI guidance:
18
20
 
package/smithery.yaml ADDED
@@ -0,0 +1 @@
1
+ runtime: "typescript"
@@ -1 +0,0 @@
1
- cf52647a87d8724c94c1be073fdee6dd87fd509d2a45111678100c9045ff51ae agent-device-android-snapshot-helper-0.14.7.apk