@aiscene/core 1.1.1 → 1.1.2
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 +1 -1
package/dist/es/agent/utils.mjs
CHANGED
|
@@ -123,7 +123,7 @@ async function matchElementFromCache(context, cacheEntry, cachePrompt, cacheable
|
|
|
123
123
|
return;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
const getMidsceneVersion = ()=>"1.1.
|
|
126
|
+
const getMidsceneVersion = ()=>"1.1.2";
|
|
127
127
|
const parsePrompt = (prompt)=>{
|
|
128
128
|
if ('string' == typeof prompt) return {
|
|
129
129
|
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 "1.1.
|
|
178
|
+
return "1.1.2";
|
|
179
179
|
}
|
|
180
180
|
function debugLog(...message) {
|
|
181
181
|
const debugMode = process.env[MIDSCENE_DEBUG_MODE];
|
package/dist/lib/agent/utils.js
CHANGED
|
@@ -170,7 +170,7 @@ async function matchElementFromCache(context, cacheEntry, cachePrompt, cacheable
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
const getMidsceneVersion = ()=>"1.1.
|
|
173
|
+
const getMidsceneVersion = ()=>"1.1.2";
|
|
174
174
|
const parsePrompt = (prompt)=>{
|
|
175
175
|
if ('string' == typeof prompt) return {
|
|
176
176
|
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 "1.1.
|
|
222
|
+
return "1.1.2";
|
|
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": "1.1.
|
|
4
|
+
"version": "1.1.2",
|
|
5
5
|
"repository": "https://github.com/web-infra-dev/midscene",
|
|
6
6
|
"homepage": "https://midscenejs.com/",
|
|
7
7
|
"main": "./dist/lib/index.js",
|