@kaeawc/auto-mobile 0.0.39 → 0.0.40
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 +2 -2
- package/README.md.backup +2 -2
- package/dist/schemas/tool-definitions.json +142 -0
- package/dist/src/index.js +236 -222
- package/dist/src/index.js.map +1 -1
- package/package.json +5 -7
- package/schemas/tool-definitions.json +142 -0
package/README.md
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|

|
|
9
9
|

|
|
10
10
|
|
|
11
|
-

|
|
12
12
|

|
|
13
|
-

|
|
14
14
|

|
|
15
15
|

|
|
16
16
|
|
package/README.md.backup
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|

|
|
9
9
|

|
|
10
10
|
|
|
11
|
-

|
|
12
12
|

|
|
13
|
-

|
|
14
14
|

|
|
15
15
|

|
|
16
16
|
|
|
@@ -1734,6 +1734,64 @@
|
|
|
1734
1734
|
"additionalProperties": false
|
|
1735
1735
|
}
|
|
1736
1736
|
},
|
|
1737
|
+
{
|
|
1738
|
+
"name": "getPreference",
|
|
1739
|
+
"description": "Read an Android system property, Android SharedPreferences key, or iOS UserDefaults key.",
|
|
1740
|
+
"inputSchema": {
|
|
1741
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1742
|
+
"type": "object",
|
|
1743
|
+
"properties": {
|
|
1744
|
+
"scope": {
|
|
1745
|
+
"type": "string",
|
|
1746
|
+
"enum": [
|
|
1747
|
+
"systemProperty",
|
|
1748
|
+
"sharedPreferences",
|
|
1749
|
+
"userDefaults"
|
|
1750
|
+
],
|
|
1751
|
+
"description": "Preference scope"
|
|
1752
|
+
},
|
|
1753
|
+
"appId": {
|
|
1754
|
+
"description": "App package or bundle id",
|
|
1755
|
+
"type": "string"
|
|
1756
|
+
},
|
|
1757
|
+
"suite": {
|
|
1758
|
+
"description": "SharedPreferences file name or UserDefaults suite/app group",
|
|
1759
|
+
"type": "string"
|
|
1760
|
+
},
|
|
1761
|
+
"key": {
|
|
1762
|
+
"type": "string",
|
|
1763
|
+
"minLength": 1,
|
|
1764
|
+
"description": "Preference key or Android system property name"
|
|
1765
|
+
},
|
|
1766
|
+
"platform": {
|
|
1767
|
+
"type": "string",
|
|
1768
|
+
"enum": [
|
|
1769
|
+
"android",
|
|
1770
|
+
"ios"
|
|
1771
|
+
]
|
|
1772
|
+
},
|
|
1773
|
+
"sessionUuid": {
|
|
1774
|
+
"description": "Session",
|
|
1775
|
+
"type": "string"
|
|
1776
|
+
},
|
|
1777
|
+
"keepScreenAwake": {
|
|
1778
|
+
"type": "boolean"
|
|
1779
|
+
},
|
|
1780
|
+
"device": {
|
|
1781
|
+
"description": "Device label",
|
|
1782
|
+
"type": "string"
|
|
1783
|
+
},
|
|
1784
|
+
"deviceId": {
|
|
1785
|
+
"type": "string"
|
|
1786
|
+
}
|
|
1787
|
+
},
|
|
1788
|
+
"required": [
|
|
1789
|
+
"scope",
|
|
1790
|
+
"key"
|
|
1791
|
+
],
|
|
1792
|
+
"additionalProperties": false
|
|
1793
|
+
}
|
|
1794
|
+
},
|
|
1737
1795
|
{
|
|
1738
1796
|
"name": "highlight",
|
|
1739
1797
|
"description": "Draw a visual highlight around a UI element.",
|
|
@@ -4185,6 +4243,90 @@
|
|
|
4185
4243
|
"additionalProperties": false
|
|
4186
4244
|
}
|
|
4187
4245
|
},
|
|
4246
|
+
{
|
|
4247
|
+
"name": "setPreference",
|
|
4248
|
+
"description": "Write an Android system property, Android SharedPreferences key, or iOS UserDefaults key and return read-back verification.",
|
|
4249
|
+
"inputSchema": {
|
|
4250
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4251
|
+
"type": "object",
|
|
4252
|
+
"properties": {
|
|
4253
|
+
"scope": {
|
|
4254
|
+
"type": "string",
|
|
4255
|
+
"enum": [
|
|
4256
|
+
"systemProperty",
|
|
4257
|
+
"sharedPreferences",
|
|
4258
|
+
"userDefaults"
|
|
4259
|
+
],
|
|
4260
|
+
"description": "Preference scope"
|
|
4261
|
+
},
|
|
4262
|
+
"appId": {
|
|
4263
|
+
"description": "App package or bundle id",
|
|
4264
|
+
"type": "string"
|
|
4265
|
+
},
|
|
4266
|
+
"suite": {
|
|
4267
|
+
"description": "SharedPreferences file name or UserDefaults suite/app group",
|
|
4268
|
+
"type": "string"
|
|
4269
|
+
},
|
|
4270
|
+
"key": {
|
|
4271
|
+
"type": "string",
|
|
4272
|
+
"minLength": 1,
|
|
4273
|
+
"description": "Preference key or Android system property name"
|
|
4274
|
+
},
|
|
4275
|
+
"value": {
|
|
4276
|
+
"anyOf": [
|
|
4277
|
+
{
|
|
4278
|
+
"type": "string"
|
|
4279
|
+
},
|
|
4280
|
+
{
|
|
4281
|
+
"type": "boolean"
|
|
4282
|
+
},
|
|
4283
|
+
{
|
|
4284
|
+
"type": "number"
|
|
4285
|
+
}
|
|
4286
|
+
],
|
|
4287
|
+
"description": "Value to write"
|
|
4288
|
+
},
|
|
4289
|
+
"type": {
|
|
4290
|
+
"type": "string",
|
|
4291
|
+
"enum": [
|
|
4292
|
+
"string",
|
|
4293
|
+
"bool",
|
|
4294
|
+
"int",
|
|
4295
|
+
"float"
|
|
4296
|
+
],
|
|
4297
|
+
"description": "Value type for typed preference stores"
|
|
4298
|
+
},
|
|
4299
|
+
"platform": {
|
|
4300
|
+
"type": "string",
|
|
4301
|
+
"enum": [
|
|
4302
|
+
"android",
|
|
4303
|
+
"ios"
|
|
4304
|
+
]
|
|
4305
|
+
},
|
|
4306
|
+
"sessionUuid": {
|
|
4307
|
+
"description": "Session",
|
|
4308
|
+
"type": "string"
|
|
4309
|
+
},
|
|
4310
|
+
"keepScreenAwake": {
|
|
4311
|
+
"type": "boolean"
|
|
4312
|
+
},
|
|
4313
|
+
"device": {
|
|
4314
|
+
"description": "Device label",
|
|
4315
|
+
"type": "string"
|
|
4316
|
+
},
|
|
4317
|
+
"deviceId": {
|
|
4318
|
+
"type": "string"
|
|
4319
|
+
}
|
|
4320
|
+
},
|
|
4321
|
+
"required": [
|
|
4322
|
+
"scope",
|
|
4323
|
+
"key",
|
|
4324
|
+
"value",
|
|
4325
|
+
"type"
|
|
4326
|
+
],
|
|
4327
|
+
"additionalProperties": false
|
|
4328
|
+
}
|
|
4329
|
+
},
|
|
4188
4330
|
{
|
|
4189
4331
|
"name": "setUIState",
|
|
4190
4332
|
"description": "Set multiple form fields by desired state.",
|