@midscene/mcp 1.2.1-beta-20260114072539.0 → 1.2.1

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 debug_src = __webpack_require__("../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js");
21583
+ var 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,8 +21738,7 @@ var __webpack_modules__ = {
21738
21738
  'vlm-ui-tars',
21739
21739
  'vlm-ui-tars-doubao',
21740
21740
  'vlm-ui-tars-doubao-1.5',
21741
- 'auto-glm',
21742
- 'auto-glm-multilingual'
21741
+ 'glm-v'
21743
21742
  ];
21744
21743
  [
21745
21744
  ...VL_MODE_RAW_VALID_VALUES
@@ -21810,7 +21809,7 @@ var __webpack_modules__ = {
21810
21809
  function logger_getDebug(topic) {
21811
21810
  const fullTopic = `${topicPrefix}:${topic}`;
21812
21811
  if (!debugInstances.has(fullTopic)) {
21813
- const debugFn = debug_src(fullTopic);
21812
+ const debugFn = src(fullTopic);
21814
21813
  const wrapper = (...args)=>{
21815
21814
  if (utils.$9) {
21816
21815
  const message = external_node_util_.format(...args);
@@ -21871,42 +21870,11 @@ var __webpack_modules__ = {
21871
21870
  rect: RectSchema
21872
21871
  }).passthrough();
21873
21872
  const getMidsceneLocationSchema = ()=>MidsceneLocationInput;
21874
- logger_getDebug('auto-glm-parser');
21875
21873
  logger_getDebug('ai:inspect');
21876
21874
  logger_getDebug('ai:section');
21877
21875
  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');
21907
21876
  __webpack_require__("../../node_modules/.pnpm/lodash.isnumber@3.0.3/node_modules/lodash.isnumber/index.js");
21908
21877
  logger_getDebug('ui-tars-planning');
21909
- new LatestLocateRecorder();
21910
21878
  var _computedKey;
21911
21879
  _computedKey = Symbol.iterator;
21912
21880
  logger_getDebug('ai:service');
@@ -24609,7 +24577,7 @@ For more information, visit: https://midscenejs.com/mcp-migration
24609
24577
  constructor(){
24610
24578
  super({
24611
24579
  name: '@midscene/mcp',
24612
- version: '1.2.1-beta-20260114072539.0',
24580
+ version: '1.2.1',
24613
24581
  description: 'Deprecated - Use @midscene/web-bridge-mcp, @midscene/android-mcp, or @midscene/ios-mcp'
24614
24582
  });
24615
24583
  }
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 debug_src = __webpack_require__("../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js");
28783
+ var 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,8 +28938,7 @@ var __webpack_exports__ = {};
28938
28938
  'vlm-ui-tars',
28939
28939
  'vlm-ui-tars-doubao',
28940
28940
  'vlm-ui-tars-doubao-1.5',
28941
- 'auto-glm',
28942
- 'auto-glm-multilingual'
28941
+ 'glm-v'
28943
28942
  ];
28944
28943
  [
28945
28944
  ...VL_MODE_RAW_VALID_VALUES
@@ -29010,7 +29009,7 @@ var __webpack_exports__ = {};
29010
29009
  function logger_getDebug(topic) {
29011
29010
  const fullTopic = `${topicPrefix}:${topic}`;
29012
29011
  if (!debugInstances.has(fullTopic)) {
29013
- const debugFn = debug_src(fullTopic);
29012
+ const debugFn = src(fullTopic);
29014
29013
  const wrapper = (...args)=>{
29015
29014
  if (utils.$9) {
29016
29015
  const message = external_node_util_.format(...args);
@@ -29071,42 +29070,11 @@ var __webpack_exports__ = {};
29071
29070
  rect: RectSchema
29072
29071
  }).passthrough();
29073
29072
  const getMidsceneLocationSchema = ()=>MidsceneLocationInput;
29074
- logger_getDebug('auto-glm-parser');
29075
29073
  logger_getDebug('ai:inspect');
29076
29074
  logger_getDebug('ai:section');
29077
29075
  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');
29107
29076
  __webpack_require__("../../node_modules/.pnpm/lodash.isnumber@3.0.3/node_modules/lodash.isnumber/index.js");
29108
29077
  logger_getDebug('ui-tars-planning');
29109
- new LatestLocateRecorder();
29110
29078
  var _computedKey;
29111
29079
  _computedKey = Symbol.iterator;
29112
29080
  logger_getDebug('ai:service');
@@ -31809,7 +31777,7 @@ For more information, visit: https://midscenejs.com/mcp-migration
31809
31777
  constructor(){
31810
31778
  super({
31811
31779
  name: '@midscene/mcp',
31812
- version: '1.2.1-beta-20260114072539.0',
31780
+ version: '1.2.1',
31813
31781
  description: 'Deprecated - Use @midscene/web-bridge-mcp, @midscene/android-mcp, or @midscene/ios-mcp'
31814
31782
  });
31815
31783
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midscene/mcp",
3
- "version": "1.2.1-beta-20260114072539.0",
3
+ "version": "1.2.1",
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.1-beta-20260114072539.0",
28
+ "@midscene/android": "1.2.1",
29
29
  "@midscene/report": "1.0.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"
30
+ "@midscene/core": "1.2.1",
31
+ "@midscene/shared": "1.2.1",
32
+ "@midscene/web": "1.2.1"
33
33
  },
34
34
  "license": "MIT",
35
35
  "scripts": {