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