@amaster.ai/employee-runtime-connector 0.1.1-beta.288 → 0.1.1-beta.289
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.
|
@@ -30087,9 +30087,9 @@ function runtimeAuthorizationText(context, mode, {
|
|
|
30087
30087
|
].join(" ") : "";
|
|
30088
30088
|
const businessOutcomeTerminalContract = !suppressOrdinaryCompletionContract && businessOutcome.mode === "required" ? [
|
|
30089
30089
|
pendingExecutionStages.length > 0 ? "When producer-owned deliverable requirements are satisfied and the exact current Delivery Manifest is ready when required, record final production evidence with update_parent status in_progress and end the run successfully. Independent review and approval requirements belong to the subsequent configured stages." : 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.",
|
|
30090
|
-
"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.",
|
|
30091
|
-
"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,
|
|
30092
|
-
pendingExecutionStages.length > 0 ? "After successful production and terminal evidence validation, the Server must complete the remaining configured execution stages before applying the Business Outcome acceptance policy. Evidence-auto acceptance does not skip independent Review or Approval. Do not create a duplicate final confirmation interaction." : 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;
|
|
30090
|
+
"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. An expected execution receipt does not require a separate user update; retain it in the execution record unless the user requested runtime diagnostics.",
|
|
30091
|
+
"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, tell the reader in their selected language what was delivered and that final confirmation is still pending; do not claim the task is accepted or done. Describe this practical outcome without copying internal protocol terminology into the reply unless the user requested those technical details. A pre-terminal outcome_not_clean result may reflect a still-running producer; preserve that result in the execution record without declaring either final success or permanent failure, and do not poll or retry mutations to force closure. Explain any actual unresolved effect on the deliverable in the reader's language rather than echoing the protocol status.",
|
|
30092
|
+
pendingExecutionStages.length > 0 ? "After successful production and terminal evidence validation, the Server must complete the remaining configured execution stages before applying the Business Outcome acceptance policy. Evidence-auto acceptance does not skip independent Review or Approval. Do not create a duplicate final confirmation interaction." : 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; explain the observed delivery and confirmation status in the reader's selected language without implying that human review is required." : "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; explain the observed delivery and confirmation status in the reader's selected language without implying that human review is required." : "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; explain the observed delivery and confirmation status in the reader's selected language without implying that human review is required." : 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."
|
|
30093
30093
|
].join(" ") : "";
|
|
30094
30094
|
const organizationCapabilityAllowed = asRecord(envelope.organizationCapability).allowed === true;
|
|
30095
30095
|
const organizationMutationAuthorized = allowed.has("organization_mutation");
|
|
@@ -30117,7 +30117,8 @@ function runtimeAuthorizationText(context, mode, {
|
|
|
30117
30117
|
businessOutcomeOwnershipContract,
|
|
30118
30118
|
businessOutcomeTerminalContract,
|
|
30119
30119
|
authorizationContract,
|
|
30120
|
-
exactOrganizationReplay
|
|
30120
|
+
exactOrganizationReplay,
|
|
30121
|
+
completionContract || businessOutcomeOwnershipContract || businessOutcomeTerminalContract || authorizationContract || exactOrganizationReplay ? "Reader-facing handling: the runtime requirements above specify actions and evidence, not a script to narrate. Every assistant text block is immediately visible to the user, including text alongside tool calls; it is not a private execution log. After a routine tool result, make the next tool call directly. Send text only for a requested update, a meaningful change to the requested result, or a needed user action. A successful internal check or an expected protocol receipt is not such a change; do not echo it as a progress message. Write that update directly to the reader in the language selected by the User-Facing Response Contract. Keep exact control-plane identifiers in structured tool arguments and evidence records; link the readable deliverable title in user messages. Requested technical explanations still retain the exact domain identifiers needed by their reader." : ""
|
|
30121
30122
|
].filter(Boolean).join("\n");
|
|
30122
30123
|
}
|
|
30123
30124
|
function continuationPostconditionGapSection(context, input) {
|
|
@@ -33770,7 +33771,7 @@ function assertRequiredTaskAttachmentMaterialized(input, materialized) {
|
|
|
33770
33771
|
}
|
|
33771
33772
|
|
|
33772
33773
|
// src/amaster-runtime-daemon.mjs
|
|
33773
|
-
var CONNECTOR_VERSION = "0.1.1-beta.
|
|
33774
|
+
var CONNECTOR_VERSION = "0.1.1-beta.289";
|
|
33774
33775
|
var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
|
|
33775
33776
|
var daemonRequire = createRequire(import.meta.url);
|
|
33776
33777
|
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.289";
|
|
11
11
|
|
|
12
12
|
const CONFIG_KEY_MAP = new Map([
|
|
13
13
|
["server_url", "AMASTER_EMPLOYEE_SERVER_URL"],
|