@midscene/core 0.16.11-beta-20250513025122.0 → 0.16.11-beta-20250513030612.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/es/{chunk-O4PLPE2W.js → chunk-LA5RAK3H.js} +3 -3
- package/dist/es/index.js +1 -1
- package/dist/es/utils.js +1 -1
- package/dist/lib/{chunk-O4PLPE2W.js → chunk-LA5RAK3H.js} +3 -3
- package/dist/lib/index.js +4 -4
- package/dist/lib/utils.js +2 -2
- package/package.json +2 -2
- /package/dist/es/{chunk-O4PLPE2W.js.map → chunk-LA5RAK3H.js.map} +0 -0
- /package/dist/lib/{chunk-O4PLPE2W.js.map → chunk-LA5RAK3H.js.map} +0 -0
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
|
|
3
|
+
var _chunkLA5RAK3Hjs = require('./chunk-LA5RAK3H.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -156,7 +156,7 @@ ${_optionalChain([this, 'access', _7 => _7.latestErrorTask, 'call', _8 => _8(),
|
|
|
156
156
|
}
|
|
157
157
|
dump() {
|
|
158
158
|
const dumpData = {
|
|
159
|
-
sdkVersion:
|
|
159
|
+
sdkVersion: _chunkLA5RAK3Hjs.getVersion.call(void 0, ),
|
|
160
160
|
model_name: _env.getAIConfig.call(void 0, _env.MIDSCENE_MODEL_NAME) || "",
|
|
161
161
|
logTime: Date.now(),
|
|
162
162
|
name: this.name,
|
|
@@ -194,7 +194,7 @@ function emitInsightDump(data, dumpSubscriber) {
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
const baseData = {
|
|
197
|
-
sdkVersion:
|
|
197
|
+
sdkVersion: _chunkLA5RAK3Hjs.getVersion.call(void 0, ),
|
|
198
198
|
logTime: Date.now(),
|
|
199
199
|
model_name: _env.getAIConfig.call(void 0, _env.MIDSCENE_MODEL_NAME) || "",
|
|
200
200
|
model_description: modelDescription
|
|
@@ -457,6 +457,6 @@ var src_default = Insight;
|
|
|
457
457
|
|
|
458
458
|
|
|
459
459
|
|
|
460
|
-
exports.AiAssert = _chunk35CPO7N5js.AiAssert; exports.AiLocateElement = _chunk35CPO7N5js.AiLocateElement; exports.Executor = Executor; exports.Insight = Insight; exports.MIDSCENE_MODEL_NAME = _env.MIDSCENE_MODEL_NAME; exports.default = src_default; exports.describeUserPage = _chunk35CPO7N5js.describeUserPage; exports.getAIConfig = _env.getAIConfig; exports.getVersion =
|
|
460
|
+
exports.AiAssert = _chunk35CPO7N5js.AiAssert; exports.AiLocateElement = _chunk35CPO7N5js.AiLocateElement; exports.Executor = Executor; exports.Insight = Insight; exports.MIDSCENE_MODEL_NAME = _env.MIDSCENE_MODEL_NAME; exports.default = src_default; exports.describeUserPage = _chunk35CPO7N5js.describeUserPage; exports.getAIConfig = _env.getAIConfig; exports.getVersion = _chunkLA5RAK3Hjs.getVersion; exports.plan = _chunk35CPO7N5js.plan;
|
|
461
461
|
|
|
462
462
|
//# sourceMappingURL=index.js.map
|
package/dist/lib/utils.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkLA5RAK3Hjs = require('./chunk-LA5RAK3H.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -29,4 +29,4 @@ var _chunkO4PLPE2Wjs = require('./chunk-O4PLPE2W.js');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
exports.getLogDir =
|
|
32
|
+
exports.getLogDir = _chunkLA5RAK3Hjs.getLogDir; exports.getTmpDir = _chunkLA5RAK3Hjs.getTmpDir; exports.getTmpFile = _chunkLA5RAK3Hjs.getTmpFile; exports.getVersion = _chunkLA5RAK3Hjs.getVersion; exports.groupedActionDumpFileExt = _chunkLA5RAK3Hjs.groupedActionDumpFileExt; exports.overlapped = _chunkLA5RAK3Hjs.overlapped; exports.replaceStringWithFirstAppearance = _chunkLA5RAK3Hjs.replaceStringWithFirstAppearance; exports.replacerForPageObject = _chunkLA5RAK3Hjs.replacerForPageObject; exports.reportHTMLContent = _chunkLA5RAK3Hjs.reportHTMLContent; exports.sleep = _chunkLA5RAK3Hjs.sleep; exports.stringifyDumpData = _chunkLA5RAK3Hjs.stringifyDumpData; exports.uploadTestInfoToServer = _chunkLA5RAK3Hjs.uploadTestInfoToServer; exports.writeDumpReport = _chunkLA5RAK3Hjs.writeDumpReport; exports.writeLogFile = _chunkLA5RAK3Hjs.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.16.11-beta-
|
|
4
|
+
"version": "0.16.11-beta-20250513030612.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,7 +44,7 @@
|
|
|
44
44
|
"langsmith": "0.3.7",
|
|
45
45
|
"openai": "4.81.0",
|
|
46
46
|
"socks-proxy-agent": "8.0.4",
|
|
47
|
-
"@midscene/shared": "0.16.11-beta-
|
|
47
|
+
"@midscene/shared": "0.16.11-beta-20250513030612.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@modern-js/module-tools": "2.60.6",
|
|
File without changes
|
|
File without changes
|