@kaeawc/auto-mobile 0.0.27 → 0.0.28

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,929](https://img.shields.io/badge/TypeScript_tests-3%2C929-3178C6)
11
+ ![TypeScript tests: 4,020](https://img.shields.io/badge/TypeScript_tests-4%2C020-3178C6)
12
12
  ![Kotlin tests: 1,117](https://img.shields.io/badge/Kotlin_tests-1%2C117-7F52FF)
13
- ![Swift tests: 408](https://img.shields.io/badge/Swift_tests-408-F05138)
13
+ ![Swift tests: 435](https://img.shields.io/badge/Swift_tests-435-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,929](https://img.shields.io/badge/TypeScript_tests-3%2C929-3178C6)
11
+ ![TypeScript tests: 4,020](https://img.shields.io/badge/TypeScript_tests-4%2C020-3178C6)
12
12
  ![Kotlin tests: 1,117](https://img.shields.io/badge/Kotlin_tests-1%2C117-7F52FF)
13
- ![Swift tests: 408](https://img.shields.io/badge/Swift_tests-408-F05138)
13
+ ![Swift tests: 435](https://img.shields.io/badge/Swift_tests-435-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
 
@@ -3967,6 +3967,59 @@
3967
3967
  "additionalProperties": false
3968
3968
  }
3969
3969
  },
3970
+ {
3971
+ "name": "phoneCall",
3972
+ "description": "Simulate an incoming phone call on an Android emulator via the emulator console (gsm call/accept/cancel/busy/hold). Emulator-only: physical devices return an unsupported error.",
3973
+ "inputSchema": {
3974
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3975
+ "type": "object",
3976
+ "properties": {
3977
+ "action": {
3978
+ "type": "string",
3979
+ "enum": [
3980
+ "call",
3981
+ "accept",
3982
+ "cancel",
3983
+ "busy",
3984
+ "hold"
3985
+ ],
3986
+ "description": "Phone call action: 'call' simulates an incoming call; 'accept' answers a ringing or waiting call; 'cancel' ends the call from the network side; 'busy' rejects a waiting call with a busy signal; 'hold' puts the active call on hold (no phoneNumber required)."
3987
+ },
3988
+ "phoneNumber": {
3989
+ "description": "Phone number for the call action. Required for all actions except 'hold'. Digits with optional leading '+', max 20 digits.",
3990
+ "type": "string"
3991
+ },
3992
+ "platform": {
3993
+ "type": "string",
3994
+ "enum": [
3995
+ "android",
3996
+ "ios"
3997
+ ],
3998
+ "description": "Target platform"
3999
+ },
4000
+ "sessionUuid": {
4001
+ "description": "Session UUID",
4002
+ "type": "string"
4003
+ },
4004
+ "keepScreenAwake": {
4005
+ "description": "Keep device awake",
4006
+ "type": "boolean"
4007
+ },
4008
+ "device": {
4009
+ "description": "Device label for multi-device plans (e.g., \"A\", \"B\")",
4010
+ "type": "string"
4011
+ },
4012
+ "deviceId": {
4013
+ "description": "Device ID",
4014
+ "type": "string"
4015
+ }
4016
+ },
4017
+ "required": [
4018
+ "action"
4019
+ ],
4020
+ "additionalProperties": false
4021
+ }
4022
+ },
3970
4023
  {
3971
4024
  "name": "pinchOn",
3972
4025
  "description": "Pinch to zoom",
@@ -4413,6 +4466,53 @@
4413
4466
  "additionalProperties": false
4414
4467
  }
4415
4468
  },
4469
+ {
4470
+ "name": "sendSms",
4471
+ "description": "Send a simulated incoming SMS to an Android emulator via the emulator console (sms send). Emulator-only: physical devices return an unsupported error.",
4472
+ "inputSchema": {
4473
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4474
+ "type": "object",
4475
+ "properties": {
4476
+ "phoneNumber": {
4477
+ "type": "string",
4478
+ "description": "Sender phone number for the simulated incoming SMS. Digits with optional leading '+', max 20 digits."
4479
+ },
4480
+ "message": {
4481
+ "type": "string",
4482
+ "description": "SMS message body. Max 1024 characters. Must not contain newlines, carriage returns, or NUL bytes."
4483
+ },
4484
+ "platform": {
4485
+ "type": "string",
4486
+ "enum": [
4487
+ "android",
4488
+ "ios"
4489
+ ],
4490
+ "description": "Target platform"
4491
+ },
4492
+ "sessionUuid": {
4493
+ "description": "Session UUID",
4494
+ "type": "string"
4495
+ },
4496
+ "keepScreenAwake": {
4497
+ "description": "Keep device awake",
4498
+ "type": "boolean"
4499
+ },
4500
+ "device": {
4501
+ "description": "Device label for multi-device plans (e.g., \"A\", \"B\")",
4502
+ "type": "string"
4503
+ },
4504
+ "deviceId": {
4505
+ "description": "Device ID",
4506
+ "type": "string"
4507
+ }
4508
+ },
4509
+ "required": [
4510
+ "phoneNumber",
4511
+ "message"
4512
+ ],
4513
+ "additionalProperties": false
4514
+ }
4515
+ },
4416
4516
  {
4417
4517
  "name": "setActiveDevice",
4418
4518
  "description": "Set active device",