misoai-web 1.6.1 → 1.6.3
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.js +5 -2
- package/dist/es/agent.js.map +1 -1
- package/dist/es/bridge-mode-browser.js +3 -3
- package/dist/es/bridge-mode.js +7 -4
- package/dist/es/bridge-mode.js.map +1 -1
- package/dist/es/chrome-extension.js +6 -3
- package/dist/es/chrome-extension.js.map +1 -1
- package/dist/es/index.js +321 -19
- package/dist/es/index.js.map +1 -1
- package/dist/es/midscene-playground.js +5 -2
- package/dist/es/midscene-playground.js.map +1 -1
- package/dist/es/playground.js +5 -2
- package/dist/es/playground.js.map +1 -1
- package/dist/es/playwright.js +321 -19
- package/dist/es/playwright.js.map +1 -1
- package/dist/es/puppeteer-agent-launcher.js +321 -19
- package/dist/es/puppeteer-agent-launcher.js.map +1 -1
- package/dist/es/puppeteer.js +321 -19
- package/dist/es/puppeteer.js.map +1 -1
- package/dist/lib/agent.js +5 -2
- package/dist/lib/agent.js.map +1 -1
- package/dist/lib/bridge-mode-browser.js +3 -3
- package/dist/lib/bridge-mode.js +7 -4
- package/dist/lib/bridge-mode.js.map +1 -1
- package/dist/lib/chrome-extension.js +6 -3
- package/dist/lib/chrome-extension.js.map +1 -1
- package/dist/lib/index.js +321 -19
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/midscene-playground.js +5 -2
- package/dist/lib/midscene-playground.js.map +1 -1
- package/dist/lib/playground.js +5 -2
- package/dist/lib/playground.js.map +1 -1
- package/dist/lib/playwright.js +321 -19
- package/dist/lib/playwright.js.map +1 -1
- package/dist/lib/puppeteer-agent-launcher.js +321 -19
- package/dist/lib/puppeteer-agent-launcher.js.map +1 -1
- package/dist/lib/puppeteer.js +321 -19
- package/dist/lib/puppeteer.js.map +1 -1
- package/dist/types/agent.d.ts +1 -1
- package/dist/types/bridge-mode-browser.d.ts +2 -2
- package/dist/types/bridge-mode.d.ts +2 -2
- package/dist/types/{browser-9b472ffb.d.ts → browser-f205f69d.d.ts} +1 -1
- package/dist/types/chrome-extension.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/midscene-server.d.ts +1 -1
- package/dist/types/{page-ed0ecb44.d.ts → page-c5452809.d.ts} +45 -0
- package/dist/types/playground.d.ts +2 -2
- package/dist/types/playwright.d.ts +1 -1
- package/dist/types/puppeteer-agent-launcher.d.ts +1 -1
- package/dist/types/puppeteer.d.ts +2 -2
- package/dist/types/utils.d.ts +1 -1
- package/dist/types/yaml.d.ts +1 -1
- package/package.json +55 -19
package/dist/es/agent.js
CHANGED
@@ -1252,6 +1252,7 @@ var PageTaskExecutor = class {
|
|
1252
1252
|
actions: [],
|
1253
1253
|
more_actions_needed_by_instruction: false,
|
1254
1254
|
log: "",
|
1255
|
+
summary: "Loaded YAML workflow configuration",
|
1255
1256
|
yamlString
|
1256
1257
|
},
|
1257
1258
|
cache: {
|
@@ -1353,6 +1354,7 @@ var PageTaskExecutor = class {
|
|
1353
1354
|
actions: finalActions,
|
1354
1355
|
more_actions_needed_by_instruction,
|
1355
1356
|
log: log2,
|
1357
|
+
summary: planResult.summary || "Generated action plan from user instruction",
|
1356
1358
|
yamlFlow: planResult.yamlFlow
|
1357
1359
|
},
|
1358
1360
|
cache: {
|
@@ -1408,6 +1410,7 @@ var PageTaskExecutor = class {
|
|
1408
1410
|
actionType: actions[0].type,
|
1409
1411
|
more_actions_needed_by_instruction: true,
|
1410
1412
|
log: "",
|
1413
|
+
summary: action_summary || "Generated VLM action plan",
|
1411
1414
|
yamlFlow: planResult.yamlFlow
|
1412
1415
|
},
|
1413
1416
|
cache: {
|
@@ -2002,7 +2005,7 @@ import { ifInBrowser as ifInBrowser2 } from "misoai-shared/utils";
|
|
2002
2005
|
import semver from "semver";
|
2003
2006
|
|
2004
2007
|
// package.json
|
2005
|
-
var version = "1.6.
|
2008
|
+
var version = "1.6.3";
|
2006
2009
|
|
2007
2010
|
// src/common/task-cache.ts
|
2008
2011
|
var debug3 = getDebug3("cache");
|
@@ -3063,7 +3066,7 @@ ${errors}`);
|
|
3063
3066
|
}
|
3064
3067
|
countDataExtractions(memory) {
|
3065
3068
|
return memory.filter(
|
3066
|
-
(item) => item.context?.dataExtracted || item.taskType === "
|
3069
|
+
(item) => item.context?.dataExtracted || item.taskType === "Query" && item.summary.includes("Extracted")
|
3067
3070
|
).length;
|
3068
3071
|
}
|
3069
3072
|
extractWorkflowSteps(memory) {
|