@aiscene/core 8.0.4 → 8.0.5
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/agent/utils.mjs +1 -1
- package/dist/es/utils.mjs +1 -1
- package/dist/lib/agent/utils.js +1 -1
- package/dist/lib/utils.js +1 -1
- package/package.json +2 -2
package/dist/es/agent/utils.mjs
CHANGED
|
@@ -140,7 +140,7 @@ async function matchElementFromCache(context, cacheEntry, cachePrompt, cacheable
|
|
|
140
140
|
return;
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
const getMidsceneVersion = ()=>"8.0.
|
|
143
|
+
const getMidsceneVersion = ()=>"8.0.5";
|
|
144
144
|
const parsePrompt = (prompt)=>{
|
|
145
145
|
if ('string' == typeof prompt) return {
|
|
146
146
|
textPrompt: prompt,
|
package/dist/es/utils.mjs
CHANGED
|
@@ -175,7 +175,7 @@ function stringifyDumpData(data, indents) {
|
|
|
175
175
|
return JSON.stringify(data, replacerForPageObject, indents);
|
|
176
176
|
}
|
|
177
177
|
function getVersion() {
|
|
178
|
-
return "8.0.
|
|
178
|
+
return "8.0.5";
|
|
179
179
|
}
|
|
180
180
|
function debugLog(...message) {
|
|
181
181
|
const debugMode = process.env[MIDSCENE_DEBUG_MODE];
|
package/dist/lib/agent/utils.js
CHANGED
|
@@ -187,7 +187,7 @@ async function matchElementFromCache(context, cacheEntry, cachePrompt, cacheable
|
|
|
187
187
|
return;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
const getMidsceneVersion = ()=>"8.0.
|
|
190
|
+
const getMidsceneVersion = ()=>"8.0.5";
|
|
191
191
|
const parsePrompt = (prompt)=>{
|
|
192
192
|
if ('string' == typeof prompt) return {
|
|
193
193
|
textPrompt: prompt,
|
package/dist/lib/utils.js
CHANGED
|
@@ -219,7 +219,7 @@ function stringifyDumpData(data, indents) {
|
|
|
219
219
|
return JSON.stringify(data, replacerForPageObject, indents);
|
|
220
220
|
}
|
|
221
221
|
function getVersion() {
|
|
222
|
-
return "8.0.
|
|
222
|
+
return "8.0.5";
|
|
223
223
|
}
|
|
224
224
|
function debugLog(...message) {
|
|
225
225
|
const debugMode = process.env[env_namespaceObject.MIDSCENE_DEBUG_MODE];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiscene/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": "8.0.
|
|
4
|
+
"version": "8.0.5",
|
|
5
5
|
"repository": "https://github.com/web-infra-dev/midscene",
|
|
6
6
|
"homepage": "https://midscenejs.com/",
|
|
7
7
|
"main": "./dist/lib/index.js",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"test:parse-action": "npm run test:ai -- tests/ai/parse-action.test.ts"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@aiscene/shared": "^8.0.
|
|
81
|
+
"@aiscene/shared": "^8.0.2",
|
|
82
82
|
"@ui-tars/action-parser": "1.2.3",
|
|
83
83
|
"dayjs": "^1.11.11",
|
|
84
84
|
"dotenv": "^16.4.5",
|