@midscene/android-mcp 1.0.1-beta-20251208031856.0 → 1.0.1-beta-20251208033501.0
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/index.js +14 -5
- package/dist/server.js +14 -5
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -186061,7 +186061,7 @@ function stringifyDumpData(data, indents) {
|
|
|
186061
186061
|
return JSON.stringify(data, replacerForPageObject, indents);
|
|
186062
186062
|
}
|
|
186063
186063
|
function getVersion() {
|
|
186064
|
-
return "1.0.1-beta-
|
|
186064
|
+
return "1.0.1-beta-20251208033501.0";
|
|
186065
186065
|
}
|
|
186066
186066
|
function utils_debugLog(...message) {
|
|
186067
186067
|
const debugMode = process.env[MIDSCENE_DEBUG_MODE];
|
|
@@ -190543,7 +190543,7 @@ async function matchElementFromCache(context, cacheEntry, cachePrompt, cacheable
|
|
|
190543
190543
|
return;
|
|
190544
190544
|
}
|
|
190545
190545
|
}
|
|
190546
|
-
const getMidsceneVersion = ()=>"1.0.1-beta-
|
|
190546
|
+
const getMidsceneVersion = ()=>"1.0.1-beta-20251208033501.0";
|
|
190547
190547
|
const parsePrompt = (prompt)=>{
|
|
190548
190548
|
if ('string' == typeof prompt) return {
|
|
190549
190549
|
textPrompt: prompt,
|
|
@@ -193871,7 +193871,7 @@ const android_tools_debug = getDebug('mcp:android-tools');
|
|
|
193871
193871
|
constructor(){
|
|
193872
193872
|
super({
|
|
193873
193873
|
name: '@midscene/android-mcp',
|
|
193874
|
-
version: '1.0.1-beta-
|
|
193874
|
+
version: '1.0.1-beta-20251208033501.0',
|
|
193875
193875
|
description: 'Midscene MCP Server for Android automation'
|
|
193876
193876
|
});
|
|
193877
193877
|
}
|
|
@@ -197111,7 +197111,7 @@ async function matchElementFromCache(context, cacheEntry, cachePrompt, cacheable
|
|
|
197111
197111
|
return;
|
|
197112
197112
|
}
|
|
197113
197113
|
}
|
|
197114
|
-
const getMidsceneVersion = ()=>"1.0.1-beta-
|
|
197114
|
+
const getMidsceneVersion = ()=>"1.0.1-beta-20251208033501.0";
|
|
197115
197115
|
const parsePrompt = (prompt)=>{
|
|
197116
197116
|
if ('string' == typeof prompt) return {
|
|
197117
197117
|
textPrompt: prompt,
|
|
@@ -201792,7 +201792,7 @@ function stringifyDumpData(data, indents) {
|
|
|
201792
201792
|
return JSON.stringify(data, replacerForPageObject, indents);
|
|
201793
201793
|
}
|
|
201794
201794
|
function getVersion() {
|
|
201795
|
-
return "1.0.1-beta-
|
|
201795
|
+
return "1.0.1-beta-20251208033501.0";
|
|
201796
201796
|
}
|
|
201797
201797
|
function debugLog(...message) {
|
|
201798
201798
|
const debugMode = process.env[env_namespaceObject.MIDSCENE_DEBUG_MODE];
|
|
@@ -253475,6 +253475,15 @@ class BaseMCPServer {
|
|
|
253475
253475
|
this.toolsManager?.closeBrowser?.().catch(console.error);
|
|
253476
253476
|
}
|
|
253477
253477
|
async launch() {
|
|
253478
|
+
console.log = (...args)=>{
|
|
253479
|
+
console.error('[LOG]', ...args);
|
|
253480
|
+
};
|
|
253481
|
+
console.info = (...args)=>{
|
|
253482
|
+
console.error('[INFO]', ...args);
|
|
253483
|
+
};
|
|
253484
|
+
console.debug = (...args)=>{
|
|
253485
|
+
console.error('[DEBUG]', ...args);
|
|
253486
|
+
};
|
|
253478
253487
|
await this.initializeToolsManager();
|
|
253479
253488
|
const transport = new StdioServerTransport();
|
|
253480
253489
|
try {
|
package/dist/server.js
CHANGED
|
@@ -174593,7 +174593,7 @@ async function matchElementFromCache(context, cacheEntry, cachePrompt, cacheable
|
|
|
174593
174593
|
return;
|
|
174594
174594
|
}
|
|
174595
174595
|
}
|
|
174596
|
-
const getMidsceneVersion = ()=>"1.0.1-beta-
|
|
174596
|
+
const getMidsceneVersion = ()=>"1.0.1-beta-20251208033501.0";
|
|
174597
174597
|
const parsePrompt = (prompt)=>{
|
|
174598
174598
|
if ('string' == typeof prompt) return {
|
|
174599
174599
|
textPrompt: prompt,
|
|
@@ -179274,7 +179274,7 @@ function stringifyDumpData(data, indents) {
|
|
|
179274
179274
|
return JSON.stringify(data, replacerForPageObject, indents);
|
|
179275
179275
|
}
|
|
179276
179276
|
function getVersion() {
|
|
179277
|
-
return "1.0.1-beta-
|
|
179277
|
+
return "1.0.1-beta-20251208033501.0";
|
|
179278
179278
|
}
|
|
179279
179279
|
function debugLog(...message) {
|
|
179280
179280
|
const debugMode = process.env[env_namespaceObject.MIDSCENE_DEBUG_MODE];
|
|
@@ -230956,6 +230956,15 @@ class BaseMCPServer {
|
|
|
230956
230956
|
this.toolsManager?.closeBrowser?.().catch(console.error);
|
|
230957
230957
|
}
|
|
230958
230958
|
async launch() {
|
|
230959
|
+
console.log = (...args)=>{
|
|
230960
|
+
console.error('[LOG]', ...args);
|
|
230961
|
+
};
|
|
230962
|
+
console.info = (...args)=>{
|
|
230963
|
+
console.error('[INFO]', ...args);
|
|
230964
|
+
};
|
|
230965
|
+
console.debug = (...args)=>{
|
|
230966
|
+
console.error('[DEBUG]', ...args);
|
|
230967
|
+
};
|
|
230959
230968
|
await this.initializeToolsManager();
|
|
230960
230969
|
const transport = new StdioServerTransport();
|
|
230961
230970
|
try {
|
|
@@ -246269,7 +246278,7 @@ function stringifyDumpData(data, indents) {
|
|
|
246269
246278
|
return JSON.stringify(data, replacerForPageObject, indents);
|
|
246270
246279
|
}
|
|
246271
246280
|
function getVersion() {
|
|
246272
|
-
return "1.0.1-beta-
|
|
246281
|
+
return "1.0.1-beta-20251208033501.0";
|
|
246273
246282
|
}
|
|
246274
246283
|
function utils_debugLog(...message) {
|
|
246275
246284
|
const debugMode = process.env[MIDSCENE_DEBUG_MODE];
|
|
@@ -250751,7 +250760,7 @@ async function matchElementFromCache(context, cacheEntry, cachePrompt, cacheable
|
|
|
250751
250760
|
return;
|
|
250752
250761
|
}
|
|
250753
250762
|
}
|
|
250754
|
-
const getMidsceneVersion = ()=>"1.0.1-beta-
|
|
250763
|
+
const getMidsceneVersion = ()=>"1.0.1-beta-20251208033501.0";
|
|
250755
250764
|
const parsePrompt = (prompt)=>{
|
|
250756
250765
|
if ('string' == typeof prompt) return {
|
|
250757
250766
|
textPrompt: prompt,
|
|
@@ -254079,7 +254088,7 @@ const android_tools_debug = getDebug('mcp:android-tools');
|
|
|
254079
254088
|
constructor(){
|
|
254080
254089
|
super({
|
|
254081
254090
|
name: '@midscene/android-mcp',
|
|
254082
|
-
version: '1.0.1-beta-
|
|
254091
|
+
version: '1.0.1-beta-20251208033501.0',
|
|
254083
254092
|
description: 'Midscene MCP Server for Android automation'
|
|
254084
254093
|
});
|
|
254085
254094
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/android-mcp",
|
|
3
|
-
"version": "1.0.1-beta-
|
|
3
|
+
"version": "1.0.1-beta-20251208033501.0",
|
|
4
4
|
"description": "Midscene MCP Server for Android automation",
|
|
5
5
|
"bin": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"dotenv": "^16.4.5",
|
|
28
28
|
"typescript": "^5.8.3",
|
|
29
29
|
"vitest": "3.0.5",
|
|
30
|
-
"@midscene/android": "1.0.1-beta-
|
|
31
|
-
"@midscene/core": "1.0.1-beta-
|
|
32
|
-
"@midscene/shared": "1.0.1-beta-
|
|
30
|
+
"@midscene/android": "1.0.1-beta-20251208033501.0",
|
|
31
|
+
"@midscene/core": "1.0.1-beta-20251208033501.0",
|
|
32
|
+
"@midscene/shared": "1.0.1-beta-20251208033501.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@silvia-odwyer/photon": "0.3.3",
|