@midscene/core 0.24.2-beta-20250805024613.0 → 0.25.1-beta-20250805080746.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 _chunkNZFWY3M5js = require('./chunk-NZFWY3M5.js');
3
+ var _chunk5Q2GQSAAjs = require('./chunk-5Q2GQSAA.js');
4
4
 
5
5
 
6
6
 
@@ -172,7 +172,7 @@ ${_optionalChain([this, 'access', _7 => _7.latestErrorTask, 'call', _8 => _8(),
172
172
  }
173
173
  }
174
174
  const dumpData = {
175
- sdkVersion: _chunkNZFWY3M5js.getVersion.call(void 0, ),
175
+ sdkVersion: _chunk5Q2GQSAAjs.getVersion.call(void 0, ),
176
176
  model_name: _env.getAIConfig.call(void 0, _env.MIDSCENE_MODEL_NAME) || "",
177
177
  model_description: modelDescription,
178
178
  logTime: Date.now(),
@@ -244,7 +244,7 @@ var _logger = require('@midscene/shared/logger');
244
244
 
245
245
  function emitInsightDump(data, dumpSubscriber) {
246
246
  const baseData = {
247
- sdkVersion: _chunkNZFWY3M5js.getVersion.call(void 0, ),
247
+ sdkVersion: _chunk5Q2GQSAAjs.getVersion.call(void 0, ),
248
248
  logTime: Date.now(),
249
249
  model_name: _env.getAIConfig.call(void 0, _env.MIDSCENE_MODEL_NAME) || ""
250
250
  };
@@ -560,6 +560,6 @@ var src_default = Insight;
560
560
 
561
561
 
562
562
 
563
- exports.AiAssert = _chunkJS4CT3XVjs.AiAssert; exports.AiLocateElement = _chunkJS4CT3XVjs.AiLocateElement; exports.Executor = Executor; exports.Insight = Insight; exports.MIDSCENE_MODEL_NAME = _env.MIDSCENE_MODEL_NAME; exports.default = src_default; exports.describeUserPage = _chunkJS4CT3XVjs.describeUserPage; exports.getAIConfig = _env.getAIConfig; exports.getVersion = _chunkNZFWY3M5js.getVersion; exports.plan = _chunkJS4CT3XVjs.plan;
563
+ exports.AiAssert = _chunkJS4CT3XVjs.AiAssert; exports.AiLocateElement = _chunkJS4CT3XVjs.AiLocateElement; exports.Executor = Executor; exports.Insight = Insight; exports.MIDSCENE_MODEL_NAME = _env.MIDSCENE_MODEL_NAME; exports.default = src_default; exports.describeUserPage = _chunkJS4CT3XVjs.describeUserPage; exports.getAIConfig = _env.getAIConfig; exports.getVersion = _chunk5Q2GQSAAjs.getVersion; exports.plan = _chunkJS4CT3XVjs.plan;
564
564
 
565
565
  //# sourceMappingURL=index.js.map
package/dist/lib/utils.js CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
 
14
14
 
15
- var _chunkNZFWY3M5js = require('./chunk-NZFWY3M5.js');
15
+ var _chunk5Q2GQSAAjs = require('./chunk-5Q2GQSAA.js');
16
16
 
17
17
 
18
18
 
@@ -27,4 +27,4 @@ var _chunkNZFWY3M5js = require('./chunk-NZFWY3M5.js');
27
27
 
28
28
 
29
29
 
30
- exports.getTmpDir = _chunkNZFWY3M5js.getTmpDir; exports.getTmpFile = _chunkNZFWY3M5js.getTmpFile; exports.getVersion = _chunkNZFWY3M5js.getVersion; exports.groupedActionDumpFileExt = _chunkNZFWY3M5js.groupedActionDumpFileExt; exports.insertScriptBeforeClosingHtml = _chunkNZFWY3M5js.insertScriptBeforeClosingHtml; exports.overlapped = _chunkNZFWY3M5js.overlapped; exports.replacerForPageObject = _chunkNZFWY3M5js.replacerForPageObject; exports.reportHTMLContent = _chunkNZFWY3M5js.reportHTMLContent; exports.sleep = _chunkNZFWY3M5js.sleep; exports.stringifyDumpData = _chunkNZFWY3M5js.stringifyDumpData; exports.uploadTestInfoToServer = _chunkNZFWY3M5js.uploadTestInfoToServer; exports.writeDumpReport = _chunkNZFWY3M5js.writeDumpReport; exports.writeLogFile = _chunkNZFWY3M5js.writeLogFile;
30
+ exports.getTmpDir = _chunk5Q2GQSAAjs.getTmpDir; exports.getTmpFile = _chunk5Q2GQSAAjs.getTmpFile; exports.getVersion = _chunk5Q2GQSAAjs.getVersion; exports.groupedActionDumpFileExt = _chunk5Q2GQSAAjs.groupedActionDumpFileExt; exports.insertScriptBeforeClosingHtml = _chunk5Q2GQSAAjs.insertScriptBeforeClosingHtml; exports.overlapped = _chunk5Q2GQSAAjs.overlapped; exports.replacerForPageObject = _chunk5Q2GQSAAjs.replacerForPageObject; exports.reportHTMLContent = _chunk5Q2GQSAAjs.reportHTMLContent; exports.sleep = _chunk5Q2GQSAAjs.sleep; exports.stringifyDumpData = _chunk5Q2GQSAAjs.stringifyDumpData; exports.uploadTestInfoToServer = _chunk5Q2GQSAAjs.uploadTestInfoToServer; exports.writeDumpReport = _chunk5Q2GQSAAjs.writeDumpReport; exports.writeLogFile = _chunk5Q2GQSAAjs.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-20250805024613.0",
4
+ "version": "0.25.1-beta-20250805080746.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-20250805024613.0",
48
- "@midscene/shared": "0.24.2-beta-20250805024613.0"
47
+ "@midscene/shared": "0.25.1-beta-20250805080746.0",
48
+ "@midscene/recorder": "0.25.1-beta-20250805080746.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@modern-js/module-tools": "2.60.6",