@aiscene/android 1.6.0-cache → 1.6.4
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/bin/AndroidManifest.xml +0 -0
- package/bin/META-INF/com/android/build/gradle/app-metadata.properties +2 -0
- package/bin/classes.dex +0 -0
- package/bin/resources.arsc +0 -0
- package/dist/es/cli.mjs +3 -3
- package/dist/es/index.mjs +2 -2
- package/dist/es/mcp-server.mjs +3 -3
- package/dist/lib/cli.js +3 -3
- package/dist/lib/index.js +2 -2
- package/dist/lib/mcp-server.js +3 -3
- package/package.json +1 -1
- package/bin/midscene-android +0 -2
- package/bin/yadb +0 -0
|
Binary file
|
package/bin/classes.dex
ADDED
|
Binary file
|
|
Binary file
|
package/dist/es/cli.mjs
CHANGED
|
@@ -1413,8 +1413,8 @@ ${Object.keys(size).filter((key)=>size[key]).map((key)=>` ${key} size: ${size[k
|
|
|
1413
1413
|
if (!this.yadbPushed) {
|
|
1414
1414
|
const adb = await this.getAdb();
|
|
1415
1415
|
const androidPkgJson = (0, external_node_module_.createRequire)(import.meta.url).resolve('@aiscene/android/package.json');
|
|
1416
|
-
const
|
|
1417
|
-
await adb.push(
|
|
1416
|
+
const yadbDir = external_node_path_["default"].join(external_node_path_["default"].dirname(androidPkgJson), 'bin');
|
|
1417
|
+
await adb.push(yadbDir, '/data/local/tmp');
|
|
1418
1418
|
this.yadbPushed = true;
|
|
1419
1419
|
}
|
|
1420
1420
|
}
|
|
@@ -1865,7 +1865,7 @@ class AndroidMidsceneTools extends BaseMidsceneTools {
|
|
|
1865
1865
|
const tools = new AndroidMidsceneTools();
|
|
1866
1866
|
runToolsCLI(tools, 'midscene-android', {
|
|
1867
1867
|
stripPrefix: 'android_',
|
|
1868
|
-
version: "1.6.
|
|
1868
|
+
version: "1.6.4"
|
|
1869
1869
|
}).catch((e)=>{
|
|
1870
1870
|
if (!(e instanceof CLIError)) console.error(e);
|
|
1871
1871
|
process.exit(e instanceof CLIError ? e.exitCode : 1);
|
package/dist/es/index.mjs
CHANGED
|
@@ -1316,8 +1316,8 @@ ${Object.keys(size).filter((key)=>size[key]).map((key)=>` ${key} size: ${size[k
|
|
|
1316
1316
|
if (!this.yadbPushed) {
|
|
1317
1317
|
const adb = await this.getAdb();
|
|
1318
1318
|
const androidPkgJson = (0, external_node_module_.createRequire)(import.meta.url).resolve('@aiscene/android/package.json');
|
|
1319
|
-
const
|
|
1320
|
-
await adb.push(
|
|
1319
|
+
const yadbDir = external_node_path_["default"].join(external_node_path_["default"].dirname(androidPkgJson), 'bin');
|
|
1320
|
+
await adb.push(yadbDir, '/data/local/tmp');
|
|
1321
1321
|
this.yadbPushed = true;
|
|
1322
1322
|
}
|
|
1323
1323
|
}
|
package/dist/es/mcp-server.mjs
CHANGED
|
@@ -1412,8 +1412,8 @@ ${Object.keys(size).filter((key)=>size[key]).map((key)=>` ${key} size: ${size[k
|
|
|
1412
1412
|
if (!this.yadbPushed) {
|
|
1413
1413
|
const adb = await this.getAdb();
|
|
1414
1414
|
const androidPkgJson = (0, external_node_module_.createRequire)(import.meta.url).resolve('@aiscene/android/package.json');
|
|
1415
|
-
const
|
|
1416
|
-
await adb.push(
|
|
1415
|
+
const yadbDir = external_node_path_["default"].join(external_node_path_["default"].dirname(androidPkgJson), 'bin');
|
|
1416
|
+
await adb.push(yadbDir, '/data/local/tmp');
|
|
1417
1417
|
this.yadbPushed = true;
|
|
1418
1418
|
}
|
|
1419
1419
|
}
|
|
@@ -1868,7 +1868,7 @@ class AndroidMCPServer extends BaseMCPServer {
|
|
|
1868
1868
|
constructor(toolsManager){
|
|
1869
1869
|
super({
|
|
1870
1870
|
name: '@midscene/android-mcp',
|
|
1871
|
-
version: "1.6.
|
|
1871
|
+
version: "1.6.4",
|
|
1872
1872
|
description: 'Control the Android device using natural language commands'
|
|
1873
1873
|
}, toolsManager);
|
|
1874
1874
|
}
|
package/dist/lib/cli.js
CHANGED
|
@@ -1428,8 +1428,8 @@ ${Object.keys(size).filter((key)=>size[key]).map((key)=>` ${key} size: ${size[k
|
|
|
1428
1428
|
if (!this.yadbPushed) {
|
|
1429
1429
|
const adb = await this.getAdb();
|
|
1430
1430
|
const androidPkgJson = (0, external_node_module_.createRequire)(__rslib_import_meta_url__).resolve('@aiscene/android/package.json');
|
|
1431
|
-
const
|
|
1432
|
-
await adb.push(
|
|
1431
|
+
const yadbDir = external_node_path_default().join(external_node_path_default().dirname(androidPkgJson), 'bin');
|
|
1432
|
+
await adb.push(yadbDir, '/data/local/tmp');
|
|
1433
1433
|
this.yadbPushed = true;
|
|
1434
1434
|
}
|
|
1435
1435
|
}
|
|
@@ -1880,7 +1880,7 @@ ${Object.keys(size).filter((key)=>size[key]).map((key)=>` ${key} size: ${size[k
|
|
|
1880
1880
|
const tools = new AndroidMidsceneTools();
|
|
1881
1881
|
(0, cli_namespaceObject.runToolsCLI)(tools, 'midscene-android', {
|
|
1882
1882
|
stripPrefix: 'android_',
|
|
1883
|
-
version: "1.6.
|
|
1883
|
+
version: "1.6.4"
|
|
1884
1884
|
}).catch((e)=>{
|
|
1885
1885
|
if (!(e instanceof cli_namespaceObject.CLIError)) console.error(e);
|
|
1886
1886
|
process.exit(e instanceof cli_namespaceObject.CLIError ? e.exitCode : 1);
|
package/dist/lib/index.js
CHANGED
|
@@ -1349,8 +1349,8 @@ ${Object.keys(size).filter((key)=>size[key]).map((key)=>` ${key} size: ${size[k
|
|
|
1349
1349
|
if (!this.yadbPushed) {
|
|
1350
1350
|
const adb = await this.getAdb();
|
|
1351
1351
|
const androidPkgJson = (0, external_node_module_.createRequire)(__rslib_import_meta_url__).resolve('@aiscene/android/package.json');
|
|
1352
|
-
const
|
|
1353
|
-
await adb.push(
|
|
1352
|
+
const yadbDir = external_node_path_default().join(external_node_path_default().dirname(androidPkgJson), 'bin');
|
|
1353
|
+
await adb.push(yadbDir, '/data/local/tmp');
|
|
1354
1354
|
this.yadbPushed = true;
|
|
1355
1355
|
}
|
|
1356
1356
|
}
|
package/dist/lib/mcp-server.js
CHANGED
|
@@ -1443,8 +1443,8 @@ ${Object.keys(size).filter((key)=>size[key]).map((key)=>` ${key} size: ${size[k
|
|
|
1443
1443
|
if (!this.yadbPushed) {
|
|
1444
1444
|
const adb = await this.getAdb();
|
|
1445
1445
|
const androidPkgJson = (0, external_node_module_.createRequire)(__rslib_import_meta_url__).resolve('@aiscene/android/package.json');
|
|
1446
|
-
const
|
|
1447
|
-
await adb.push(
|
|
1446
|
+
const yadbDir = external_node_path_default().join(external_node_path_default().dirname(androidPkgJson), 'bin');
|
|
1447
|
+
await adb.push(yadbDir, '/data/local/tmp');
|
|
1448
1448
|
this.yadbPushed = true;
|
|
1449
1449
|
}
|
|
1450
1450
|
}
|
|
@@ -1899,7 +1899,7 @@ ${Object.keys(size).filter((key)=>size[key]).map((key)=>` ${key} size: ${size[k
|
|
|
1899
1899
|
constructor(toolsManager){
|
|
1900
1900
|
super({
|
|
1901
1901
|
name: '@midscene/android-mcp',
|
|
1902
|
-
version: "1.6.
|
|
1902
|
+
version: "1.6.4",
|
|
1903
1903
|
description: 'Control the Android device using natural language commands'
|
|
1904
1904
|
}, toolsManager);
|
|
1905
1905
|
}
|
package/package.json
CHANGED
package/bin/midscene-android
DELETED
package/bin/yadb
DELETED
|
Binary file
|