@donggui/core 1.5.4-donggui.3 → 1.5.4-donggui.4
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
|
@@ -152,7 +152,7 @@ async function matchElementFromCache(context, cacheEntry, cachePrompt, cacheable
|
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
const getMidsceneVersion = ()=>"1.5.4-donggui.
|
|
155
|
+
const getMidsceneVersion = ()=>"1.5.4-donggui.4";
|
|
156
156
|
const parsePrompt = (prompt)=>{
|
|
157
157
|
if ('string' == typeof prompt) return {
|
|
158
158
|
textPrompt: prompt,
|
package/dist/es/utils.mjs
CHANGED
|
@@ -159,7 +159,7 @@ function stringifyDumpData(data, indents) {
|
|
|
159
159
|
return JSON.stringify(data, replacerForPageObject, indents);
|
|
160
160
|
}
|
|
161
161
|
function getVersion() {
|
|
162
|
-
return "1.5.4-donggui.
|
|
162
|
+
return "1.5.4-donggui.4";
|
|
163
163
|
}
|
|
164
164
|
function debugLog(...message) {
|
|
165
165
|
const debugMode = process.env[MIDSCENE_DEBUG_MODE];
|
package/dist/lib/agent/utils.js
CHANGED
|
@@ -201,7 +201,7 @@ async function matchElementFromCache(context, cacheEntry, cachePrompt, cacheable
|
|
|
201
201
|
return;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
const getMidsceneVersion = ()=>"1.5.4-donggui.
|
|
204
|
+
const getMidsceneVersion = ()=>"1.5.4-donggui.4";
|
|
205
205
|
const parsePrompt = (prompt)=>{
|
|
206
206
|
if ('string' == typeof prompt) return {
|
|
207
207
|
textPrompt: prompt,
|
package/dist/lib/utils.js
CHANGED
|
@@ -202,7 +202,7 @@ function stringifyDumpData(data, indents) {
|
|
|
202
202
|
return JSON.stringify(data, replacerForPageObject, indents);
|
|
203
203
|
}
|
|
204
204
|
function getVersion() {
|
|
205
|
-
return "1.5.4-donggui.
|
|
205
|
+
return "1.5.4-donggui.4";
|
|
206
206
|
}
|
|
207
207
|
function debugLog(...message) {
|
|
208
208
|
const debugMode = process.env[env_namespaceObject.MIDSCENE_DEBUG_MODE];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@donggui/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.5.4-donggui.
|
|
4
|
+
"version": "1.5.4-donggui.4",
|
|
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
|
-
"@midscene/shared": "
|
|
81
|
+
"@midscene/shared": "1.5.4",
|
|
82
82
|
"@ui-tars/action-parser": "1.2.3",
|
|
83
83
|
"dayjs": "^1.11.11",
|
|
84
84
|
"dotenv": "^16.4.5",
|