@midscene/core 0.14.2 → 0.14.3-beta-20250409031306.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.
@@ -201,7 +201,7 @@ function stringifyDumpData(data, indents) {
201
201
  return JSON.stringify(data, replacerForPageObject, indents);
202
202
  }
203
203
  function getVersion() {
204
- return "0.14.2";
204
+ return "0.14.3-beta-20250409031306.0";
205
205
  }
206
206
  function debugLog(...message) {
207
207
  const debugMode = getAIConfig(MIDSCENE_DEBUG_MODE);
@@ -267,4 +267,4 @@ export {
267
267
  uploadTestInfoToServer
268
268
  };
269
269
 
270
- //# sourceMappingURL=chunk-AJGJPSSI.js.map
270
+ //# sourceMappingURL=chunk-KBAS2NYN.js.map
package/dist/es/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  getLogDirByType,
4
4
  getVersion,
5
5
  setLogDir
6
- } from "./chunk-AJGJPSSI.js";
6
+ } from "./chunk-KBAS2NYN.js";
7
7
  import {
8
8
  AiAssert,
9
9
  AiExtractElementInfo,
package/dist/es/utils.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  uploadTestInfoToServer,
17
17
  writeDumpReport,
18
18
  writeLogFile
19
- } from "./chunk-AJGJPSSI.js";
19
+ } from "./chunk-KBAS2NYN.js";
20
20
  import "./chunk-UBGEKXK7.js";
