@amaster.ai/employee-runtime-connector 0.1.1-beta.45 → 0.1.1-beta.46
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.
|
@@ -5787,11 +5787,19 @@ function runtimeAuthorizationText(context, mode, { suppressOrdinaryCompletionCon
|
|
|
5787
5787
|
delivery.mode === "required" ? "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.",
|
|
5788
5788
|
evidenceAutoAcceptance ? delivery.mode === "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; 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" ? "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."
|
|
5789
5789
|
].join(" ") : "";
|
|
5790
|
-
const
|
|
5790
|
+
const organizationCapabilityAllowed = asRecord(envelope.organizationCapability).allowed === true;
|
|
5791
|
+
const organizationMutationAuthorized = allowed.has("organization_mutation");
|
|
5792
|
+
const authorizationContract = Object.keys(optionIds).length > 0 ? [
|
|
5791
5793
|
`Current allowed action classes: ${[...allowed].join(", ") || "task_governance"}.`,
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5794
|
+
`Organization capability (persistent Agent permission): ${organizationCapabilityAllowed ? "allowed" : "disabled"}.`,
|
|
5795
|
+
`Organization capability revision: ${readString(asRecord(asRecord(envelope.organizationCapability).source).revision) ?? "missing"}.`,
|
|
5796
|
+
`Run-scoped organization_mutation authorization: ${organizationMutationAuthorized ? "authorized" : "not_authorized"}.`,
|
|
5797
|
+
organizationCapabilityAllowed && organizationMutationAuthorized ? "Persistent organization capability and run-scoped authorization are both present. Use agent_hire for bounded organization changes; do not request another authorization or staffing interaction." : organizationCapabilityAllowed ? "If organization_mutation is required, call request_runtime_authorization with authorizationClass=organization_mutation and a stable idempotencyKey for the bounded organization-change scope. Wait for its accepted continuation; do not create a generic checkbox or staffing request." : "Persistent organization capability is disabled. Use the Server-resolved create_staffing_request route; staffing acceptance does not grant organization_mutation.",
|
|
5798
|
+
...missing.length > 0 ? [
|
|
5799
|
+
"Canonical authorization option ids are informational output from the Server-owned target:",
|
|
5800
|
+
...missing.map((entry) => `- ${entry.authorizationClass}: ${entry.optionId}`)
|
|
5801
|
+
] : [],
|
|
5802
|
+
"Never use create_interaction, request_confirmation, comment metadata, or free text to authorize a runtime action class."
|
|
5795
5803
|
].join("\n") : "";
|
|
5796
5804
|
return [
|
|
5797
5805
|
completionContract,
|
|
@@ -10089,7 +10097,7 @@ var source_acquisition_compatibility_default = {
|
|
|
10089
10097
|
};
|
|
10090
10098
|
|
|
10091
10099
|
// src/amaster-runtime-daemon.mjs
|
|
10092
|
-
var CONNECTOR_VERSION = "0.1.1-beta.
|
|
10100
|
+
var CONNECTOR_VERSION = "0.1.1-beta.46";
|
|
10093
10101
|
var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
|
|
10094
10102
|
var SOURCE_ACQUISITION_CAPABILITY = source_acquisition_compatibility_default.profileVersion;
|
|
10095
10103
|
var SOURCE_ACQUISITION_PROFILE_VERSION = source_acquisition_compatibility_default.profileVersion;
|
package/dist/amaster-runtime.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { basename, dirname, join, resolve } from "node:path";
|
|
|
6
6
|
import { homedir, hostname } from "node:os";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
|
|
9
|
-
const CONNECTOR_VERSION = "0.1.1-beta.
|
|
9
|
+
const CONNECTOR_VERSION = "0.1.1-beta.46";
|
|
10
10
|
|
|
11
11
|
const CAPABILITIES = [
|
|
12
12
|
"remote_registration",
|