@amaster.ai/employee-runtime-connector 0.1.1-beta.298 → 0.1.1-beta.299
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.
|
@@ -6,6 +6,17 @@ var __export = (target, all) => {
|
|
|
6
6
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
+
// src/amaster-runtime-daemon/audit-context.mjs
|
|
10
|
+
function withAuditCorrelationEnvironment(environment, command) {
|
|
11
|
+
const env = { ...environment };
|
|
12
|
+
delete env.MIRRORX_AUDIT_CORRELATION_ID;
|
|
13
|
+
const id = command?.auditContext?.correlationId;
|
|
14
|
+
if (typeof id === "string" && /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(id)) {
|
|
15
|
+
env.MIRRORX_AUDIT_CORRELATION_ID = id;
|
|
16
|
+
}
|
|
17
|
+
return env;
|
|
18
|
+
}
|
|
19
|
+
|
|
9
20
|
// src/amaster-runtime-daemon.mjs
|
|
10
21
|
import { createHash as createHash19, randomUUID } from "node:crypto";
|
|
11
22
|
import { createRequire } from "node:module";
|
|
@@ -34380,7 +34391,7 @@ function assertRequiredTaskAttachmentMaterialized(input, materialized) {
|
|
|
34380
34391
|
}
|
|
34381
34392
|
|
|
34382
34393
|
// src/amaster-runtime-daemon.mjs
|
|
34383
|
-
var CONNECTOR_VERSION = "0.1.1-beta.
|
|
34394
|
+
var CONNECTOR_VERSION = "0.1.1-beta.299";
|
|
34384
34395
|
var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
|
|
34385
34396
|
var daemonRequire = createRequire(import.meta.url);
|
|
34386
34397
|
var MAX_CHECKPOINT_BYTES = 20 * 1024 * 1024;
|
|
@@ -39451,6 +39462,7 @@ async function executeRunCommand(config, command) {
|
|
|
39451
39462
|
...managedMcpProfile.attestation
|
|
39452
39463
|
});
|
|
39453
39464
|
}
|
|
39465
|
+
executorEnv = withAuditCorrelationEnvironment(executorEnv, command);
|
|
39454
39466
|
if (Object.keys(trustedPiRuntimeAssertion).length > 0) {
|
|
39455
39467
|
throw new Error("pi_trusted_runtime_unsupported");
|
|
39456
39468
|
}
|
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.299";
|
|
11
11
|
|
|
12
12
|
const CONFIG_KEY_MAP = new Map([
|
|
13
13
|
["server_url", "AMASTER_EMPLOYEE_SERVER_URL"],
|