21
21
  export {
22
22
  getLogDir,
@@ -201,7 +201,7 @@ function stringifyDumpData(data, indents) {
201
201
  return JSON.stringify(data, replacerForPageObject, indents);
202
202
  }
203
203
  function getVersion() {
204
- return "0.14.2";
204
+ return "0.14.3-beta-20250409031306.0";
205
205
  }
206
206
  function debugLog(...message) {
207
207
  const debugMode = _chunkUBGEKXK7js.getAIConfig.call(void 0, _chunkUBGEKXK7js.MIDSCENE_DEBUG_MODE);
@@ -267,4 +267,4 @@ function uploadTestInfoToServer({ testUrl }) {
267
267
 
268
268
  exports.groupedActionDumpFileExt = groupedActionDumpFileExt; exports.getLogDir = getLogDir; exports.setLogDir = setLogDir; exports.getLogDirByType = getLogDirByType; exports.setReportTpl = setReportTpl; exports.replaceStringWithFirstAppearance = replaceStringWithFirstAppearance; exports.reportHTMLContent = reportHTMLContent; exports.writeDumpReport = writeDumpReport; exports.writeLogFile = writeLogFile; exports.getTmpDir = getTmpDir; exports.getTmpFile = getTmpFile; exports.overlapped = overlapped; exports.sleep = sleep; exports.replacerForPageObject = replacerForPageObject; exports.stringifyDumpData = stringifyDumpData; exports.getVersion = getVersion; exports.uploadTestInfoToServer = uploadTestInfoToServer;
269
269
 
270
- //# sourceMappingURL=chunk-AJGJPSSI.js.map
270
+ //# sourceMappingURL=chunk-KBAS2NYN.js.map
package/dist/lib/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkAJGJPSSIjs = require('./chunk-AJGJPSSI.js');
6
+ var _chunkKBAS2NYNjs = require('./chunk-KBAS2NYN.js');
7
7
 
8
8
 
9
9
 
@@ -166,7 +166,7 @@ ${_optionalChain([this, 'access', _7 => _7.latestErrorTask, 'call', _8 => _8(),
166
166
  }
167
167
  dump() {
168
168
  const dumpData = {
169
- sdkVersion: _chunkAJGJPSSIjs.getVersion.call(void 0, ),
169
+ sdkVersion: _chunkKBAS2NYNjs.getVersion.call(void 0, ),
170
170
  model_name: _chunkUBGEKXK7js.getAIConfig.call(void 0, _chunkUBGEKXK7js.MIDSCENE_MODEL_NAME) || "",
171
171
  logTime: Date.now(),
172
172
  name: this.name,
@@ -184,7 +184,7 @@ var _logger = require('@midscene/shared/logger');
184
184
 
185
185
 
186
186
  function emitInsightDump(data, dumpSubscriber) {
187
- const logDir = _chunkAJGJPSSIjs.getLogDir.call(void 0, );
187
+ const logDir = _chunkKBAS2NYNjs.getLogDir.call(void 0, );
188
188
  _utils.assert.call(void 0, logDir, "logDir should be set before writing dump file");
189
189
  let modelDescription = "";
190
190
  if (_chunkUBGEKXK7js.getAIConfigInBoolean.call(void 0, _chunkUBGEKXK7js.MIDSCENE_USE_VLM_UI_TARS)) {
@@ -193,7 +193,7 @@ function emitInsightDump(data, dumpSubscriber) {
193
193
  modelDescription = `${_chunkUBGEKXK7js.vlLocateMode.call(void 0, )} mode`;
194
194
  }
195
195
  const baseData = {
196
- sdkVersion: _chunkAJGJPSSIjs.getVersion.call(void 0, ),
196
+ sdkVersion: _chunkKBAS2NYNjs.getVersion.call(void 0, ),
197
197
  logTime: Date.now(),
198
198
  model_name: _chunkUBGEKXK7js.getAIConfig.call(void 0, _chunkUBGEKXK7js.MIDSCENE_MODEL_NAME) || "",
199
199
  model_description: modelDescription
@@ -458,6 +458,6 @@ var src_default = Insight;
458
458
 
459
459
 
460
460
 
461
- exports.AiAssert = _chunkS2VMK6I5js.AiAssert; exports.AiLocateElement = _chunkS2VMK6I5js.AiLocateElement; exports.Executor = Executor; exports.Insight = Insight; exports.MIDSCENE_MODEL_NAME = _chunkUBGEKXK7js.MIDSCENE_MODEL_NAME; exports.default = src_default; exports.describeUserPage = _chunkS2VMK6I5js.describeUserPage; exports.getAIConfig = _chunkUBGEKXK7js.getAIConfig; exports.getLogDirByType = _chunkAJGJPSSIjs.getLogDirByType; exports.getVersion = _chunkAJGJPSSIjs.getVersion; exports.plan = _chunkS2VMK6I5js.plan; exports.setLogDir = _chunkAJGJPSSIjs.setLogDir;
461
+ exports.AiAssert = _chunkS2VMK6I5js.AiAssert; exports.AiLocateElement = _chunkS2VMK6I5js.AiLocateElement; exports.Executor = Executor; exports.Insight = Insight; exports.MIDSCENE_MODEL_NAME = _chunkUBGEKXK7js.MIDSCENE_MODEL_NAME; exports.default = src_default; exports.describeUserPage = _chunkS2VMK6I5js.describeUserPage; exports.getAIConfig = _chunkUBGEKXK7js.getAIConfig; exports.getLogDirByType = _chunkKBAS2NYNjs.getLogDirByType; exports.getVersion = _chunkKBAS2NYNjs.getVersion; exports.plan = _chunkS2VMK6I5js.plan; exports.setLogDir = _chunkKBAS2NYNjs.setLogDir;
462
462
 
463
463
  //# sourceMappingURL=index.js.map
package/dist/lib/utils.js CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
 
18
18
 
19
- var _chunkAJGJPSSIjs = require('./chunk-AJGJPSSI.js');
19
+ var _chunkKBAS2NYNjs = require('./chunk-KBAS2NYN.js');
20
20
  require('./chunk-UBGEKXK7.js');
21
21
 
22
22
 
@@ -36,4 +36,4 @@ require('./chunk-UBGEKXK7.js');
36
36
 
37
37
 
38
38
 
39
- exports.getLogDir = _chunkAJGJPSSIjs.getLogDir; exports.getLogDirByType = _chunkAJGJPSSIjs.getLogDirByType; exports.getTmpDir = _chunkAJGJPSSIjs.getTmpDir; exports.getTmpFile = _chunkAJGJPSSIjs.getTmpFile; exports.getVersion = _chunkAJGJPSSIjs.getVersion; exports.groupedActionDumpFileExt = _chunkAJGJPSSIjs.groupedActionDumpFileExt; exports.overlapped = _chunkAJGJPSSIjs.overlapped; exports.replaceStringWithFirstAppearance = _chunkAJGJPSSIjs.replaceStringWithFirstAppearance; exports.replacerForPageObject = _chunkAJGJPSSIjs.replacerForPageObject; exports.reportHTMLContent = _chunkAJGJPSSIjs.reportHTMLContent; exports.setLogDir = _chunkAJGJPSSIjs.setLogDir; exports.setReportTpl = _chunkAJGJPSSIjs.setReportTpl; exports.sleep = _chunkAJGJPSSIjs.sleep; exports.stringifyDumpData = _chunkAJGJPSSIjs.stringifyDumpData; exports.uploadTestInfoToServer = _chunkAJGJPSSIjs.uploadTestInfoToServer; exports.writeDumpReport = _chunkAJGJPSSIjs.writeDumpReport; exports.writeLogFile = _chunkAJGJPSSIjs.writeLogFile;
39
+ exports.getLogDir = _chunkKBAS2NYNjs.getLogDir; exports.getLogDirByType = _chunkKBAS2NYNjs.getLogDirByType; exports.getTmpDir = _chunkKBAS2NYNjs.getTmpDir; exports.getTmpFile = _chunkKBAS2NYNjs.getTmpFile; exports.getVersion = _chunkKBAS2NYNjs.getVersion; exports.groupedActionDumpFileExt = _chunkKBAS2NYNjs.groupedActionDumpFileExt; exports.overlapped = _chunkKBAS2NYNjs.overlapped; exports.replaceStringWithFirstAppearance = _chunkKBAS2NYNjs.replaceStringWithFirstAppearance; exports.replacerForPageObject = _chunkKBAS2NYNjs.replacerForPageObject; exports.reportHTMLContent = _chunkKBAS2NYNjs.reportHTMLContent; exports.setLogDir = _chunkKBAS2NYNjs.setLogDir; exports.setReportTpl = _chunkKBAS2NYNjs.setReportTpl; exports.sleep = _chunkKBAS2NYNjs.sleep; exports.stringifyDumpData = _chunkKBAS2NYNjs.stringifyDumpData; exports.uploadTestInfoToServer = _chunkKBAS2NYNjs.uploadTestInfoToServer; exports.writeDumpReport = _chunkKBAS2NYNjs.writeDumpReport; exports.writeLogFile = _chunkKBAS2NYNjs.writeLogFile;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midscene/core",
3
3
  "description": "Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML. See https://midscenejs.com/ for details.",
4
- "version": "0.14.2",
4
+ "version": "0.14.3-beta-20250409031306.0",
5
5
  "repository": "https://github.com/web-infra-dev/midscene",
6
6
  "homepage": "https://midscenejs.com/",
7
7
  "jsnext:source": "./src/index.ts",
@@ -48,7 +48,7 @@
48
48
  "dirty-json": "0.9.2",
49
49
  "dotenv": "16.4.5",
50
50
  "langsmith": "0.3.7",
51
- "@midscene/shared": "0.14.2"
51
+ "@midscene/shared": "0.14.3-beta-20250409031306.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@modern-js/module-tools": "2.60.6",