@mearl/plugin-qoder 3.1.11 → 3.2.0-beta.0

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": "d452031f67ef3677ab022d17865a8666cc61aae6426a56ed4b3a840d3b67108f",
11
- "byteLength": 1105256
10
+ "sha256": "67c8343953c05ebf2d8bb570df9b9b53f8375904b065a5430cb8b9ac8fdbdcf6",
11
+ "byteLength": 1105416
12
12
  }
13
13
  },
14
14
  "contributions": {
@@ -26233,6 +26233,7 @@ var REQUEST_BUFFER_MAX_FIELD_BYTES = 8 * 1024 * 1024;
26233
26233
  var textEncoder = new TextEncoder();
26234
26234
 
26235
26235
  // ../browser-core/dist/proxyPermissions.js
26236
+ var DOMAIN_PERMISSION_ACTION_TIMEOUT_MS = 1e5;
26236
26237
  var ALLOWED_ORIGINS = ["*://localhost/*", "*://127.0.0.1/*"];
26237
26238
  var ALLOWED_ORIGINS_LIST = [...ALLOWED_ORIGINS];
26238
26239
 
@@ -26983,6 +26984,8 @@ function resolveObservedActionTimeoutSec(data) {
26983
26984
  return Math.max(20, Math.ceil(totalMs / 1e3));
26984
26985
  }
26985
26986
  function resolveActionTimeoutSec(action, data, fallback = 15) {
26987
+ if (action === "request_permission")
26988
+ return Math.max(fallback, DOMAIN_PERMISSION_ACTION_TIMEOUT_MS / 1e3);
26986
26989
  if (action === "send_request") {
26987
26990
  const transferTimeoutMs = data.bodyFile !== void 0 || Array.isArray(data.files) && data.files.length > 0 ? SEND_REQUEST_FILE_TRANSFER_TIMEOUT_MS : 0;
26988
26991
  return Math.max(fallback, Math.ceil(((data.timeout ?? 3e4) + transferTimeoutMs + 5e3) / 1e3));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mearl/plugin-qoder",
3
- "version": "3.1.11",
3
+ "version": "3.2.0-beta.0",
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.1.11",
31
- "@mearl/browser-core": "3.1.11",
32
- "@mearl/cloud-connector": "3.1.11",
33
- "@mearl/client": "3.1.11"
30
+ "@mearl/agent-runtime": "3.2.0-beta.0",
31
+ "@mearl/browser-core": "3.2.0-beta.0",
32
+ "@mearl/cloud-connector": "3.2.0-beta.0",
33
+ "@mearl/client": "3.2.0-beta.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "typescript": "^5.8.3",