@midscene/mcp 1.2.2-beta-20260115034338.0 → 1.2.2-beta-20260115090041.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 +37 -4
- package/dist/server.js +37 -4
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -21580,7 +21580,7 @@ var __webpack_modules__ = {
|
|
|
21580
21580
|
const external_node_fs_namespaceObject = require("node:fs");
|
|
21581
21581
|
const external_node_path_namespaceObject = require("node:path");
|
|
21582
21582
|
var external_node_util_ = __webpack_require__("node:util");
|
|
21583
|
-
var
|
|
21583
|
+
var debug_src = __webpack_require__("../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js");
|
|
21584
21584
|
const external_node_os_namespaceObject = require("node:os");
|
|
21585
21585
|
const MIDSCENE_MODEL_INIT_CONFIG_JSON = 'MIDSCENE_MODEL_INIT_CONFIG_JSON';
|
|
21586
21586
|
const MIDSCENE_MODEL_NAME = 'MIDSCENE_MODEL_NAME';
|
|
@@ -21738,7 +21738,9 @@ var __webpack_modules__ = {
|
|
|
21738
21738
|
'vlm-ui-tars',
|
|
21739
21739
|
'vlm-ui-tars-doubao',
|
|
21740
21740
|
'vlm-ui-tars-doubao-1.5',
|
|
21741
|
-
'glm-v'
|
|
21741
|
+
'glm-v',
|
|
21742
|
+
'auto-glm',
|
|
21743
|
+
'auto-glm-multilingual'
|
|
21742
21744
|
];
|
|
21743
21745
|
[
|
|
21744
21746
|
...VL_MODE_RAW_VALID_VALUES
|
|
@@ -21809,7 +21811,7 @@ var __webpack_modules__ = {
|
|
|
21809
21811
|
function logger_getDebug(topic) {
|
|
21810
21812
|
const fullTopic = `${topicPrefix}:${topic}`;
|
|
21811
21813
|
if (!debugInstances.has(fullTopic)) {
|
|
21812
|
-
const debugFn =
|
|
21814
|
+
const debugFn = debug_src(fullTopic);
|
|
21813
21815
|
const wrapper = (...args)=>{
|
|
21814
21816
|
if (utils.$9) {
|
|
21815
21817
|
const message = external_node_util_.format(...args);
|
|
@@ -21870,11 +21872,42 @@ var __webpack_modules__ = {
|
|
|
21870
21872
|
rect: RectSchema
|
|
21871
21873
|
}).passthrough();
|
|
21872
21874
|
const getMidsceneLocationSchema = ()=>MidsceneLocationInput;
|
|
21875
|
+
logger_getDebug('auto-glm-parser');
|
|
21873
21876
|
logger_getDebug('ai:inspect');
|
|
21874
21877
|
logger_getDebug('ai:section');
|
|
21875
21878
|
logger_getDebug('planning');
|
|
21879
|
+
function _define_property(obj, key, value) {
|
|
21880
|
+
if (key in obj) Object.defineProperty(obj, key, {
|
|
21881
|
+
value: value,
|
|
21882
|
+
enumerable: true,
|
|
21883
|
+
configurable: true,
|
|
21884
|
+
writable: true
|
|
21885
|
+
});
|
|
21886
|
+
else obj[key] = value;
|
|
21887
|
+
return obj;
|
|
21888
|
+
}
|
|
21889
|
+
class LatestLocateRecorder {
|
|
21890
|
+
recordLocate(locate, source) {
|
|
21891
|
+
this.latestLocate = locate;
|
|
21892
|
+
this.source = source;
|
|
21893
|
+
}
|
|
21894
|
+
getLatestLocate() {
|
|
21895
|
+
return {
|
|
21896
|
+
locate: this.latestLocate,
|
|
21897
|
+
source: this.source
|
|
21898
|
+
};
|
|
21899
|
+
}
|
|
21900
|
+
constructor(){
|
|
21901
|
+
_define_property(this, "latestLocate", void 0);
|
|
21902
|
+
_define_property(this, "source", '');
|
|
21903
|
+
}
|
|
21904
|
+
}
|
|
21905
|
+
logger_getDebug('auto-glm-actions');
|
|
21906
|
+
new LatestLocateRecorder();
|
|
21907
|
+
logger_getDebug('auto-glm-planning');
|
|
21876
21908
|
__webpack_require__("../../node_modules/.pnpm/lodash.isnumber@3.0.3/node_modules/lodash.isnumber/index.js");
|
|
21877
21909
|
logger_getDebug('ui-tars-planning');
|
|
21910
|
+
new LatestLocateRecorder();
|
|
21878
21911
|
var _computedKey;
|
|
21879
21912
|
_computedKey = Symbol.iterator;
|
|
21880
21913
|
logger_getDebug('ai:service');
|
|
@@ -24577,7 +24610,7 @@ For more information, visit: https://midscenejs.com/mcp-migration
|
|
|
24577
24610
|
constructor(){
|
|
24578
24611
|
super({
|
|
24579
24612
|
name: '@midscene/mcp',
|
|
24580
|
-
version: '1.2.2-beta-
|
|
24613
|
+
version: '1.2.2-beta-20260115090041.0',
|
|
24581
24614
|
description: 'Deprecated - Use @midscene/web-bridge-mcp, @midscene/android-mcp, or @midscene/ios-mcp'
|
|
24582
24615
|
});
|
|
24583
24616
|
}
|
package/dist/server.js
CHANGED
|
@@ -28780,7 +28780,7 @@ var __webpack_exports__ = {};
|
|
|
28780
28780
|
const external_node_fs_namespaceObject = require("node:fs");
|
|
28781
28781
|
const external_node_path_namespaceObject = require("node:path");
|
|
28782
28782
|
var external_node_util_ = __webpack_require__("node:util");
|
|
28783
|
-
var
|
|
28783
|
+
var debug_src = __webpack_require__("../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js");
|
|
28784
28784
|
const external_node_os_namespaceObject = require("node:os");
|
|
28785
28785
|
const MIDSCENE_MODEL_INIT_CONFIG_JSON = 'MIDSCENE_MODEL_INIT_CONFIG_JSON';
|
|
28786
28786
|
const MIDSCENE_MODEL_NAME = 'MIDSCENE_MODEL_NAME';
|
|
@@ -28938,7 +28938,9 @@ var __webpack_exports__ = {};
|
|
|
28938
28938
|
'vlm-ui-tars',
|
|
28939
28939
|
'vlm-ui-tars-doubao',
|
|
28940
28940
|
'vlm-ui-tars-doubao-1.5',
|
|
28941
|
-
'glm-v'
|
|
28941
|
+
'glm-v',
|
|
28942
|
+
'auto-glm',
|
|
28943
|
+
'auto-glm-multilingual'
|
|
28942
28944
|
];
|
|
28943
28945
|
[
|
|
28944
28946
|
...VL_MODE_RAW_VALID_VALUES
|
|
@@ -29009,7 +29011,7 @@ var __webpack_exports__ = {};
|
|
|
29009
29011
|
function logger_getDebug(topic) {
|
|
29010
29012
|
const fullTopic = `${topicPrefix}:${topic}`;
|
|
29011
29013
|
if (!debugInstances.has(fullTopic)) {
|
|
29012
|
-
const debugFn =
|
|
29014
|
+
const debugFn = debug_src(fullTopic);
|
|
29013
29015
|
const wrapper = (...args)=>{
|
|
29014
29016
|
if (utils.$9) {
|
|
29015
29017
|
const message = external_node_util_.format(...args);
|
|
@@ -29070,11 +29072,42 @@ var __webpack_exports__ = {};
|
|
|
29070
29072
|
rect: RectSchema
|
|
29071
29073
|
}).passthrough();
|
|
29072
29074
|
const getMidsceneLocationSchema = ()=>MidsceneLocationInput;
|
|
29075
|
+
logger_getDebug('auto-glm-parser');
|
|
29073
29076
|
logger_getDebug('ai:inspect');
|
|
29074
29077
|
logger_getDebug('ai:section');
|
|
29075
29078
|
logger_getDebug('planning');
|
|
29079
|
+
function _define_property(obj, key, value) {
|
|
29080
|
+
if (key in obj) Object.defineProperty(obj, key, {
|
|
29081
|
+
value: value,
|
|
29082
|
+
enumerable: true,
|
|
29083
|
+
configurable: true,
|
|
29084
|
+
writable: true
|
|
29085
|
+
});
|
|
29086
|
+
else obj[key] = value;
|
|
29087
|
+
return obj;
|
|
29088
|
+
}
|
|
29089
|
+
class LatestLocateRecorder {
|
|
29090
|
+
recordLocate(locate, source) {
|
|
29091
|
+
this.latestLocate = locate;
|
|
29092
|
+
this.source = source;
|
|
29093
|
+
}
|
|
29094
|
+
getLatestLocate() {
|
|
29095
|
+
return {
|
|
29096
|
+
locate: this.latestLocate,
|
|
29097
|
+
source: this.source
|
|
29098
|
+
};
|
|
29099
|
+
}
|
|
29100
|
+
constructor(){
|
|
29101
|
+
_define_property(this, "latestLocate", void 0);
|
|
29102
|
+
_define_property(this, "source", '');
|
|
29103
|
+
}
|
|
29104
|
+
}
|
|
29105
|
+
logger_getDebug('auto-glm-actions');
|
|
29106
|
+
new LatestLocateRecorder();
|
|
29107
|
+
logger_getDebug('auto-glm-planning');
|
|
29076
29108
|
__webpack_require__("../../node_modules/.pnpm/lodash.isnumber@3.0.3/node_modules/lodash.isnumber/index.js");
|
|
29077
29109
|
logger_getDebug('ui-tars-planning');
|
|
29110
|
+
new LatestLocateRecorder();
|
|
29078
29111
|
var _computedKey;
|
|
29079
29112
|
_computedKey = Symbol.iterator;
|
|
29080
29113
|
logger_getDebug('ai:service');
|
|
@@ -31777,7 +31810,7 @@ For more information, visit: https://midscenejs.com/mcp-migration
|
|
|
31777
31810
|
constructor(){
|
|
31778
31811
|
super({
|
|
31779
31812
|
name: '@midscene/mcp',
|
|
31780
|
-
version: '1.2.2-beta-
|
|
31813
|
+
version: '1.2.2-beta-20260115090041.0',
|
|
31781
31814
|
description: 'Deprecated - Use @midscene/web-bridge-mcp, @midscene/android-mcp, or @midscene/ios-mcp'
|
|
31782
31815
|
});
|
|
31783
31816
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/mcp",
|
|
3
|
-
"version": "1.2.2-beta-
|
|
3
|
+
"version": "1.2.2-beta-20260115090041.0",
|
|
4
4
|
"description": "Deprecated - Use @midscene/web-bridge-mcp, @midscene/android-mcp, or @midscene/ios-mcp",
|
|
5
5
|
"bin": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"@rslib/core": "^0.18.3",
|
|
26
26
|
"@types/node": "^18.0.0",
|
|
27
27
|
"typescript": "^5.8.3",
|
|
28
|
-
"@midscene/android": "1.2.2-beta-
|
|
28
|
+
"@midscene/android": "1.2.2-beta-20260115090041.0",
|
|
29
|
+
"@midscene/core": "1.2.2-beta-20260115090041.0",
|
|
30
|
+
"@midscene/shared": "1.2.2-beta-20260115090041.0",
|
|
29
31
|
"@midscene/report": "1.0.0",
|
|
30
|
-
"@midscene/
|
|
31
|
-
"@midscene/core": "1.2.2-beta-20260115034338.0",
|
|
32
|
-
"@midscene/web": "1.2.2-beta-20260115034338.0"
|
|
32
|
+
"@midscene/web": "1.2.2-beta-20260115090041.0"
|
|
33
33
|
},
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"scripts": {
|