@kaeawc/auto-mobile 0.0.16 → 0.0.18

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
@@ -8,9 +8,9 @@
8
8
  ![Platform: macOS](https://img.shields.io/badge/platform-macOS-lightgrey)
9
9
  ![Platform: Linux](https://img.shields.io/badge/platform-Linux-lightgrey)
10
10
 
11
- ![TypeScript tests: 3,442](https://img.shields.io/badge/TypeScript_tests-3%2C442-3178C6)
11
+ ![TypeScript tests: 3,552](https://img.shields.io/badge/TypeScript_tests-3%2C552-3178C6)
12
12
  ![Kotlin tests: 1,083](https://img.shields.io/badge/Kotlin_tests-1%2C083-7F52FF)
13
- ![Swift tests: 276](https://img.shields.io/badge/Swift_tests-276-F05138)
13
+ ![Swift tests: 366](https://img.shields.io/badge/Swift_tests-366-F05138)
14
14
  ![Kotlin coverage](https://img.shields.io/endpoint?url=https://kaeawc.github.io/auto-mobile/kotlin-coverage-badge.json)
15
15
  ![Swift coverage](https://img.shields.io/endpoint?url=https://kaeawc.github.io/auto-mobile/swift-coverage-badge.json)
16
16
 
package/README.md.backup CHANGED
@@ -8,9 +8,9 @@
8
8
  ![Platform: macOS](https://img.shields.io/badge/platform-macOS-lightgrey)
9
9
  ![Platform: Linux](https://img.shields.io/badge/platform-Linux-lightgrey)
10
10
 
11
- ![TypeScript tests: 3,442](https://img.shields.io/badge/TypeScript_tests-3%2C442-3178C6)
11
+ ![TypeScript tests: 3,552](https://img.shields.io/badge/TypeScript_tests-3%2C552-3178C6)
12
12
  ![Kotlin tests: 1,083](https://img.shields.io/badge/Kotlin_tests-1%2C083-7F52FF)
13
- ![Swift tests: 276](https://img.shields.io/badge/Swift_tests-276-F05138)
13
+ ![Swift tests: 366](https://img.shields.io/badge/Swift_tests-366-F05138)
14
14
  ![Kotlin coverage](https://img.shields.io/endpoint?url=https://kaeawc.github.io/auto-mobile/kotlin-coverage-badge.json)
15
15
  ![Swift coverage](https://img.shields.io/endpoint?url=https://kaeawc.github.io/auto-mobile/swift-coverage-badge.json)
16
16
 
@@ -1670,14 +1670,14 @@
1670
1670
  },
1671
1671
  {
1672
1672
  "name": "installApp",
1673
- "description": "Install APK file",
1673
+ "description": "Install app on device (.apk for Android, .app for iOS simulator, .ipa for iOS physical device)",
1674
1674
  "inputSchema": {
1675
1675
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1676
1676
  "type": "object",
1677
1677
  "properties": {
1678
- "apkPath": {
1678
+ "artifactPath": {
1679
1679
  "type": "string",
1680
- "description": "APK file path"
1680
+ "description": "Path to app artifact (.apk for Android, .app bundle for iOS simulator, .ipa for iOS physical device)"
1681
1681
  },
1682
1682
  "sessionUuid": {
1683
1683
  "description": "Session UUID for device targeting",
@@ -1697,7 +1697,7 @@
1697
1697
  }
1698
1698
  },
1699
1699
  "required": [
1700
- "apkPath"
1700
+ "artifactPath"
1701
1701
  ],
1702
1702
  "additionalProperties": false
1703
1703
  }
@@ -4299,48 +4299,68 @@
4299
4299
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4300
4300
  "type": "object",
4301
4301
  "properties": {
4302
- "device": {
4302
+ "platform": {
4303
+ "type": "string",
4304
+ "enum": [
4305
+ "android",
4306
+ "ios"
4307
+ ],
4308
+ "description": "Target platform"
4309
+ },
4310
+ "minOsVersion": {
4311
+ "description": "Minimum OS version, inclusive (e.g., '14', '17.2')",
4312
+ "type": "string"
4313
+ },
4314
+ "maxOsVersion": {
4315
+ "description": "Maximum OS version, inclusive (e.g., '15', '18.0')",
4316
+ "type": "string"
4317
+ },
4318
+ "name": {
4319
+ "description": "Device name to match (e.g., 'iPhone 16e', 'Pixel_9_Pro')",
4320
+ "type": "string"
4321
+ },
4322
+ "formFactor": {
4323
+ "description": "Device form factor",
4324
+ "type": "string",
4325
+ "enum": [
4326
+ "phone",
4327
+ "tablet"
4328
+ ]
4329
+ },
4330
+ "screenSize": {
4331
+ "description": "Desired screen dimensions",
4303
4332
  "type": "object",
4304
4333
  "properties": {
4305
- "name": {
4306
- "type": "string",
4307
- "description": "Device name"
4308
- },
4309
- "platform": {
4310
- "type": "string",
4311
- "enum": [
4312
- "android",
4313
- "ios"
4314
- ],
4315
- "description": "Target platform"
4316
- },
4317
- "deviceId": {
4318
- "description": "Device ID",
4319
- "type": "string"
4320
- },
4321
- "isRunning": {
4322
- "description": "Running status",
4323
- "type": "boolean"
4334
+ "width": {
4335
+ "type": "number",
4336
+ "description": "Screen width in pixels"
4324
4337
  },
4325
- "source": {
4326
- "description": "Source (local/remote)",
4327
- "type": "string"
4338
+ "height": {
4339
+ "type": "number",
4340
+ "description": "Screen height in pixels"
4328
4341
  }
4329
4342
  },
4330
4343
  "required": [
4331
- "name",
4332
- "platform"
4344
+ "width",
4345
+ "height"
4333
4346
  ],
4334
- "additionalProperties": false,
4335
- "description": "Device to start"
4347
+ "additionalProperties": false
4348
+ },
4349
+ "deviceId": {
4350
+ "description": "Specific device ID (bypasses matching)",
4351
+ "type": "string"
4352
+ },
4353
+ "preferRunning": {
4354
+ "description": "Prefer already-booted device (default true)",
4355
+ "type": "boolean"
4336
4356
  },
4337
4357
  "timeoutMs": {
4338
- "description": "Readiness timeout ms",
4358
+ "description": "Boot timeout in ms",
4339
4359
  "type": "number"
4340
4360
  }
4341
4361
  },
4342
4362
  "required": [
4343
- "device"
4363
+ "platform"
4344
4364
  ],
4345
4365
  "additionalProperties": false
4346
4366
  }
@@ -6593,6 +6613,44 @@
6593
6613
  "additionalProperties": false
6594
6614
  }
6595
6615
  },
6616
+ {
6617
+ "name": "uninstallApp",
6618
+ "description": "Uninstall app by package name or bundle identifier",
6619
+ "inputSchema": {
6620
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
6621
+ "type": "object",
6622
+ "properties": {
6623
+ "appId": {
6624
+ "type": "string",
6625
+ "description": "App package ID or bundle identifier to uninstall"
6626
+ },
6627
+ "keepData": {
6628
+ "description": "Keep app data after uninstall (Android only, default false)",
6629
+ "type": "boolean"
6630
+ },
6631
+ "sessionUuid": {
6632
+ "description": "Session UUID for device targeting",
6633
+ "type": "string"
6634
+ },
6635
+ "keepScreenAwake": {
6636
+ "description": "Keep physical Android devices awake during the session (default: true)",
6637
+ "type": "boolean"
6638
+ },
6639
+ "device": {
6640
+ "description": "Device label for multi-device plans (e.g., \"A\", \"B\")",
6641
+ "type": "string"
6642
+ },
6643
+ "deviceId": {
6644
+ "description": "Device identifier for targeting a specific device",
6645
+ "type": "string"
6646
+ }
6647
+ },
6648
+ "required": [
6649
+ "appId"
6650
+ ],
6651
+ "additionalProperties": false
6652
+ }
6653
+ },
6596
6654
  {
6597
6655
  "name": "videoRecording",
6598
6656
  "description": "Start or stop a low-overhead video recording for the active device.",