@midscene/core 0.24.2-beta-20250731010609.0 → 0.24.2-beta-20250731035845.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/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkEJK3T22Hjs = require('./chunk-EJK3T22H.js');
3
+ var _chunk2ZBEOLD7js = require('./chunk-2ZBEOLD7.js');
4
4
 
5
5
 
6
6
 
@@ -171,7 +171,7 @@ ${_optionalChain([this, 'access', _7 => _7.latestErrorTask, 'call', _8 => _8(),
171
171
  }
172
172
  }
173
173
  const dumpData = {
174
- sdkVersion: _chunkEJK3T22Hjs.getVersion.call(void 0, ),
174
+ sdkVersion: _chunk2ZBEOLD7js.getVersion.call(void 0, ),
175
175
  model_name: _env.getAIConfig.call(void 0, _env.MIDSCENE_MODEL_NAME) || "",
176
176
  model_description: modelDescription,
177
177
  logTime: Date.now(),
@@ -219,7 +219,7 @@ var _logger = require('@midscene/shared/logger');
219
219
 
220
220
  function emitInsightDump(data, dumpSubscriber) {
221
221
  const baseData = {
222
- sdkVersion: _chunkEJK3T22Hjs.getVersion.call(void 0, ),
222
+ sdkVersion: _chunk2ZBEOLD7js.getVersion.call(void 0, ),
223
223
  logTime: Date.now(),
224
224
  model_name: _env.getAIConfig.call(void 0, _env.MIDSCENE_MODEL_NAME) || ""
225
225
  };
@@ -539,6 +539,6 @@ var src_default = Insight;
539
539
 
540
540
 
541
541
 
542
- exports.AiAssert = _chunkYCHAOUOWjs.AiAssert; exports.AiLocateElement = _chunkYCHAOUOWjs.AiLocateElement; exports.Executor = Executor; exports.Insight = Insight; exports.MIDSCENE_MODEL_NAME = _env.MIDSCENE_MODEL_NAME; exports.default = src_default; exports.describeUserPage = _chunkYCHAOUOWjs.describeUserPage; exports.getAIConfig = _env.getAIConfig; exports.getVersion = _chunkEJK3T22Hjs.getVersion; exports.plan = _chunkYCHAOUOWjs.plan;
542
+ exports.AiAssert = _chunkYCHAOUOWjs.AiAssert; exports.AiLocateElement = _chunkYCHAOUOWjs.AiLocateElement; exports.Executor = Executor; exports.Insight = Insight; exports.MIDSCENE_MODEL_NAME = _env.MIDSCENE_MODEL_NAME; exports.default = src_default; exports.describeUserPage = _chunkYCHAOUOWjs.describeUserPage; exports.getAIConfig = _env.getAIConfig; exports.getVersion = _chunk2ZBEOLD7js.getVersion; exports.plan = _chunkYCHAOUOWjs.plan;
543
543
 
544
544
  //# sourceMappingURL=index.js.map
package/dist/lib/utils.js CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
 
14
14
 
15
- var _chunkEJK3T22Hjs = require('./chunk-EJK3T22H.js');
15
+ var _chunk2ZBEOLD7js = require('./chunk-2ZBEOLD7.js');
16
16
 
17
17
 
18
18
 
@@ -27,4 +27,4 @@ var _chunkEJK3T22Hjs = require('./chunk-EJK3T22H.js');
27
27
 
28
28
 
29
29
 
30
- exports.getTmpDir = _chunkEJK3T22Hjs.getTmpDir; exports.getTmpFile = _chunkEJK3T22Hjs.getTmpFile; exports.getVersion = _chunkEJK3T22Hjs.getVersion; exports.groupedActionDumpFileExt = _chunkEJK3T22Hjs.groupedActionDumpFileExt; exports.insertScriptBeforeClosingHtml = _chunkEJK3T22Hjs.insertScriptBeforeClosingHtml; exports.overlapped = _chunkEJK3T22Hjs.overlapped; exports.replacerForPageObject = _chunkEJK3T22Hjs.replacerForPageObject; exports.reportHTMLContent = _chunkEJK3T22Hjs.reportHTMLContent; exports.sleep = _chunkEJK3T22Hjs.sleep; exports.stringifyDumpData = _chunkEJK3T22Hjs.stringifyDumpData; exports.uploadTestInfoToServer = _chunkEJK3T22Hjs.uploadTestInfoToServer; exports.writeDumpReport = _chunkEJK3T22Hjs.writeDumpReport; exports.writeLogFile = _chunkEJK3T22Hjs.writeLogFile;
30
+ exports.getTmpDir = _chunk2ZBEOLD7js.getTmpDir; exports.getTmpFile = _chunk2ZBEOLD7js.getTmpFile; exports.getVersion = _chunk2ZBEOLD7js.getVersion; exports.groupedActionDumpFileExt = _chunk2ZBEOLD7js.groupedActionDumpFileExt; exports.insertScriptBeforeClosingHtml = _chunk2ZBEOLD7js.insertScriptBeforeClosingHtml; exports.overlapped = _chunk2ZBEOLD7js.overlapped; exports.replacerForPageObject = _chunk2ZBEOLD7js.replacerForPageObject; exports.reportHTMLContent = _chunk2ZBEOLD7js.reportHTMLContent; exports.sleep = _chunk2ZBEOLD7js.sleep; exports.stringifyDumpData = _chunk2ZBEOLD7js.stringifyDumpData; exports.uploadTestInfoToServer = _chunk2ZBEOLD7js.uploadTestInfoToServer; exports.writeDumpReport = _chunk2ZBEOLD7js.writeDumpReport; exports.writeLogFile = _chunk2ZBEOLD7js.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.24.2-beta-20250731010609.0",
4
+ "version": "0.24.2-beta-20250731035845.0",
5
5
  "repository": "https://github.com/web-infra-dev/midscene",
6
6
  "homepage": "https://midscenejs.com/",
7
7
  "jsnext:source": "./src/index.ts",
@@ -44,8 +44,8 @@
44
44
  "langsmith": "0.3.7",
45
45
  "openai": "4.81.0",
46
46
  "socks-proxy-agent": "8.0.4",
47
- "@midscene/recorder": "0.24.2-beta-20250731010609.0",
48
- "@midscene/shared": "0.24.2-beta-20250731010609.0"
47
+ "@midscene/shared": "0.24.2-beta-20250731035845.0",
48
+ "@midscene/recorder": "0.24.2-beta-20250731035845.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@modern-js/module-tools": "2.60.6",