@kaeawc/auto-mobile 0.0.44 → 0.0.45
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/ios/screen-capture/Package.swift +35 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureCore/AudioPcm16Encoder.swift +22 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureCore/CommandLineOptions.swift +152 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureCore/DeviceInfo.swift +25 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureCore/FrameProtocol.swift +113 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureCore/FrameWriter.swift +62 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureCore/SimulatorWindowInfo.swift +51 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureHelper/AudioSampleBuffer.swift +41 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureHelper/CMIOSystem.swift +26 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureHelper/DeviceCaptureSession.swift +117 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureHelper/DeviceDiscovery.swift +29 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureHelper/FrameWriter+PixelBuffer.swift +25 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureHelper/SimulatorCaptureSession.swift +159 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureHelper/SimulatorWindowDiscovery.swift +37 -0
- package/dist/ios/screen-capture/Sources/ScreenCaptureHelper/main.swift +255 -0
- package/dist/ios/screen-capture/Tests/ScreenCaptureCoreTests/AudioPcm16EncoderTests.swift +17 -0
- package/dist/ios/screen-capture/Tests/ScreenCaptureCoreTests/CommandLineOptionsTests.swift +181 -0
- package/dist/ios/screen-capture/Tests/ScreenCaptureCoreTests/DeviceInfoTests.swift +35 -0
- package/dist/ios/screen-capture/Tests/ScreenCaptureCoreTests/FrameProtocolTests.swift +123 -0
- package/dist/ios/screen-capture/Tests/ScreenCaptureCoreTests/FrameWriterTests.swift +62 -0
- package/dist/ios/screen-capture/Tests/ScreenCaptureCoreTests/SimulatorAudioCaptureAvailabilityTests.swift +27 -0
- package/dist/ios/screen-capture/Tests/ScreenCaptureCoreTests/SimulatorWindowInfoTests.swift +40 -0
- package/dist/schemas/tool-definitions.json +1274 -849
- package/dist/src/db/migrations/2026_07_03_000_repair_datetime_now_defaults.ts +11 -2
- package/dist/src/index.js +670 -407
- package/dist/src/index.js.map +1 -1
- package/package.json +25 -6
- package/schemas/tool-definitions.json +1274 -849
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaeawc/auto-mobile",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.45",
|
|
4
4
|
"description": "Mobile device interaction automation via MCP",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "bun test",
|
|
@@ -9,7 +9,11 @@
|
|
|
9
9
|
"test:image:bun": "bun scripts/ci/image-runtime-smoke.ts",
|
|
10
10
|
"test:image:sharp-bun-repro": "bash scripts/validate-sharp-bun-repro.sh",
|
|
11
11
|
"test:memory-leaks": "bun --expose-gc scripts/detect-memory-leaks.ts",
|
|
12
|
-
"
|
|
12
|
+
"test:integration:webrtc-mediamtx": "bash scripts/webrtc/run-mediamtx-publisher-integration.sh",
|
|
13
|
+
"test:integration:webrtc-device": "bash scripts/webrtc/run-mediamtx-device-integration.sh",
|
|
14
|
+
"lint": "eslint . --fix --pass-on-unpruned-suppressions && bash scripts/check-no-new-direct-simctl.sh && bun scripts/check-no-direct-plutil.ts && bash scripts/check-no-new-direct-xcodebuild.sh && bash scripts/check-no-new-direct-security.sh && bash scripts/check-no-new-direct-git-metadata.sh && bash scripts/check-no-local-shell-quote.sh && bash scripts/check-app-bundle-metadata-boundary.sh && bash scripts/check-ffmpeg-execution-boundary.sh && bash scripts/check-simulator-tcc-sqlite-boundary.sh && bash scripts/check-daemon-launcher-boundary.sh",
|
|
15
|
+
"lint:prune": "eslint . --prune-suppressions",
|
|
16
|
+
"lint:baseline": "eslint . --suppress-rule max-depth --suppress-rule complexity --suppress-rule max-nested-callbacks --suppress-rule auto-mobile/no-accumulator-foreach",
|
|
13
17
|
"typecheck": "bash scripts/typecheck-baseline.sh",
|
|
14
18
|
"typecheck:update": "bash scripts/typecheck-baseline.sh --update",
|
|
15
19
|
"watch": "bun --watch src/index.ts",
|
|
@@ -28,12 +32,25 @@
|
|
|
28
32
|
"profile:memory": "bun --expose-gc --inspect scripts/detect-memory-leaks.ts --mode=profile",
|
|
29
33
|
"profile:heap": "bun --expose-gc --heap-prof scripts/stress-test.ts",
|
|
30
34
|
"validate:yaml": "bun scripts/validate-yaml.ts",
|
|
35
|
+
"check:stdlib-first": "bash scripts/check-stdlib-first.sh",
|
|
36
|
+
"check:shell-quote-boundary": "bash scripts/check-no-local-shell-quote.sh",
|
|
37
|
+
"check:simctl-boundary": "bash scripts/check-no-new-direct-simctl.sh",
|
|
38
|
+
"check:plutil-boundary": "bun scripts/check-no-direct-plutil.ts",
|
|
39
|
+
"check:security-boundary": "bash scripts/check-no-new-direct-security.sh",
|
|
40
|
+
"check:git-metadata-boundary": "bash scripts/check-no-new-direct-git-metadata.sh",
|
|
41
|
+
"check:xcodebuild-boundary": "bash scripts/check-no-new-direct-xcodebuild.sh",
|
|
42
|
+
"check:android-emulator-boundary": "bash scripts/check-android-emulator-boundary.sh",
|
|
43
|
+
"check:app-bundle-metadata-boundary": "bash scripts/check-app-bundle-metadata-boundary.sh",
|
|
44
|
+
"check:ffmpeg-boundary": "bash scripts/check-ffmpeg-execution-boundary.sh",
|
|
45
|
+
"check:simulator-tcc-sqlite-boundary": "bash scripts/check-simulator-tcc-sqlite-boundary.sh",
|
|
46
|
+
"check:daemon-launcher-boundary": "bash scripts/check-daemon-launcher-boundary.sh",
|
|
47
|
+
"check:ios-ctrl-proxy-process-boundary": "bash scripts/check-ios-ctrl-proxy-process-boundary.sh",
|
|
31
48
|
"dead-code:ts": "bash scripts/detect-dead-code-ts.sh",
|
|
32
49
|
"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'",
|
|
33
50
|
"dead-code:ts:knip": "bunx knip",
|
|
34
51
|
"prepublishOnly": "cp README.md README.md.backup && bun scripts/npm/transform-readme.js",
|
|
35
52
|
"postpublish": "mv README.md.backup README.md || true",
|
|
36
|
-
"turbo:validate": "turbo run lint build test",
|
|
53
|
+
"turbo:validate": "turbo run lint build test check:android-emulator-boundary check:ffmpeg-boundary check:ios-ctrl-proxy-process-boundary",
|
|
37
54
|
"turbo:build": "turbo run build",
|
|
38
55
|
"turbo:lint": "turbo run lint",
|
|
39
56
|
"turbo:test": "turbo run test"
|
|
@@ -79,11 +96,11 @@
|
|
|
79
96
|
"access": "public"
|
|
80
97
|
},
|
|
81
98
|
"dependencies": {
|
|
82
|
-
"@anthropic-ai/sdk": "^0.
|
|
99
|
+
"@anthropic-ai/sdk": "^0.113.0",
|
|
83
100
|
"@jimp/core": "^1.6.1",
|
|
84
101
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
85
|
-
"adm-zip": "^0.
|
|
86
|
-
"ajv": "
|
|
102
|
+
"adm-zip": "^0.6.0",
|
|
103
|
+
"ajv": "8.20.0",
|
|
87
104
|
"ajv-formats": "^3.0.1",
|
|
88
105
|
"async-mutex": "^0.5.0",
|
|
89
106
|
"jimp": "^1.6.0",
|
|
@@ -92,7 +109,9 @@
|
|
|
92
109
|
"kysely": "^0.29.0",
|
|
93
110
|
"pixelmatch": "^7.1.0",
|
|
94
111
|
"pngjs": "^7.0.0",
|
|
112
|
+
"reflect-metadata": "^0.2.2",
|
|
95
113
|
"sharp": "0.34.5",
|
|
114
|
+
"werift": "^0.23.0",
|
|
96
115
|
"ws": "^8.19.0",
|
|
97
116
|
"xml2js": "^0.6.2",
|
|
98
117
|
"zod": "^4.3.5"
|