@midscene/core 0.17.2-beta-20250522144134.0 → 0.17.2-beta-20250523061809.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 _chunkSQ6VAWHXjs = require('./chunk-SQ6VAWHX.js');
3
+ var _chunk77JYPVZKjs = require('./chunk-77JYPVZK.js');
4
4
 
5
5
 
6
6
 
@@ -158,7 +158,7 @@ ${_optionalChain([this, 'access', _7 => _7.latestErrorTask, 'call', _8 => _8(),
158
158
  }
159
159
  dump() {
160
160
  const dumpData = {
161
- sdkVersion: _chunkSQ6VAWHXjs.getVersion.call(void 0, ),
161
+ sdkVersion: _chunk77JYPVZKjs.getVersion.call(void 0, ),
162
162
  model_name: _env.getAIConfig.call(void 0, _env.MIDSCENE_MODEL_NAME) || "",
163
163
  logTime: Date.now(),
164
164
  name: this.name,
@@ -224,7 +224,7 @@ function emitInsightDump(data, dumpSubscriber) {
224
224
  }
225
225
  }
226
226
  const baseData = {
227
- sdkVersion: _chunkSQ6VAWHXjs.getVersion.call(void 0, ),
227
+ sdkVersion: _chunk77JYPVZKjs.getVersion.call(void 0, ),
228
228
  logTime: Date.now(),
229
229
  model_name: _env.getAIConfig.call(void 0, _env.MIDSCENE_MODEL_NAME) || "",
230
230
  model_description: modelDescription
@@ -535,6 +535,6 @@ var src_default = Insight;
535
535
 
536
536
 
537
537
 
538
- exports.AiAssert = _chunkK2IXQ5O2js.AiAssert; exports.AiLocateElement = _chunkK2IXQ5O2js.AiLocateElement; exports.Executor = Executor; exports.Insight = Insight; exports.MIDSCENE_MODEL_NAME = _env.MIDSCENE_MODEL_NAME; exports.default = src_default; exports.describeUserPage = _chunkK2IXQ5O2js.describeUserPage; exports.getAIConfig = _env.getAIConfig; exports.getVersion = _chunkSQ6VAWHXjs.getVersion; exports.plan = _chunkK2IXQ5O2js.plan;
538
+ exports.AiAssert = _chunkK2IXQ5O2js.AiAssert; exports.AiLocateElement = _chunkK2IXQ5O2js.AiLocateElement; exports.Executor = Executor; exports.Insight = Insight; exports.MIDSCENE_MODEL_NAME = _env.MIDSCENE_MODEL_NAME; exports.default = src_default; exports.describeUserPage = _chunkK2IXQ5O2js.describeUserPage; exports.getAIConfig = _env.getAIConfig; exports.getVersion = _chunk77JYPVZKjs.getVersion; exports.plan = _chunkK2IXQ5O2js.plan;
539
539
 
540
540
  //# sourceMappingURL=index.js.map
package/dist/lib/utils.js CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
 
15
15
 
16
- var _chunkSQ6VAWHXjs = require('./chunk-SQ6VAWHX.js');
16
+ var _chunk77JYPVZKjs = require('./chunk-77JYPVZK.js');
17
17
 
18
18
 
19
19
 
@@ -29,4 +29,4 @@ var _chunkSQ6VAWHXjs = require('./chunk-SQ6VAWHX.js');
29
29
 
30
30
 
31
31
 
32
- exports.getLogDir = _chunkSQ6VAWHXjs.getLogDir; exports.getTmpDir = _chunkSQ6VAWHXjs.getTmpDir; exports.getTmpFile = _chunkSQ6VAWHXjs.getTmpFile; exports.getVersion = _chunkSQ6VAWHXjs.getVersion; exports.groupedActionDumpFileExt = _chunkSQ6VAWHXjs.groupedActionDumpFileExt; exports.overlapped = _chunkSQ6VAWHXjs.overlapped; exports.replaceStringWithFirstAppearance = _chunkSQ6VAWHXjs.replaceStringWithFirstAppearance; exports.replacerForPageObject = _chunkSQ6VAWHXjs.replacerForPageObject; exports.reportHTMLContent = _chunkSQ6VAWHXjs.reportHTMLContent; exports.sleep = _chunkSQ6VAWHXjs.sleep; exports.stringifyDumpData = _chunkSQ6VAWHXjs.stringifyDumpData; exports.uploadTestInfoToServer = _chunkSQ6VAWHXjs.uploadTestInfoToServer; exports.writeDumpReport = _chunkSQ6VAWHXjs.writeDumpReport; exports.writeLogFile = _chunkSQ6VAWHXjs.writeLogFile;
32
+ exports.getLogDir = _chunk77JYPVZKjs.getLogDir; exports.getTmpDir = _chunk77JYPVZKjs.getTmpDir; exports.getTmpFile = _chunk77JYPVZKjs.getTmpFile; exports.getVersion = _chunk77JYPVZKjs.getVersion; exports.groupedActionDumpFileExt = _chunk77JYPVZKjs.groupedActionDumpFileExt; exports.overlapped = _chunk77JYPVZKjs.overlapped; exports.replaceStringWithFirstAppearance = _chunk77JYPVZKjs.replaceStringWithFirstAppearance; exports.replacerForPageObject = _chunk77JYPVZKjs.replacerForPageObject; exports.reportHTMLContent = _chunk77JYPVZKjs.reportHTMLContent; exports.sleep = _chunk77JYPVZKjs.sleep; exports.stringifyDumpData = _chunk77JYPVZKjs.stringifyDumpData; exports.uploadTestInfoToServer = _chunk77JYPVZKjs.uploadTestInfoToServer; exports.writeDumpReport = _chunk77JYPVZKjs.writeDumpReport; exports.writeLogFile = _chunk77JYPVZKjs.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.17.2-beta-20250522144134.0",
4
+ "version": "0.17.2-beta-20250523061809.0",
5
5
  "repository": "https://github.com/web-infra-dev/midscene",
6
6
  "homepage": "https://midscenejs.com/",
7
7
  "jsnext:source": "./src/index.ts",
@@ -45,7 +45,7 @@
45
45
  "openai": "4.81.0",
46
46
  "socks-proxy-agent": "8.0.4",
47
47
  "xss": "1.0.15",
48
- "@midscene/shared": "0.17.2-beta-20250522144134.0"
48
+ "@midscene/shared": "0.17.2-beta-20250523061809.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@modern-js/module-tools": "2.60.6",