@midscene/web 0.23.2 → 0.23.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 +7 -3
- package/dist/es/agent.js.map +1 -1
- package/dist/es/bridge-mode-browser.js +3 -3
- package/dist/es/bridge-mode.js +9 -5
- package/dist/es/bridge-mode.js.map +1 -1
- package/dist/es/chrome-extension.js +8 -4
- package/dist/es/chrome-extension.js.map +1 -1
- package/dist/es/index.js +7 -3
- package/dist/es/index.js.map +1 -1
- package/dist/es/midscene-playground.js +7 -3
- package/dist/es/midscene-playground.js.map +1 -1
- package/dist/es/playground.js +7 -3
- package/dist/es/playground.js.map +1 -1
- package/dist/es/playwright.js +7 -3
- package/dist/es/playwright.js.map +1 -1
- package/dist/es/puppeteer-agent-launcher.js +7 -3
- package/dist/es/puppeteer-agent-launcher.js.map +1 -1
- package/dist/es/puppeteer.js +7 -3
- package/dist/es/puppeteer.js.map +1 -1
- package/dist/lib/agent.js +7 -3
- package/dist/lib/agent.js.map +1 -1
- package/dist/lib/bridge-mode-browser.js +3 -3
- package/dist/lib/bridge-mode.js +9 -5
- package/dist/lib/bridge-mode.js.map +1 -1
- package/dist/lib/chrome-extension.js +8 -4
- package/dist/lib/chrome-extension.js.map +1 -1
- package/dist/lib/index.js +7 -3
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/midscene-playground.js +7 -3
- package/dist/lib/midscene-playground.js.map +1 -1
- package/dist/lib/playground.js +7 -3
- package/dist/lib/playground.js.map +1 -1
- package/dist/lib/playwright.js +7 -3
- package/dist/lib/playwright.js.map +1 -1
- package/dist/lib/puppeteer-agent-launcher.js +7 -3
- package/dist/lib/puppeteer-agent-launcher.js.map +1 -1
- package/dist/lib/puppeteer.js +7 -3
- package/dist/lib/puppeteer.js.map +1 -1
- package/package.json +3 -3
|
@@ -75,7 +75,7 @@ import yaml from "js-yaml";
|
|
|
75
75
|
import semver from "semver";
|
|
76
76
|
|
|
77
77
|
// package.json
|
|
78
|
-
var version = "0.23.
|
|
78
|
+
var version = "0.23.3";
|
|
79
79
|
|
|
80
80
|
// src/common/task-cache.ts
|
|
81
81
|
var DEFAULT_CACHE_MAX_FILENAME_LENGTH = 200;
|
|
@@ -1627,13 +1627,17 @@ var PageTaskExecutor = class {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
]
|
|
1629
1629
|
});
|
|
1630
|
-
const startTime = Date.now();
|
|
1631
1630
|
const planResult = await vlmPlanning({
|
|
1632
1631
|
userInstruction: param.userInstruction,
|
|
1633
1632
|
conversationHistory: this.conversationHistory,
|
|
1634
1633
|
size: pageContext.size
|
|
1635
1634
|
});
|
|
1636
|
-
const { actions, action_summary } = planResult;
|
|
1635
|
+
const { actions, action_summary, usage } = planResult;
|
|
1636
|
+
executorContext.task.log = {
|
|
1637
|
+
...executorContext.task.log || {},
|
|
1638
|
+
rawResponse: planResult.rawResponse
|
|
1639
|
+
};
|
|
1640
|
+
executorContext.task.usage = usage;
|
|
1637
1641
|
this.appendConversationHistory({
|
|
1638
1642
|
role: "assistant",
|
|
1639
1643
|
content: action_summary
|
|
@@ -2790,7 +2794,7 @@ function sleep2(ms) {
|
|
|
2790
2794
|
var ChromeExtensionProxyPage = class {
|
|
2791
2795
|
constructor(forceSameTabNavigation) {
|
|
2792
2796
|
this.pageType = "chrome-extension-proxy";
|
|
2793
|
-
this.version = "0.23.
|
|
2797
|
+
this.version = "0.23.3";
|
|
2794
2798
|
this.activeTabId = null;
|
|
2795
2799
|
this.tabIdOfDebuggerAttached = null;
|
|
2796
2800
|
this.attachingDebugger = null;
|