@mearl/plugin-qoder 3.0.12 → 3.1.1
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.
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
},
|
|
8
8
|
"resources": {
|
|
9
9
|
"runtime.cjs": {
|
|
10
|
-
"sha256": "
|
|
11
|
-
"byteLength":
|
|
10
|
+
"sha256": "c3458c9ea21d64893416496b26bb61b21c3cda7f02adadfe43b450247ab4a0f1",
|
|
11
|
+
"byteLength": 1104373
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"contributions": {
|
|
@@ -26905,7 +26905,6 @@ var EXTENSION_BROWSER_ACTIONS = {
|
|
|
26905
26905
|
get_rules: true,
|
|
26906
26906
|
get_capabilities: true,
|
|
26907
26907
|
send_request: true,
|
|
26908
|
-
browser_release: true,
|
|
26909
26908
|
page_screenshot: true,
|
|
26910
26909
|
tab_open: true,
|
|
26911
26910
|
tab_close: true,
|
|
@@ -26936,16 +26935,21 @@ var EXTENSION_BROWSER_ACTIONS = {
|
|
|
26936
26935
|
};
|
|
26937
26936
|
var BROWSER_CAPABILITY_ACTIONS = {
|
|
26938
26937
|
...EXTENSION_BROWSER_ACTIONS,
|
|
26939
|
-
page_download: true
|
|
26938
|
+
page_download: true,
|
|
26939
|
+
// Provider wire operation for releasing control while preserving its instance.
|
|
26940
|
+
browser_release: true
|
|
26940
26941
|
};
|
|
26941
26942
|
|
|
26942
26943
|
// ../browser-core/dist/agentChat.js
|
|
26943
26944
|
var AGENT_CHAT_MAX_IMAGE_BYTES = 10 * 1024 * 1024;
|
|
26944
26945
|
var AGENT_CHAT_MAX_TOTAL_IMAGE_BYTES = 20 * 1024 * 1024;
|
|
26945
26946
|
|
|
26947
|
+
// ../browser-core/dist/extensionServiceProtocol.js
|
|
26948
|
+
var PAGE_UPLOAD_TRANSFER_MAX_BYTES = 256 * 1024 * 1024;
|
|
26949
|
+
var PAGE_UPLOAD_FILE_TRANSFER_TIMEOUT_MS = 18e4;
|
|
26950
|
+
|
|
26946
26951
|
// ../client/dist/actionTimeouts.js
|
|
26947
26952
|
var SEND_REQUEST_FILE_TRANSFER_TIMEOUT_MS = 12e4;
|
|
26948
|
-
var PAGE_UPLOAD_FILE_TRANSFER_TIMEOUT_MS = 18e4;
|
|
26949
26953
|
var BROWSER_CLOSE_TIMEOUT_SEC = 18 * 60;
|
|
26950
26954
|
function boundedNumber(value, fallback, minimum, maximum) {
|
|
26951
26955
|
const numeric = Number(value);
|
|
@@ -26969,6 +26973,8 @@ function resolveActionTimeoutSec(action, data, fallback = 15) {
|
|
|
26969
26973
|
}
|
|
26970
26974
|
if (action === "page_download")
|
|
26971
26975
|
return Math.max(fallback, Math.ceil((Number(data.timeout ?? 3e4) + 1e4) / 1e3));
|
|
26976
|
+
if (action === "page_record" && data.operation === "stop")
|
|
26977
|
+
return Math.max(fallback, 60);
|
|
26972
26978
|
if (action === "page_wait") {
|
|
26973
26979
|
const waitMs = data.time ?? data.timeout ?? 1e4;
|
|
26974
26980
|
return Math.max(fallback, Math.ceil((Number(waitMs) + 5e3) / 1e3));
|
|
@@ -26977,10 +26983,12 @@ function resolveActionTimeoutSec(action, data, fallback = 15) {
|
|
|
26977
26983
|
return Math.max(fallback, 40);
|
|
26978
26984
|
if (action === "set_cookie" && data.reload === true)
|
|
26979
26985
|
return Math.max(fallback, 40);
|
|
26980
|
-
if (action === "
|
|
26981
|
-
|
|
26982
|
-
|
|
26983
|
-
|
|
26986
|
+
if (action === "browser_manage") {
|
|
26987
|
+
if (data.operation === "launch" || data.operation === "attach")
|
|
26988
|
+
return Math.max(fallback, 90);
|
|
26989
|
+
if (data.operation === "close" || data.operation === "detach")
|
|
26990
|
+
return Math.max(fallback, BROWSER_CLOSE_TIMEOUT_SEC);
|
|
26991
|
+
}
|
|
26984
26992
|
if (action === "run_actions") {
|
|
26985
26993
|
const actions = Array.isArray(data.actions) ? data.actions : [{}];
|
|
26986
26994
|
const timeoutSec = actions.reduce((total, step) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mearl/plugin-qoder",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "Optional Qoder CLI agent and cloud connector capability for Mearl",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@agentclientprotocol/sdk": "^1.2.1",
|
|
30
|
-
"@mearl/agent-runtime": "3.
|
|
31
|
-
"@mearl/browser-core": "3.
|
|
32
|
-
"@mearl/
|
|
33
|
-
"@mearl/
|
|
30
|
+
"@mearl/agent-runtime": "3.1.1",
|
|
31
|
+
"@mearl/browser-core": "3.1.1",
|
|
32
|
+
"@mearl/cloud-connector": "3.1.1",
|
|
33
|
+
"@mearl/client": "3.1.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"typescript": "^5.8.3",
|