@kaeawc/auto-mobile 0.0.89 → 0.0.90
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/dist/build-info.json +11 -10
- package/dist/src/index.js +811 -785
- package/mcp-skills/auto-mobile-usage/SKILL.md +1 -0
- package/package.json +5 -3
|
@@ -17,6 +17,7 @@ description: How to drive Android and iOS devices with AutoMobile MCP tools. Use
|
|
|
17
17
|
|
|
18
18
|
- Call `observe` before the first action and again after each action that can change the screen. Coordinates and Android synthetic `s2-` element ids are valid only for the observation that returned them.
|
|
19
19
|
- Act on what `observe` returned: `tapOn` takes a `selector` (`text`, `elementId`, `testTag`), `swipeOn` scrolls the screen or a container (`lookFor` scrolls until an element appears), `tapAt` takes coordinates, `sendKeys` types into the focused field. Do not guess coordinates.
|
|
20
|
+
- `skeleton` lists only rows you can act on. Static text (a status label, a validation error, a result message) is in `context`; read it there to verify a result. `waitFor` with `text` or `textAny`, or `for: "appear"`/`"textEquals"` with only `text`, matches text in either array.
|
|
20
21
|
- Ask `observe` for a screenshot only when the hierarchy is not enough; images are the largest part of a result.
|
|
21
22
|
|
|
22
23
|
## 3. Resources versus tools
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaeawc/auto-mobile",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.90",
|
|
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",
|
|
@@ -186,7 +187,7 @@
|
|
|
186
187
|
"strtok3": "10.6.3",
|
|
187
188
|
"tinycolor2": "1.6.0",
|
|
188
189
|
"token-types": "6.1.2",
|
|
189
|
-
"tslib": "2.
|
|
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",
|
|
@@ -219,8 +220,9 @@
|
|
|
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",
|