@kaeawc/auto-mobile 0.0.39 → 0.0.41
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 +3 -3
- package/README.md.backup +3 -3
- package/dist/schemas/test-plan.schema.json +6 -2
- package/dist/schemas/tool-definitions.json +2816 -671
- package/dist/src/db/eventTables.ts +8 -0
- package/dist/src/db/migrations/2025_12_28_000_initial_schema.ts +3 -3
- package/dist/src/db/migrations/2025_12_30_000_performance_thresholds.ts +3 -3
- package/dist/src/db/migrations/2025_12_30_001_navigation_graph.ts +9 -9
- package/dist/src/db/migrations/2025_12_31_000_accessibility_baselines.ts +3 -3
- package/dist/src/db/migrations/2025_12_31_001_memory_audit.ts +4 -4
- package/dist/src/db/migrations/2026_01_01_000_recomposition_metrics.ts +2 -2
- package/dist/src/db/migrations/2026_01_02_000_prediction_history.ts +4 -4
- package/dist/src/db/migrations/2026_01_03_000_feature_flags.ts +3 -3
- package/dist/src/db/migrations/2026_01_03_000_test_executions.ts +2 -2
- package/dist/src/db/migrations/2026_01_05_000_tool_calls.ts +2 -2
- package/dist/src/db/migrations/2026_01_08_000_test_coverage.ts +4 -4
- package/dist/src/db/migrations/2026_01_09_000_video_recordings.ts +3 -3
- package/dist/src/db/migrations/2026_01_10_000_device_snapshots.ts +3 -3
- package/dist/src/db/migrations/2026_01_14_000_appearance_config.ts +3 -3
- package/dist/src/db/migrations/2026_01_25_001_test_run_details.ts +2 -2
- package/dist/src/db/migrations/2026_01_27_000_crash_anr_monitoring.ts +2 -2
- package/dist/src/db/migrations/2026_01_27_000_failures.ts +7 -7
- package/dist/src/db/migrations/2026_01_29_000_named_nodes.ts +3 -3
- package/dist/src/db/migrations/2026_01_30_000_performance_live_metrics.ts +1 -1
- package/dist/src/db/migrations/2026_03_15_000_telemetry_events.ts +5 -5
- package/dist/src/db/migrations/2026_03_18_000_navigation_events.ts +2 -2
- package/dist/src/db/migrations/2026_03_19_000_storage_events.ts +2 -2
- package/dist/src/db/migrations/2026_03_19_001_layout_events.ts +2 -2
- package/dist/src/db/migrations/2026_04_01_000_drop_custom_events.ts +2 -2
- package/dist/src/db/migrations/2026_04_02_000_device_sessions.ts +3 -3
- package/dist/src/db/migrations/2026_07_01_000_failure_groups_signature_unique.ts +162 -0
- package/dist/src/db/migrations/2026_07_02_000_event_composite_indexes.ts +62 -0
- package/dist/src/db/migrations/2026_07_03_000_drop_redundant_device_indexes.ts +66 -0
- package/dist/src/db/migrations/2026_07_03_000_repair_datetime_now_defaults.ts +268 -0
- package/dist/src/db/migrations/2026_07_04_000_storage_events_key_lookup.ts +60 -0
- package/dist/src/db/migrations/2026_07_05_000_repair_updated_at_defaults.ts +242 -0
- package/dist/src/index.js +534 -377
- package/dist/src/index.js.map +1 -1
- package/dist/vendor/libwebp/COPYING +30 -0
- package/dist/vendor/libwebp/PATENTS +23 -0
- package/dist/vendor/libwebp/README.md +13 -0
- package/dist/vendor/libwebp/README.upstream.md +54 -0
- package/dist/vendor/libwebp/win32-x64/cwebp.exe +0 -0
- package/dist/vendor/libwebp/win32-x64/dwebp.exe +0 -0
- package/package.json +12 -9
- package/schemas/test-plan.schema.json +6 -2
- package/schemas/tool-definitions.json +2816 -671
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Copyright (c) 2010, Google Inc. All rights reserved.
|
|
2
|
+
|
|
3
|
+
Redistribution and use in source and binary forms, with or without
|
|
4
|
+
modification, are permitted provided that the following conditions are
|
|
5
|
+
met:
|
|
6
|
+
|
|
7
|
+
* Redistributions of source code must retain the above copyright
|
|
8
|
+
notice, this list of conditions and the following disclaimer.
|
|
9
|
+
|
|
10
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
11
|
+
notice, this list of conditions and the following disclaimer in
|
|
12
|
+
the documentation and/or other materials provided with the
|
|
13
|
+
distribution.
|
|
14
|
+
|
|
15
|
+
* Neither the name of Google nor the names of its contributors may
|
|
16
|
+
be used to endorse or promote products derived from this software
|
|
17
|
+
without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
20
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
21
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
22
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
23
|
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
24
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
25
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
26
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
27
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Additional IP Rights Grant (Patents)
|
|
2
|
+
------------------------------------
|
|
3
|
+
|
|
4
|
+
"These implementations" means the copyrightable works that implement the WebM
|
|
5
|
+
codecs distributed by Google as part of the WebM Project.
|
|
6
|
+
|
|
7
|
+
Google hereby grants to you a perpetual, worldwide, non-exclusive, no-charge,
|
|
8
|
+
royalty-free, irrevocable (except as stated in this section) patent license to
|
|
9
|
+
make, have made, use, offer to sell, sell, import, transfer, and otherwise
|
|
10
|
+
run, modify and propagate the contents of these implementations of WebM, where
|
|
11
|
+
such license applies only to those patent claims, both currently owned by
|
|
12
|
+
Google and acquired in the future, licensable by Google that are necessarily
|
|
13
|
+
infringed by these implementations of WebM. This grant does not include claims
|
|
14
|
+
that would be infringed only as a consequence of further modification of these
|
|
15
|
+
implementations. If you or your agent or exclusive licensee institute or order
|
|
16
|
+
or agree to the institution of patent litigation or any other patent
|
|
17
|
+
enforcement activity against any entity (including a cross-claim or
|
|
18
|
+
counterclaim in a lawsuit) alleging that any of these implementations of WebM
|
|
19
|
+
or any code incorporated within any of these implementations of WebM
|
|
20
|
+
constitute direct or contributory patent infringement, or inducement of
|
|
21
|
+
patent infringement, then any patent rights granted to you under this License
|
|
22
|
+
for these implementations of WebM shall terminate as of the date such
|
|
23
|
+
litigation is filed.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Bundled libwebp tools
|
|
2
|
+
|
|
3
|
+
This directory vendors the WebP `cwebp` and `dwebp` command line tools for
|
|
4
|
+
Windows x64 so AutoMobile can preserve WebP screenshots offline on Windows.
|
|
5
|
+
|
|
6
|
+
- Version: libwebp 1.6.0
|
|
7
|
+
- Source archive: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-windows-x64.zip
|
|
8
|
+
- Upstream docs: https://developers.google.com/speed/webp/docs/precompiled
|
|
9
|
+
- License: see `COPYING` and `PATENTS`, copied from the matching
|
|
10
|
+
`libwebp-1.6.0.tar.gz` source archive.
|
|
11
|
+
|
|
12
|
+
Only `win32-x64/cwebp.exe` and `win32-x64/dwebp.exe` are included. Other tools
|
|
13
|
+
from the upstream archive are intentionally omitted.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# WebP Codec
|
|
2
|
+
|
|
3
|
+
```
|
|
4
|
+
__ __ ____ ____ ____
|
|
5
|
+
/ \\/ \/ _ \/ _ )/ _ \
|
|
6
|
+
\ / __/ _ \ __/
|
|
7
|
+
\__\__/\____/\_____/__/ ____ ___
|
|
8
|
+
/ _/ / \ \ / _ \/ _/
|
|
9
|
+
/ \_/ / / \ \ __/ \__
|
|
10
|
+
\____/____/\_____/_____/____/v1.6.0
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
WebP codec is a library to encode and decode images in WebP format. This package
|
|
14
|
+
contains the library that can be used in other programs to add WebP support, as
|
|
15
|
+
well as the command line tools 'cwebp' and 'dwebp' to compress and decompress
|
|
16
|
+
images respectively.
|
|
17
|
+
|
|
18
|
+
See https://developers.google.com/speed/webp for details on the image format.
|
|
19
|
+
|
|
20
|
+
The latest source tree is available at
|
|
21
|
+
https://chromium.googlesource.com/webm/libwebp
|
|
22
|
+
|
|
23
|
+
It is released under the same license as the WebM project. See
|
|
24
|
+
https://www.webmproject.org/license/software/ or the "COPYING" file for details.
|
|
25
|
+
An additional intellectual property rights grant can be found in the file
|
|
26
|
+
PATENTS.
|
|
27
|
+
|
|
28
|
+
## Building
|
|
29
|
+
|
|
30
|
+
See the [building documentation](doc/building.md).
|
|
31
|
+
|
|
32
|
+
## Encoding and Decoding Tools
|
|
33
|
+
|
|
34
|
+
The examples/ directory contains tools to encode and decode images and
|
|
35
|
+
animations, view information about WebP images, and more. See the
|
|
36
|
+
[tools documentation](doc/tools.md).
|
|
37
|
+
|
|
38
|
+
## APIs
|
|
39
|
+
|
|
40
|
+
See the [APIs documentation](doc/api.md), and API usage examples in the
|
|
41
|
+
`examples/` directory.
|
|
42
|
+
|
|
43
|
+
## Bugs
|
|
44
|
+
|
|
45
|
+
Please report all bugs to the [issue tracker](https://issues.webmproject.org).
|
|
46
|
+
For security reports, select 'Security report' from the Template dropdown.
|
|
47
|
+
|
|
48
|
+
Patches welcome! See [how to contribute](CONTRIBUTING.md).
|
|
49
|
+
|
|
50
|
+
## Discuss
|
|
51
|
+
|
|
52
|
+
Email: webp-discuss@webmproject.org
|
|
53
|
+
|
|
54
|
+
Web: https://groups.google.com/a/webmproject.org/group/webp-discuss
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaeawc/auto-mobile",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.41",
|
|
4
4
|
"description": "Mobile device interaction automation via MCP",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "bun test",
|
|
7
7
|
"test:coverage": "bun test --coverage",
|
|
8
8
|
"test:startup:bun": "bash scripts/ci/mcp-startup-smoke.sh",
|
|
9
|
-
"test:
|
|
10
|
-
"test:
|
|
9
|
+
"test:image:bun": "bun scripts/ci/image-runtime-smoke.ts",
|
|
10
|
+
"test:image:sharp-bun-repro": "bash scripts/validate-sharp-bun-repro.sh",
|
|
11
|
+
"test:memory-leaks": "bun --expose-gc scripts/detect-memory-leaks.ts",
|
|
11
12
|
"lint": "eslint . --fix",
|
|
13
|
+
"typecheck": "bash scripts/typecheck-baseline.sh",
|
|
14
|
+
"typecheck:update": "bash scripts/typecheck-baseline.sh --update",
|
|
12
15
|
"watch": "bun --watch src/index.ts",
|
|
13
16
|
"build": "bun build.ts && chmod +x dist/src/index.js",
|
|
14
17
|
"clean": "rm -rf dist",
|
|
18
|
+
"bootstrap:worktree": "bash scripts/codex/bootstrap-worktree.sh",
|
|
15
19
|
"dev:android": "bash scripts/local-dev/android-hot-reload.sh --skip-ai",
|
|
16
20
|
"dev:android:hot-reload": "bash scripts/local-dev/android-hot-reload.sh",
|
|
17
21
|
"dev:ios": "bash scripts/local-dev/ios-hot-reload.sh --skip-ai",
|
|
@@ -21,8 +25,8 @@
|
|
|
21
25
|
"benchmark-tools": "bun scripts/benchmark-mcp-tools.ts",
|
|
22
26
|
"benchmark-startup": "bash scripts/benchmark-startup.sh",
|
|
23
27
|
"benchmark-npm-unpacked-size": "bun scripts/benchmark-npm-unpacked-size.ts",
|
|
24
|
-
"profile:memory": "
|
|
25
|
-
"profile:heap": "
|
|
28
|
+
"profile:memory": "bun --expose-gc --inspect scripts/detect-memory-leaks.ts --mode=profile",
|
|
29
|
+
"profile:heap": "bun --expose-gc --heap-prof scripts/stress-test.ts",
|
|
26
30
|
"validate:yaml": "bun scripts/validate-yaml.ts",
|
|
27
31
|
"dead-code:ts": "bash scripts/detect-dead-code-ts.sh",
|
|
28
32
|
"dead-code:ts:prune": "bash -o pipefail -c 'bunx ts-prune --project tsconfig.dead-code.json -i src/db/migrations | (grep -v \"(used in module)\" || true) | bash scripts/filter-ts-prune-allowlist.sh'",
|
|
@@ -75,7 +79,8 @@
|
|
|
75
79
|
"access": "public"
|
|
76
80
|
},
|
|
77
81
|
"dependencies": {
|
|
78
|
-
"@anthropic-ai/sdk": "^0.
|
|
82
|
+
"@anthropic-ai/sdk": "^0.110.0",
|
|
83
|
+
"@jimp/core": "^1.6.1",
|
|
79
84
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
80
85
|
"adm-zip": "^0.5.16",
|
|
81
86
|
"ajv": "^8.18.0",
|
|
@@ -149,12 +154,10 @@
|
|
|
149
154
|
"@typescript-eslint/parser": "^8.53.0",
|
|
150
155
|
"eslint": "^10.0.0",
|
|
151
156
|
"eslint-plugin-import": "^2.31.0",
|
|
152
|
-
"heapdump": "^0.3.15",
|
|
153
157
|
"knip": "^6.0.0",
|
|
154
|
-
"memwatch-next": "^0.3.0",
|
|
155
158
|
"ts-prune": "^0.10.3",
|
|
156
159
|
"tsx": "^4.21.0",
|
|
157
160
|
"turbo": "^2.8.10",
|
|
158
|
-
"typescript": "
|
|
161
|
+
"typescript": "6.0.3"
|
|
159
162
|
}
|
|
160
163
|
}
|
|
@@ -178,6 +178,10 @@
|
|
|
178
178
|
"type": "string",
|
|
179
179
|
"description": "Human-readable description of what this step does"
|
|
180
180
|
},
|
|
181
|
+
"optional": {
|
|
182
|
+
"type": "boolean",
|
|
183
|
+
"description": "Best-effort step: if the tool fails (returns success:false, an observe waitFor times out, or throws), the executor logs it, records the step as skipped, and continues instead of aborting the plan. Use for steps that guard against intermittent UI (e.g. dismissing a dialog that may or may not be present)."
|
|
184
|
+
},
|
|
181
185
|
"description": {
|
|
182
186
|
"type": "string",
|
|
183
187
|
"description": "DEPRECATED: Use 'label' instead (legacy field)"
|
|
@@ -453,7 +457,7 @@
|
|
|
453
457
|
},
|
|
454
458
|
"permissions": {
|
|
455
459
|
"type": "array",
|
|
456
|
-
"description": "Runtime permissions or simulator privacy services to change",
|
|
460
|
+
"description": "Runtime permissions or simulator privacy services to change; iOS physical reset accepts 'all'",
|
|
457
461
|
"minItems": 1,
|
|
458
462
|
"items": {
|
|
459
463
|
"type": "string",
|
|
@@ -1178,7 +1182,7 @@
|
|
|
1178
1182
|
"type": "string",
|
|
1179
1183
|
"minLength": 1
|
|
1180
1184
|
},
|
|
1181
|
-
"description": "Runtime permissions or simulator privacy services to change"
|
|
1185
|
+
"description": "Runtime permissions or simulator privacy services to change; iOS physical reset accepts 'all'"
|
|
1182
1186
|
},
|
|
1183
1187
|
"userId": {
|
|
1184
1188
|
"type": "integer",
|