@kaeawc/auto-mobile 0.0.89 → 0.0.91
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 +7 -0
- package/README.md.backup +7 -0
- package/dist/build-info.json +12 -10
- package/dist/schemas/prototype-platform-permissions.json +75 -0
- package/dist/schemas/test-plan.schema.json +2 -2
- package/dist/src/index.js +946 -874
- package/dist/src/utils/workers/iosBundleExtractWorker.js +3 -3
- package/mcp-skills/auto-mobile-usage/SKILL.md +1 -0
- package/node_modules/strtok3/README.md +172 -113
- package/node_modules/strtok3/lib/BufferSizeError.js +1 -1
- package/node_modules/strtok3/lib/TokenWriter.js +151 -0
- package/node_modules/strtok3/lib/core.js +1 -0
- package/node_modules/strtok3/package.json +2 -2
- package/node_modules/token-types/LICENSE.txt +9 -9
- package/node_modules/token-types/README.md +160 -120
- package/node_modules/token-types/{lib → dist/lib}/index.js +21 -3
- package/node_modules/token-types/package.json +81 -81
- package/package.json +11 -9
- package/schemas/prototype-platform-permissions.json +75 -0
- package/schemas/test-plan.schema.json +2 -2
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "token-types",
|
|
3
|
-
"version": "6.
|
|
4
|
-
"description": "Common token types for decoding and encoding numeric and string values",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "Borewit",
|
|
7
|
-
"url": "https://github.com/Borewit"
|
|
8
|
-
},
|
|
9
|
-
"funding": {
|
|
10
|
-
"type": "github",
|
|
11
|
-
"url": "https://github.com/sponsors/Borewit"
|
|
12
|
-
},
|
|
13
|
-
"scripts": {
|
|
14
|
-
"clean": "del-cli
|
|
15
|
-
"build": "npm run compile",
|
|
16
|
-
"
|
|
17
|
-
"compile
|
|
18
|
-
"compile": "
|
|
19
|
-
"
|
|
20
|
-
"lint:
|
|
21
|
-
"lint": "
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
},
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"remark-cli": "^12.0.1",
|
|
55
|
-
"remark-preset-lint-recommended": "^7.0.0",
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
},
|
|
60
|
-
"dependencies": {
|
|
61
|
-
"@borewit/text-codec": "^0.2.
|
|
62
|
-
"@tokenizer/token": "^0.3.0",
|
|
63
|
-
"ieee754": "^1.2.1"
|
|
64
|
-
},
|
|
65
|
-
"remarkConfig": {
|
|
66
|
-
"plugins": [
|
|
67
|
-
"preset-lint-recommended"
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
"keywords": [
|
|
71
|
-
"token",
|
|
72
|
-
"integer",
|
|
73
|
-
"unsigned",
|
|
74
|
-
"numeric",
|
|
75
|
-
"float",
|
|
76
|
-
"IEEE",
|
|
77
|
-
"754",
|
|
78
|
-
"strtok3"
|
|
79
|
-
],
|
|
80
|
-
"packageManager": "yarn@4.
|
|
81
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "token-types",
|
|
3
|
+
"version": "6.2.0",
|
|
4
|
+
"description": "Common token types for decoding and encoding numeric and string values",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Borewit",
|
|
7
|
+
"url": "https://github.com/Borewit"
|
|
8
|
+
},
|
|
9
|
+
"funding": {
|
|
10
|
+
"type": "github",
|
|
11
|
+
"url": "https://github.com/sponsors/Borewit"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"clean": "del-cli dist coverage",
|
|
15
|
+
"build": "npm run clean && npm run compile:prod",
|
|
16
|
+
"prepublishOnly": "npm run build",
|
|
17
|
+
"compile": "tsc --project tsconfig.json",
|
|
18
|
+
"compile:prod": "tsc --project tsconfig.prod.json",
|
|
19
|
+
"format:check": "biome format",
|
|
20
|
+
"lint:ts": "biome check",
|
|
21
|
+
"lint:ts:fix": "biome check --write",
|
|
22
|
+
"fix": "npm run lint:ts:fix",
|
|
23
|
+
"lint:md": "remark -u preset-lint-recommended .",
|
|
24
|
+
"lint": "npm run lint:md && npm run lint:ts",
|
|
25
|
+
"test": "npm run typecheck && vitest run",
|
|
26
|
+
"test:watch": "vitest",
|
|
27
|
+
"test-coverage": "npm run typecheck && vitest run --coverage",
|
|
28
|
+
"typecheck": "tsc --project tsconfig.test.json",
|
|
29
|
+
"update-biome": "yarn add -D --exact @biomejs/biome && npx @biomejs/biome migrate --write"
|
|
30
|
+
},
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=14.16"
|
|
33
|
+
},
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/Borewit/token-types.git"
|
|
37
|
+
},
|
|
38
|
+
"files": [
|
|
39
|
+
"dist/lib/**/*.js",
|
|
40
|
+
"dist/lib/**/*.d.ts"
|
|
41
|
+
],
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"type": "module",
|
|
44
|
+
"exports": "./dist/lib/index.js",
|
|
45
|
+
"types": "dist/lib/index.d.ts",
|
|
46
|
+
"bugs": {
|
|
47
|
+
"url": "https://github.com/Borewit/token-types/issues"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@biomejs/biome": "2.6.4",
|
|
51
|
+
"@types/node": "^26.6.6",
|
|
52
|
+
"@vitest/coverage-v8": "^5.0.5",
|
|
53
|
+
"del-cli": "^8.0.1",
|
|
54
|
+
"remark-cli": "^12.0.1",
|
|
55
|
+
"remark-preset-lint-recommended": "^7.0.0",
|
|
56
|
+
"typescript": "^7.0.2",
|
|
57
|
+
"vite": "^8.3.5",
|
|
58
|
+
"vitest": "^5.0.5"
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@borewit/text-codec": "^0.2.3",
|
|
62
|
+
"@tokenizer/token": "^0.3.0",
|
|
63
|
+
"ieee754": "^1.2.1"
|
|
64
|
+
},
|
|
65
|
+
"remarkConfig": {
|
|
66
|
+
"plugins": [
|
|
67
|
+
"preset-lint-recommended"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"keywords": [
|
|
71
|
+
"token",
|
|
72
|
+
"integer",
|
|
73
|
+
"unsigned",
|
|
74
|
+
"numeric",
|
|
75
|
+
"float",
|
|
76
|
+
"IEEE",
|
|
77
|
+
"754",
|
|
78
|
+
"strtok3"
|
|
79
|
+
],
|
|
80
|
+
"packageManager": "yarn@4.18.1"
|
|
81
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaeawc/auto-mobile",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.91",
|
|
4
4
|
"description": "Mobile device interaction automation via MCP",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"adb",
|
|
@@ -158,6 +158,7 @@
|
|
|
158
158
|
"@jimp/plugin-threshold": "1.6.1",
|
|
159
159
|
"@jimp/types": "1.6.1",
|
|
160
160
|
"@jimp/utils": "1.6.1",
|
|
161
|
+
"@material-design-icons/svg": "0.14.15",
|
|
161
162
|
"@tokenizer/inflate": "0.4.1",
|
|
162
163
|
"@tokenizer/token": "0.3.0",
|
|
163
164
|
"any-base": "1.1.0",
|
|
@@ -180,13 +181,13 @@
|
|
|
180
181
|
"parse-bmfont-binary": "1.0.6",
|
|
181
182
|
"parse-bmfont-xml": "1.1.6",
|
|
182
183
|
"sax": "1.4.1",
|
|
183
|
-
"semver": "7.8.
|
|
184
|
+
"semver": "7.8.6",
|
|
184
185
|
"sharp": "0.35.5",
|
|
185
186
|
"simple-xml-to-json": "1.2.3",
|
|
186
|
-
"strtok3": "10.
|
|
187
|
+
"strtok3": "10.7.0",
|
|
187
188
|
"tinycolor2": "1.6.0",
|
|
188
|
-
"token-types": "6.
|
|
189
|
-
"tslib": "2.
|
|
189
|
+
"token-types": "6.2.0",
|
|
190
|
+
"tslib": "2.9.1",
|
|
190
191
|
"uint8array-extras": "1.6.0",
|
|
191
192
|
"utif2": "4.1.0",
|
|
192
193
|
"xml-parse-from-string": "1.0.1",
|
|
@@ -213,14 +214,15 @@
|
|
|
213
214
|
"js-tiktoken": "^1.0.21",
|
|
214
215
|
"js-yaml": "^5.1.0",
|
|
215
216
|
"knip": "^6.0.0",
|
|
216
|
-
"kysely": "0.29.
|
|
217
|
-
"oxc-parser": "0.
|
|
218
|
-
"oxfmt": "0.
|
|
217
|
+
"kysely": "0.29.8",
|
|
218
|
+
"oxc-parser": "0.157.0",
|
|
219
|
+
"oxfmt": "0.76.0",
|
|
219
220
|
"oxlint": "1.90.0",
|
|
220
221
|
"oxlint-tsgolint": "7.0.2005",
|
|
221
222
|
"pixelmatch": "^8.0.0",
|
|
222
|
-
"playwright-core": "1.
|
|
223
|
+
"playwright-core": "1.64.1",
|
|
223
224
|
"pngjs": "^7.0.0",
|
|
225
|
+
"qrcode-generator": "2.0.4",
|
|
224
226
|
"reflect-metadata": "^0.2.2",
|
|
225
227
|
"turbo": "^2.8.10",
|
|
226
228
|
"typescript": "6.0.3",
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"camera": {
|
|
3
|
+
"android": { "manifest": ["android.permission.CAMERA"], "grant": "pmGrant" },
|
|
4
|
+
"ios": { "usageKey": "NSCameraUsageDescription", "simctlService": "camera" }
|
|
5
|
+
},
|
|
6
|
+
"microphone": {
|
|
7
|
+
"android": { "manifest": ["android.permission.RECORD_AUDIO"], "grant": "pmGrant" },
|
|
8
|
+
"ios": { "usageKey": "NSMicrophoneUsageDescription", "simctlService": "microphone" }
|
|
9
|
+
},
|
|
10
|
+
"location": {
|
|
11
|
+
"android": {
|
|
12
|
+
"manifest": [
|
|
13
|
+
"android.permission.ACCESS_FINE_LOCATION",
|
|
14
|
+
"android.permission.ACCESS_COARSE_LOCATION"
|
|
15
|
+
],
|
|
16
|
+
"grant": "pmGrant"
|
|
17
|
+
},
|
|
18
|
+
"ios": { "usageKey": "NSLocationWhenInUseUsageDescription", "simctlService": "location" }
|
|
19
|
+
},
|
|
20
|
+
"locationBackground": {
|
|
21
|
+
"android": {
|
|
22
|
+
"manifest": ["android.permission.ACCESS_BACKGROUND_LOCATION"],
|
|
23
|
+
"grant": "pmGrant"
|
|
24
|
+
},
|
|
25
|
+
"ios": {
|
|
26
|
+
"usageKey": "NSLocationAlwaysAndWhenInUseUsageDescription",
|
|
27
|
+
"simctlService": "location-always"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"notifications": {
|
|
31
|
+
"android": { "manifest": ["android.permission.POST_NOTIFICATIONS"], "grant": "notifications" },
|
|
32
|
+
"ios": { "usageKey": null, "simctlService": null }
|
|
33
|
+
},
|
|
34
|
+
"photos": {
|
|
35
|
+
"android": {
|
|
36
|
+
"manifest": ["android.permission.READ_MEDIA_IMAGES", "android.permission.READ_MEDIA_VIDEO"],
|
|
37
|
+
"grant": "pmGrant"
|
|
38
|
+
},
|
|
39
|
+
"ios": { "usageKey": "NSPhotoLibraryUsageDescription", "simctlService": "photos" }
|
|
40
|
+
},
|
|
41
|
+
"photosAdd": {
|
|
42
|
+
"android": { "manifest": [], "grant": "none" },
|
|
43
|
+
"ios": { "usageKey": "NSPhotoLibraryAddUsageDescription", "simctlService": "photos-add" }
|
|
44
|
+
},
|
|
45
|
+
"contacts": {
|
|
46
|
+
"android": { "manifest": ["android.permission.READ_CONTACTS"], "grant": "pmGrant" },
|
|
47
|
+
"ios": { "usageKey": "NSContactsUsageDescription", "simctlService": "contacts" }
|
|
48
|
+
},
|
|
49
|
+
"calendar": {
|
|
50
|
+
"android": {
|
|
51
|
+
"manifest": ["android.permission.READ_CALENDAR", "android.permission.WRITE_CALENDAR"],
|
|
52
|
+
"grant": "pmGrant"
|
|
53
|
+
},
|
|
54
|
+
"ios": { "usageKey": "NSCalendarsFullAccessUsageDescription", "simctlService": "calendar" }
|
|
55
|
+
},
|
|
56
|
+
"bluetooth": {
|
|
57
|
+
"android": {
|
|
58
|
+
"manifest": ["android.permission.BLUETOOTH_SCAN", "android.permission.BLUETOOTH_CONNECT"],
|
|
59
|
+
"grant": "pmGrant"
|
|
60
|
+
},
|
|
61
|
+
"ios": { "usageKey": "NSBluetoothAlwaysUsageDescription", "simctlService": null }
|
|
62
|
+
},
|
|
63
|
+
"nearbyWifi": {
|
|
64
|
+
"android": { "manifest": ["android.permission.NEARBY_WIFI_DEVICES"], "grant": "pmGrant" },
|
|
65
|
+
"ios": { "usageKey": "NSLocalNetworkUsageDescription", "simctlService": null }
|
|
66
|
+
},
|
|
67
|
+
"motion": {
|
|
68
|
+
"android": { "manifest": ["android.permission.ACTIVITY_RECOGNITION"], "grant": "pmGrant" },
|
|
69
|
+
"ios": { "usageKey": "NSMotionUsageDescription", "simctlService": "motion" }
|
|
70
|
+
},
|
|
71
|
+
"speech": {
|
|
72
|
+
"android": { "manifest": ["android.permission.RECORD_AUDIO"], "grant": "pmGrant" },
|
|
73
|
+
"ios": { "usageKey": "NSSpeechRecognitionUsageDescription", "simctlService": null }
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"platform": {
|
|
20
20
|
"type": "string",
|
|
21
|
-
"enum": ["android", "ios"],
|
|
21
|
+
"enum": ["android", "ios", "tvos"],
|
|
22
22
|
"description": "Optional platform hint for plan execution"
|
|
23
23
|
},
|
|
24
24
|
"devices": {
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
},
|
|
150
150
|
"platform": {
|
|
151
151
|
"type": "string",
|
|
152
|
-
"enum": ["android", "ios"],
|
|
152
|
+
"enum": ["android", "ios", "tvos"],
|
|
153
153
|
"description": "Target platform for this device"
|
|
154
154
|
},
|
|
155
155
|
"simulatorType": {
|