@amaster.ai/employee-runtime-connector 0.1.1-beta.238 → 0.1.1-beta.239

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.
@@ -16424,13 +16424,21 @@ var mirrorXIssueConversationPolicySchema = external_exports.object({
16424
16424
  path: ["composer", "submitEffect"]
16425
16425
  });
16426
16426
  }
16427
- if (value.composer.submitEffect !== "queue_after_active_run" && activeRun) {
16427
+ const terminalRecordOnly = value.composer.contextCode === "terminal_governed" && value.composer.submitEffect === "record_only";
16428
+ if (value.composer.submitEffect !== "queue_after_active_run" && activeRun && !terminalRecordOnly) {
16428
16429
  ctx.addIssue({
16429
16430
  code: external_exports.ZodIssueCode.custom,
16430
16431
  message: "Active Run authority requires queued conversation submission",
16431
16432
  path: ["composer", "submitEffect"]
16432
16433
  });
16433
16434
  }
16435
+ if (value.composer.contextCode === "terminal_governed" && !terminalRecordOnly) {
16436
+ ctx.addIssue({
16437
+ code: external_exports.ZodIssueCode.custom,
16438
+ message: "Terminal conversation submission must only record comments",
16439
+ path: ["composer", "submitEffect"]
16440
+ });
16441
+ }
16434
16442
  if (value.composer.submitEffect === "queue_after_active_run" && value.composer.initialDisplay !== "expanded") {
16435
16443
  ctx.addIssue({
16436
16444
  code: external_exports.ZodIssueCode.custom,
@@ -16439,10 +16447,10 @@ var mirrorXIssueConversationPolicySchema = external_exports.object({
16439
16447
  });
16440
16448
  }
16441
16449
  }
16442
- if (value.successorContinuation.state === "allowed" && (value.composer.state !== "enabled" || value.composer.contextCode !== "terminal_governed" || value.composer.submitEffect !== "record_only" || value.composer.initialDisplay !== "expanded")) {
16450
+ if (value.successorContinuation.state === "allowed" && (activeRun || value.composer.state !== "enabled" || value.composer.contextCode !== "terminal_governed" || value.composer.submitEffect !== "record_only" || value.composer.initialDisplay !== "expanded")) {
16443
16451
  ctx.addIssue({
16444
16452
  code: external_exports.ZodIssueCode.custom,
16445
- message: "Successor continuation requires an enabled terminal governed record-only composer",
16453
+ message: "Successor continuation requires an enabled terminal governed record-only composer without an active Run",
16446
16454
  path: ["successorContinuation"]
16447
16455
  });
16448
16456
  }
@@ -30517,7 +30525,7 @@ function assertRequiredTaskAttachmentMaterialized(input, materialized) {
30517
30525
  }
30518
30526
 
30519
30527
  // src/amaster-runtime-daemon.mjs
30520
- var CONNECTOR_VERSION = "0.1.1-beta.238";
30528
+ var CONNECTOR_VERSION = "0.1.1-beta.239";
30521
30529
  var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
30522
30530
  var daemonRequire = createRequire(import.meta.url);
30523
30531
  var MAX_CHECKPOINT_BYTES = 20 * 1024 * 1024;
@@ -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.238";
10
+ const CONNECTOR_VERSION = "0.1.1-beta.239";
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.238",
3
+ "version": "0.1.1-beta.239",
4
4
  "description": "MirrorX runtime connector CLI and daemon",
5
5
  "license": "MIT",
6
6
  "type": "module",