@amaster.ai/employee-runtime-connector 0.1.1-beta.237 → 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
|
-
|
|
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
|
}
|
|
@@ -25274,6 +25282,7 @@ function runtimeAuthorizationText(context, mode, {
|
|
|
25274
25282
|
const businessOutcomeTerminalContract = !suppressOrdinaryCompletionContract && businessOutcome.mode === "required" ? [
|
|
25275
25283
|
delivery.mode === "required" ? delegatedDelivery ? "When every acceptance criterion is satisfied and the exact delegated final-child Manifest and package review remain current, record only the root execution disposition with update_parent status in_progress and a concise evidence summary, then end the run successfully without creating or publishing another package." : "When every acceptance criterion is satisfied and the exact current Delivery Manifest is ready, record the final execution disposition with update_parent status in_progress and a concise evidence summary, then end the run successfully without creating a final review interaction." : "When every acceptance criterion is satisfied, record the final execution disposition with update_parent status in_progress and a concise evidence summary, then end the run successfully without creating a final review interaction.",
|
|
25276
25284
|
"The exact runtime_action_in_progress_server_owned rejection is the expected fail-before-effect receipt for this Server-owned handoff. After receiving it, do not retry update_parent with done or another status; end the run successfully so the Server terminal reconciler can take over.",
|
|
25285
|
+
"A ready Delivery Manifest proves only that delivery evidence was registered; it is not Acceptance or an accepted Business Outcome. The expected runtime_action_in_progress_server_owned receipt likewise does not prove finalization. Unless an authoritative Server receipt already confirms acceptance and task completion, state that evidence was submitted and Server terminal validation is pending; do not claim the task is accepted or done. A pre-terminal outcome_not_clean result may reflect a still-running producer; preserve that result without declaring either final success or permanent failure, and do not poll or retry mutations to force closure.",
|
|
25277
25286
|
evidenceAutoAcceptance ? delivery.mode === "required" ? delegatedDelivery ? "Only after the run and command succeed does the Server validate the exact delegated final-child Manifest, accepted package review, and terminal Outcome evidence, auto-accept the Outcome, and finalize the issue as done atomically. This evidence-auto path does not create a Board review; report the actual Server-owned terminal disposition without implying a handoff." : "Only after the run and command succeed does the Server validate the exact current Delivery Manifest and terminal Outcome evidence, auto-accept the Outcome, and finalize the issue as done atomically. This evidence-auto path does not create a Board review; report the actual Server-owned terminal disposition without implying a handoff." : "Only after the run and command succeed does the Server validate the terminal Outcome evidence, auto-accept the Outcome, and finalize the issue as done atomically. This evidence-auto path does not create a Board review; report the actual Server-owned terminal disposition without implying a handoff." : delivery.mode === "required" ? delegatedDelivery ? "Only after the run and command succeed does the Server bind the exact delegated final-child Manifest, accepted package review, and terminal Outcome evidence, create the formal Board review before generic continuation handoff is evaluated, and move the issue to in_review. Board acceptance then finalizes the issue as done atomically." : "Only after the run and command succeed does the Server bind the exact current Delivery Manifest and terminal Outcome evidence, create the formal Board review before generic continuation handoff is evaluated, and move the issue to in_review. Board acceptance then finalizes the issue as done atomically." : "Only after the run and command succeed does the Server bind the terminal Outcome evidence, create the formal Board review before generic continuation handoff is evaluated, and move the issue to in_review. Board acceptance then finalizes the issue as done atomically."
|
|
25278
25287
|
].join(" ") : "";
|
|
25279
25288
|
const organizationCapabilityAllowed = asRecord(envelope.organizationCapability).allowed === true;
|
|
@@ -30516,7 +30525,7 @@ function assertRequiredTaskAttachmentMaterialized(input, materialized) {
|
|
|
30516
30525
|
}
|
|
30517
30526
|
|
|
30518
30527
|
// src/amaster-runtime-daemon.mjs
|
|
30519
|
-
var CONNECTOR_VERSION = "0.1.1-beta.
|
|
30528
|
+
var CONNECTOR_VERSION = "0.1.1-beta.239";
|
|
30520
30529
|
var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
|
|
30521
30530
|
var daemonRequire = createRequire(import.meta.url);
|
|
30522
30531
|
var MAX_CHECKPOINT_BYTES = 20 * 1024 * 1024;
|
package/dist/amaster-runtime.mjs
CHANGED
|
@@ -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.
|
|
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"],
|