@amaster.ai/employee-runtime-connector 0.1.0-beta.32 → 0.1.0-beta.33

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.
@@ -5399,7 +5399,7 @@ function readWorkspaceStatus(cwd, opts = {}) {
5399
5399
  }
5400
5400
 
5401
5401
  // src/amaster-runtime-daemon.mjs
5402
- var CONNECTOR_VERSION = "0.1.0-beta.32";
5402
+ var CONNECTOR_VERSION = "0.1.0-beta.33";
5403
5403
  var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
5404
5404
  var MAX_CHECKPOINT_BYTES = 20 * 1024 * 1024;
5405
5405
  var CHECKPOINT_TTL_MS = 24 * 60 * 60 * 1e3;
@@ -5423,6 +5423,7 @@ var activeRunManifestOutputFlusher = createManifestOutputFlusher({ updateWorkspa
5423
5423
  var piChildIdentityAllocator = null;
5424
5424
  var piChildIdentityAllocatorKey = null;
5425
5425
  var trustedPiRuntimeProvenanceCache = createTrustedPiRuntimeProvenanceCache();
5426
+ var lastPartialTrustedPiRuntimeSourceWarningKey = null;
5426
5427
  function configuredPiChildIdentityAllocator(config) {
5427
5428
  if (!(config.piChildUidBase > 0)) return null;
5428
5429
  const key = `${config.piChildUidBase}:${config.piChildUidSpan}`;
@@ -5795,13 +5796,28 @@ function buildExecutorReadiness(config) {
5795
5796
  return config.executors.filter((executor) => executor.kind === "codex" || executor.kind === "pi").map((executor) => executorReadinessFor(config, executor));
5796
5797
  }
5797
5798
  function trustedPiRuntimeProvenancePayload(config) {
5798
- const configured = [
5799
- config.piRuntimeSeedRoot,
5800
- config.piRuntimeOverlayRoot,
5801
- config.piRuntimeEffectivePolicyFile
5802
- ].filter(Boolean).length;
5803
- if (configured === 0) return {};
5804
- if (configured !== 3) throw new Error("pi_trusted_runtime_source_config_missing");
5799
+ const configuredSources = [
5800
+ Boolean(config.piRuntimeSeedRoot),
5801
+ Boolean(config.piRuntimeOverlayRoot),
5802
+ Boolean(config.piRuntimeEffectivePolicyFile)
5803
+ ];
5804
+ const configured = configuredSources.filter(Boolean).length;
5805
+ if (configured === 0) {
5806
+ lastPartialTrustedPiRuntimeSourceWarningKey = null;
5807
+ return {};
5808
+ }
5809
+ if (configured !== 3) {
5810
+ const warningKey = configuredSources.map((value) => value ? "1" : "0").join("");
5811
+ if (warningKey !== lastPartialTrustedPiRuntimeSourceWarningKey) {
5812
+ process.stderr.write(
5813
+ `AMaster daemon warning pi_trusted_runtime_source_config_partial: configured=${configured} required=3; ordinary heartbeat continues without trusted runtime provenance.
5814
+ `
5815
+ );
5816
+ lastPartialTrustedPiRuntimeSourceWarningKey = warningKey;
5817
+ }
5818
+ return {};
5819
+ }
5820
+ lastPartialTrustedPiRuntimeSourceWarningKey = null;
5805
5821
  return trustedPiRuntimeProvenanceCache.read(trustedPiRuntimeSources(config));
5806
5822
  }
5807
5823
  function buildRegisterPayload(config) {
@@ -5,7 +5,7 @@ import { dirname, join, resolve } from "node:path";
5
5
  import { homedir, hostname } from "node:os";
6
6
  import { fileURLToPath } from "node:url";
7
7
 
8
- const CONNECTOR_VERSION = "0.1.0-beta.32";
8
+ const CONNECTOR_VERSION = "0.1.0-beta.33";
9
9
 
10
10
  const CAPABILITIES = [
11
11
  "remote_registration",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amaster.ai/employee-runtime-connector",
3
- "version": "0.1.0-beta.32",
3
+ "version": "0.1.0-beta.33",
4
4
  "description": "MirrorX runtime connector CLI and daemon",
5
5
  "license": "MIT",
6
6
  "type": "module",