@amaster.ai/employee-runtime-connector 0.1.1-beta.214 → 0.1.1-beta.216

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.
@@ -25367,6 +25367,7 @@ function buildRuntimeCapabilityReport(input) {
25367
25367
  // src/amaster-runtime-daemon/config-state.mjs
25368
25368
  var RUNNER_KIND_CLOUD_MANAGED = "cloud_managed";
25369
25369
  var RUNNER_KIND_DESKTOP_DELEGATED = "desktop_delegated";
25370
+ var MAX_EXECUTOR_TIMEOUT_SECONDS = 7200;
25370
25371
  function readEnum(value, allowed, fallback, label) {
25371
25372
  const text2 = String(value ?? "").trim();
25372
25373
  if (!text2) return fallback;
@@ -25563,9 +25564,12 @@ function buildConfig(env = process.env, flags = {}) {
25563
25564
  50
25564
25565
  ),
25565
25566
  leaseSeconds: Number(flags.leaseSeconds ?? env.AMASTER_LEASE_SECONDS ?? 60),
25566
- executorTimeoutSeconds: parsePositiveInteger(
25567
- flags.executorTimeoutSeconds ?? env.AMASTER_EXECUTOR_TIMEOUT_SECONDS,
25568
- 3600
25567
+ executorTimeoutSeconds: Math.min(
25568
+ parsePositiveInteger(
25569
+ flags.executorTimeoutSeconds ?? env.AMASTER_EXECUTOR_TIMEOUT_SECONDS,
25570
+ MAX_EXECUTOR_TIMEOUT_SECONDS
25571
+ ),
25572
+ MAX_EXECUTOR_TIMEOUT_SECONDS
25569
25573
  ),
25570
25574
  executorMaxOutputBytes: parsePositiveInteger(
25571
25575
  flags.executorMaxOutputBytes ?? env.AMASTER_EXECUTOR_MAX_OUTPUT_BYTES,
@@ -29077,7 +29081,7 @@ function assertRequiredTaskAttachmentMaterialized(input, materialized) {
29077
29081
  }
29078
29082
 
29079
29083
  // src/amaster-runtime-daemon.mjs
29080
- var CONNECTOR_VERSION = "0.1.1-beta.214";
29084
+ var CONNECTOR_VERSION = "0.1.1-beta.216";
29081
29085
  var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
29082
29086
  var daemonRequire = createRequire(import.meta.url);
29083
29087
  var MAX_CHECKPOINT_BYTES = 20 * 1024 * 1024;
@@ -32578,7 +32582,10 @@ async function executeRunExitClosureTurn(config, inputState, options = {}) {
32578
32582
  describeRequired,
32579
32583
  nowIso: (/* @__PURE__ */ new Date()).toISOString()
32580
32584
  }),
32581
- timeoutSeconds: Math.max(1, readNumber(executionConfig.timeoutSeconds, config.executorTimeoutSeconds)),
32585
+ timeoutSeconds: Math.min(
32586
+ config.executorTimeoutSeconds,
32587
+ Math.max(1, readNumber(executionConfig.timeoutSeconds, config.executorTimeoutSeconds))
32588
+ ),
32582
32589
  maxOutputBytes: Math.max(1, readNumber(executionConfig.maxOutputBytes, config.executorMaxOutputBytes)),
32583
32590
  maxRssMb: Math.max(0, readNumber(executionConfig.maxRssMb, config.executorMaxRssMb)),
32584
32591
  signal,
@@ -7,7 +7,7 @@ import { homedir, hostname } from "node:os";
7
7
  import { fileURLToPath } from "node:url";
8
8
  import { BUILD_SUPPORTED_CAPABILITIES } from "./amaster-runtime-daemon/capability-registry.mjs";
9
9
 
10
- const CONNECTOR_VERSION = "0.1.1-beta.214";
10
+ const CONNECTOR_VERSION = "0.1.1-beta.216";
11
11
 
12
12
  const CONFIG_KEY_MAP = new Map([
13
13
  ["server_url", "AMASTER_EMPLOYEE_SERVER_URL"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amaster.ai/employee-runtime-connector",
3
- "version": "0.1.1-beta.214",
3
+ "version": "0.1.1-beta.216",
4
4
  "description": "MirrorX runtime connector CLI and daemon",
5
5
  "license": "MIT",
6
6
  "type": "module",