@aiscene/android 1.7.2 → 1.7.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/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 +3 -3
package/dist/es/cli.mjs
CHANGED
|
@@ -17608,7 +17608,7 @@ async function utils_sleep(ms) {
|
|
|
17608
17608
|
return new Promise((resolve)=>setTimeout(resolve, ms));
|
|
17609
17609
|
}
|
|
17610
17610
|
function getVersion() {
|
|
17611
|
-
return "1.7.
|
|
17611
|
+
return "1.7.1";
|
|
17612
17612
|
}
|
|
17613
17613
|
function debugLog(...message) {
|
|
17614
17614
|
const debugMode = process.env[MIDSCENE_DEBUG_MODE];
|
|
@@ -20834,7 +20834,7 @@ async function matchElementFromCache(context, cacheEntry, cachePrompt, cacheable
|
|
|
20834
20834
|
return;
|
|
20835
20835
|
}
|
|
20836
20836
|
}
|
|
20837
|
-
const getMidsceneVersion = ()=>"1.7.
|
|
20837
|
+
const getMidsceneVersion = ()=>"1.7.1";
|
|
20838
20838
|
const parsePrompt = (prompt)=>{
|
|
20839
20839
|
if ('string' == typeof prompt) return {
|
|
20840
20840
|
textPrompt: prompt,
|
|
@@ -24162,7 +24162,7 @@ class AndroidMidsceneTools extends BaseMidsceneTools {
|
|
|
24162
24162
|
const cli_tools = new AndroidMidsceneTools();
|
|
24163
24163
|
runToolsCLI(cli_tools, 'midscene-android', {
|
|
24164
24164
|
stripPrefix: 'android_',
|
|
24165
|
-
version: "1.7.
|
|
24165
|
+
version: "1.7.4"
|
|
24166
24166
|
}).catch((e)=>{
|
|
24167
24167
|
if (!(e instanceof CLIError)) console.error(e);
|
|
24168
24168
|
process.exit(e instanceof CLIError ? e.exitCode : 1);
|
package/dist/es/index.mjs
CHANGED
|
@@ -17608,7 +17608,7 @@ async function utils_sleep(ms) {
|
|
|
17608
17608
|
return new Promise((resolve)=>setTimeout(resolve, ms));
|
|
17609
17609
|
}
|
|
17610
17610
|
function getVersion() {
|
|
17611
|
-
return "1.7.
|
|
17611
|
+
return "1.7.1";
|
|
17612
17612
|
}
|
|
17613
17613
|
function debugLog(...message) {
|
|
17614
17614
|
const debugMode = process.env[MIDSCENE_DEBUG_MODE];
|
|
@@ -20834,7 +20834,7 @@ async function matchElementFromCache(context, cacheEntry, cachePrompt, cacheable
|
|
|
20834
20834
|
return;
|
|
20835
20835
|
}
|
|
20836
20836
|
}
|
|
20837
|
-
const getMidsceneVersion = ()=>"1.7.
|
|
20837
|
+
const getMidsceneVersion = ()=>"1.7.1";
|
|
20838
20838
|
const parsePrompt = (prompt)=>{
|
|
20839
20839
|
if ('string' == typeof prompt) return {
|
|
20840
20840
|
textPrompt: prompt,
|
package/dist/es/mcp-server.mjs
CHANGED
|
@@ -19460,7 +19460,7 @@ async function utils_sleep(ms) {
|
|
|
19460
19460
|
return new Promise((resolve)=>setTimeout(resolve, ms));
|
|
19461
19461
|
}
|
|
19462
19462
|
function getVersion() {
|
|
19463
|
-
return "1.7.
|
|
19463
|
+
return "1.7.1";
|
|
19464
19464
|
}
|
|
19465
19465
|
function debugLog(...message) {
|
|
19466
19466
|
const debugMode = process.env[MIDSCENE_DEBUG_MODE];
|
|
@@ -20569,7 +20569,7 @@ async function matchElementFromCache(context, cacheEntry, cachePrompt, cacheable
|
|
|
20569
20569
|
return;
|
|
20570
20570
|
}
|
|
20571
20571
|
}
|
|
20572
|
-
const getMidsceneVersion = ()=>"1.7.
|
|
20572
|
+
const getMidsceneVersion = ()=>"1.7.1";
|
|
20573
20573
|
const parsePrompt = (prompt)=>{
|
|
20574
20574
|
if ('string' == typeof prompt) return {
|
|
20575
20575
|
textPrompt: prompt,
|
|
@@ -24165,7 +24165,7 @@ class AndroidMCPServer extends BaseMCPServer {
|
|
|
24165
24165
|
constructor(toolsManager){
|
|
24166
24166
|
super({
|
|
24167
24167
|
name: '@midscene/android-mcp',
|
|
24168
|
-
version: "1.7.
|
|
24168
|
+
version: "1.7.4",
|
|
24169
24169
|
description: 'Control the Android device using natural language commands'
|
|
24170
24170
|
}, toolsManager);
|
|
24171
24171
|
}
|
package/dist/lib/cli.js
CHANGED
|
@@ -17665,7 +17665,7 @@ Return JSON:
|
|
|
17665
17665
|
return new Promise((resolve)=>setTimeout(resolve, ms));
|
|
17666
17666
|
}
|
|
17667
17667
|
function getVersion() {
|
|
17668
|
-
return "1.7.
|
|
17668
|
+
return "1.7.1";
|
|
17669
17669
|
}
|
|
17670
17670
|
function debugLog(...message) {
|
|
17671
17671
|
const debugMode = process.env[env_namespaceObject.MIDSCENE_DEBUG_MODE];
|
|
@@ -20893,7 +20893,7 @@ Return JSON:
|
|
|
20893
20893
|
return;
|
|
20894
20894
|
}
|
|
20895
20895
|
}
|
|
20896
|
-
const getMidsceneVersion = ()=>"1.7.
|
|
20896
|
+
const getMidsceneVersion = ()=>"1.7.1";
|
|
20897
20897
|
const parsePrompt = (prompt)=>{
|
|
20898
20898
|
if ('string' == typeof prompt) return {
|
|
20899
20899
|
textPrompt: prompt,
|
|
@@ -24223,7 +24223,7 @@ ${Object.keys(size).filter((key)=>size[key]).map((key)=>` ${key} size: ${size[k
|
|
|
24223
24223
|
const cli_tools = new AndroidMidsceneTools();
|
|
24224
24224
|
(0, cli_namespaceObject.runToolsCLI)(cli_tools, 'midscene-android', {
|
|
24225
24225
|
stripPrefix: 'android_',
|
|
24226
|
-
version: "1.7.
|
|
24226
|
+
version: "1.7.4"
|
|
24227
24227
|
}).catch((e)=>{
|
|
24228
24228
|
if (!(e instanceof cli_namespaceObject.CLIError)) console.error(e);
|
|
24229
24229
|
process.exit(e instanceof cli_namespaceObject.CLIError ? e.exitCode : 1);
|
package/dist/lib/index.js
CHANGED
|
@@ -17677,7 +17677,7 @@ Return JSON:
|
|
|
17677
17677
|
return new Promise((resolve)=>setTimeout(resolve, ms));
|
|
17678
17678
|
}
|
|
17679
17679
|
function getVersion() {
|
|
17680
|
-
return "1.7.
|
|
17680
|
+
return "1.7.1";
|
|
17681
17681
|
}
|
|
17682
17682
|
function debugLog(...message) {
|
|
17683
17683
|
const debugMode = process.env[env_namespaceObject.MIDSCENE_DEBUG_MODE];
|
|
@@ -20903,7 +20903,7 @@ Return JSON:
|
|
|
20903
20903
|
return;
|
|
20904
20904
|
}
|
|
20905
20905
|
}
|
|
20906
|
-
const getMidsceneVersion = ()=>"1.7.
|
|
20906
|
+
const getMidsceneVersion = ()=>"1.7.1";
|
|
20907
20907
|
const parsePrompt = (prompt)=>{
|
|
20908
20908
|
if ('string' == typeof prompt) return {
|
|
20909
20909
|
textPrompt: prompt,
|
package/dist/lib/mcp-server.js
CHANGED
|
@@ -19524,7 +19524,7 @@ Return JSON:
|
|
|
19524
19524
|
return new Promise((resolve)=>setTimeout(resolve, ms));
|
|
19525
19525
|
}
|
|
19526
19526
|
function getVersion() {
|
|
19527
|
-
return "1.7.
|
|
19527
|
+
return "1.7.1";
|
|
19528
19528
|
}
|
|
19529
19529
|
function debugLog(...message) {
|
|
19530
19530
|
const debugMode = process.env[env_namespaceObject.MIDSCENE_DEBUG_MODE];
|
|
@@ -20635,7 +20635,7 @@ Return JSON:
|
|
|
20635
20635
|
return;
|
|
20636
20636
|
}
|
|
20637
20637
|
}
|
|
20638
|
-
const getMidsceneVersion = ()=>"1.7.
|
|
20638
|
+
const getMidsceneVersion = ()=>"1.7.1";
|
|
20639
20639
|
const parsePrompt = (prompt)=>{
|
|
20640
20640
|
if ('string' == typeof prompt) return {
|
|
20641
20641
|
textPrompt: prompt,
|
|
@@ -24232,7 +24232,7 @@ ${Object.keys(size).filter((key)=>size[key]).map((key)=>` ${key} size: ${size[k
|
|
|
24232
24232
|
constructor(toolsManager){
|
|
24233
24233
|
super({
|
|
24234
24234
|
name: '@midscene/android-mcp',
|
|
24235
|
-
version: "1.7.
|
|
24235
|
+
version: "1.7.4",
|
|
24236
24236
|
description: 'Control the Android device using natural language commands'
|
|
24237
24237
|
}, toolsManager);
|
|
24238
24238
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiscene/android",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"description": "Android automation library for Midscene",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Android UI automation",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"test:ai:cache": "MIDSCENE_CACHE=true AI_TEST_TYPE=android npm run test"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aiscene/core": "1.7.
|
|
50
|
-
"@midscene/shared": "
|
|
49
|
+
"@aiscene/core": "1.7.1",
|
|
50
|
+
"@midscene/shared": "1.6.0",
|
|
51
51
|
"@yume-chan/adb": "2.5.1",
|
|
52
52
|
"@yume-chan/adb-scrcpy": "2.3.2",
|
|
53
53
|
"@yume-chan/adb-server-node-tcp": "2.5.2",
|