@amaster.ai/employee-runtime-connector 0.1.1-beta.213 → 0.1.1-beta.215

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.
@@ -23116,7 +23116,7 @@ function runtimeTemplateCatalogSection(input) {
23116
23116
  `- exact catalog path: \`${targetDir}\``,
23117
23117
  `- file count: ${catalog.fileCount}`,
23118
23118
  `- manifest SHA-256: ${manifestSha256}`,
23119
- "This exact catalog is the run's only authorized read-only path outside the execution workspace for template matching. Copy a selected template into the workspace before editing it.",
23119
+ "This exact catalog is the run's only authorized read-only path outside the execution workspace for template matching. Copy the selected source into a new workspace path, then make only that working copy owner-writable before editing it (for example: `cp -- <source> <target> && chmod u+w <target>`). Never chmod or edit the catalog source.",
23120
23120
  "Use this exact path directly when listing or reading templates. Do not rely on `AMASTER_RUNTIME_TEMPLATES_ROOT` being inherited by out-of-process tools; the path above is the model-facing authority for this run.",
23121
23121
  "If this exact path is missing or unreadable, report a runtime gap. Do not silently fall back to another directory or treat the failure as a verified template miss."
23122
23122
  ].join("\n")
@@ -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.213";
29084
+ var CONNECTOR_VERSION = "0.1.1-beta.215";
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.213";
10
+ const CONNECTOR_VERSION = "0.1.1-beta.215";
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.213",
3
+ "version": "0.1.1-beta.215",
4
4
  "description": "MirrorX runtime connector CLI and daemon",
5
5
  "license": "MIT",
6
6
  "type": "module",