agent-device 0.15.1 → 0.15.2
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/android-snapshot-helper/dist/{agent-device-android-snapshot-helper-0.15.1.apk → agent-device-android-snapshot-helper-0.15.2.apk} +0 -0
- package/android-snapshot-helper/dist/agent-device-android-snapshot-helper-0.15.2.apk.sha256 +1 -0
- package/android-snapshot-helper/dist/{agent-device-android-snapshot-helper-0.15.1.manifest.json → agent-device-android-snapshot-helper-0.15.2.manifest.json} +6 -6
- package/dist/src/2151.js +12 -8
- package/dist/src/9542.js +2 -2
- package/dist/src/cli.js +20 -20
- package/dist/src/index.d.ts +1 -0
- package/dist/src/internal/daemon.js +42 -41
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Interaction.swift +5 -0
- package/package.json +1 -1
- package/server.json +2 -2
- package/android-snapshot-helper/dist/agent-device-android-snapshot-helper-0.15.1.apk.sha256 +0 -1
|
@@ -1359,12 +1359,17 @@ extension RunnerTests {
|
|
|
1359
1359
|
|
|
1360
1360
|
#if !os(tvOS)
|
|
1361
1361
|
private func interactionCoordinate(app: XCUIApplication, x: Double, y: Double) -> XCUICoordinate {
|
|
1362
|
+
#if os(iOS)
|
|
1363
|
+
let origin = app.coordinate(withNormalizedOffset: CGVector(dx: 0, dy: 0))
|
|
1364
|
+
return origin.withOffset(CGVector(dx: x, dy: y))
|
|
1365
|
+
#else
|
|
1362
1366
|
let root = interactionRoot(app: app)
|
|
1363
1367
|
let origin = root.coordinate(withNormalizedOffset: CGVector(dx: 0, dy: 0))
|
|
1364
1368
|
let rootFrame = root.frame
|
|
1365
1369
|
let offsetX = x - Double(rootFrame.origin.x)
|
|
1366
1370
|
let offsetY = y - Double(rootFrame.origin.y)
|
|
1367
1371
|
return origin.withOffset(CGVector(dx: offsetX, dy: offsetY))
|
|
1372
|
+
#endif
|
|
1368
1373
|
}
|
|
1369
1374
|
#endif
|
|
1370
1375
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-device",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2",
|
|
4
4
|
"description": "Agent-native CLI for AI mobile testing and app automation across iOS, Android, tvOS, Android TV, macOS, and Linux.",
|
|
5
5
|
"mcpName": "io.github.callstackincubator/agent-device",
|
|
6
6
|
"license": "MIT",
|
package/server.json
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
"url": "https://github.com/callstackincubator/agent-device",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"version": "0.15.
|
|
10
|
+
"version": "0.15.2",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "agent-device",
|
|
15
|
-
"version": "0.15.
|
|
15
|
+
"version": "0.15.2",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
9d322b9af0fdcd0dd73e8c5123d29a30849d26b71e5b4adc077037f5bb0db987 agent-device-android-snapshot-helper-0.15.1.apk
|