@forgezero/agent 0.1.100 → 0.1.102

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.
@@ -917,7 +917,7 @@ async function postSignedNode(options, path, body) {
917
917
  }
918
918
 
919
919
  // src/version.ts
920
- var VERSION3 = "0.1.100";
920
+ var VERSION3 = "0.1.102";
921
921
 
922
922
  // src/agent-heartbeat.ts
923
923
  function readAgentHostMetrics() {
@@ -195,8 +195,8 @@ export declare const legacyBootstrapIdentityDigest: (config: BootstrapConfig) =>
195
195
  /**
196
196
  * Exact, reviewed identity migrations for an already-installed platform host.
197
197
  * This is deliberately not a generic "stored coordinates match" escape hatch:
198
- * only the development collector transition and the addition of reviewed
199
- * genesis attestation evidence are accepted.
198
+ * only the development collector transition, reviewed genesis evidence, and
199
+ * narrowly identified bootstrap-schema repairs are accepted.
200
200
  */
201
201
  export declare function approvedPlatformRepairIdentityDigests(config: PlatformBootstrapConfig): readonly string[];
202
202
  /** Exact prior-release identities accepted only while generation one is still unenrolled. */
package/dist/bootstrap.js CHANGED
@@ -1420,7 +1420,7 @@ var UPDATE_RETRY_BASE_MS = 5 * 60000;
1420
1420
  var UPDATE_RETRY_MAX_MS = 24 * 60 * 60000;
1421
1421
 
1422
1422
  // src/version.ts
1423
- var VERSION = "0.1.100";
1423
+ var VERSION = "0.1.102";
1424
1424
 
1425
1425
  // src/software.ts
1426
1426
  var PINNED_BUN_VERSION = "1.3.14";
@@ -4303,6 +4303,11 @@ function approvedPlatformRepairIdentityDigests(config) {
4303
4303
  delete beforeAttestation.runtime.environment.initialInventory.attestation;
4304
4304
  prior.push(beforeAttestation);
4305
4305
  }
4306
+ if (config.database.role === "joiner" && config.enrolment.source === "genesis-derived" && config.runtime.environment.custodianEmail) {
4307
+ const beforeReplicaCustodianEmail = structuredClone(config);
4308
+ delete beforeReplicaCustodianEmail.runtime.environment.custodianEmail;
4309
+ prior.push(beforeReplicaCustodianEmail);
4310
+ }
4306
4311
  const telemetryMigration = config.environment === "development" && config.telemetryEndpoint === LOCAL_DEBUG_OTEL_EXPORT && config.runtime.environment.agentOtlpEndpoint === "http://127.0.0.1:4318";
4307
4312
  if (telemetryMigration) {
4308
4313
  const beforeTelemetry = structuredClone(config);
package/dist/fz-agent.js CHANGED
@@ -9496,7 +9496,7 @@ async function writeAndCloseProcessInput(input, value) {
9496
9496
  }
9497
9497
 
9498
9498
  // src/version.ts
9499
- var VERSION2 = "0.1.100";
9499
+ var VERSION2 = "0.1.102";
9500
9500
 
9501
9501
  // src/ssh-bootstrap.ts
9502
9502
  class SshBootstrapError extends Error {
package/dist/fz.js CHANGED
@@ -4634,7 +4634,7 @@ var VaultError, runtimeEnvironment = () => typeof process !== "undefined" && pro
4634
4634
  } catch {
4635
4635
  return;
4636
4636
  }
4637
- }, VERSION = "0.1.18";
4637
+ }, VERSION = "0.1.19";
4638
4638
  var init_dist = __esm(() => {
4639
4639
  init_identity();
4640
4640
  VaultError = class VaultError extends Error {
@@ -4841,7 +4841,7 @@ var UPDATE_RETRY_BASE_MS = 5 * 60000;
4841
4841
  var UPDATE_RETRY_MAX_MS = 24 * 60 * 60000;
4842
4842
 
4843
4843
  // src/version.ts
4844
- var VERSION2 = "0.1.100";
4844
+ var VERSION2 = "0.1.102";
4845
4845
 
4846
4846
  // src/software.ts
4847
4847
  var PINNED_BUN_VERSION = "1.3.14";
@@ -14688,6 +14688,11 @@ function approvedPlatformRepairIdentityDigests(config) {
14688
14688
  delete beforeAttestation.runtime.environment.initialInventory.attestation;
14689
14689
  prior.push(beforeAttestation);
14690
14690
  }
14691
+ if (config.database.role === "joiner" && config.enrolment.source === "genesis-derived" && config.runtime.environment.custodianEmail) {
14692
+ const beforeReplicaCustodianEmail = structuredClone(config);
14693
+ delete beforeReplicaCustodianEmail.runtime.environment.custodianEmail;
14694
+ prior.push(beforeReplicaCustodianEmail);
14695
+ }
14691
14696
  const telemetryMigration = config.environment === "development" && config.telemetryEndpoint === LOCAL_DEBUG_OTEL_EXPORT && config.runtime.environment.agentOtlpEndpoint === "http://127.0.0.1:4318";
14692
14697
  if (telemetryMigration) {
14693
14698
  const beforeTelemetry = structuredClone(config);
@@ -17946,7 +17951,7 @@ function platformGenesisBootstrapConfigs(template, guests, nodes, metalHostname,
17946
17951
  seedSyncPeers: fleet.filter((_, peer) => peer !== index).flatMap((peer) => [config.runtime.bluePort, config.runtime.greenPort].map((port) => `ws://${peer.address}:${port}/_internal/forgezero/seed-mesh/v2`)),
17947
17952
  seedSyncMembers: nodes.map(({ nodeHostname }) => nodeHostname),
17948
17953
  initialInventory,
17949
- custodianEmail: index === 0 ? template.runtime.environment.custodianEmail : undefined
17954
+ custodianEmail: template.runtime.environment.custodianEmail
17950
17955
  };
17951
17956
  return validateBootstrapConfig(config);
17952
17957
  });
@@ -366,7 +366,7 @@ function systemdAgentEgressDirectives(loopbackTcpPorts = []) {
366
366
  }
367
367
 
368
368
  // src/version.ts
369
- var VERSION = "0.1.100";
369
+ var VERSION = "0.1.102";
370
370
 
371
371
  // src/otel-collector.ts
372
372
  var FORGEZERO_OTEL_COLLECTOR_UNIT = "forgezero-otel-collector.service";
@@ -1420,7 +1420,7 @@ var UPDATE_RETRY_BASE_MS = 5 * 60000;
1420
1420
  var UPDATE_RETRY_MAX_MS = 24 * 60 * 60000;
1421
1421
 
1422
1422
  // src/version.ts
1423
- var VERSION = "0.1.100";
1423
+ var VERSION = "0.1.102";
1424
1424
 
1425
1425
  // src/software.ts
1426
1426
  var PINNED_BUN_VERSION = "1.3.14";
@@ -4303,6 +4303,11 @@ function approvedPlatformRepairIdentityDigests(config) {
4303
4303
  delete beforeAttestation.runtime.environment.initialInventory.attestation;
4304
4304
  prior.push(beforeAttestation);
4305
4305
  }
4306
+ if (config.database.role === "joiner" && config.enrolment.source === "genesis-derived" && config.runtime.environment.custodianEmail) {
4307
+ const beforeReplicaCustodianEmail = structuredClone(config);
4308
+ delete beforeReplicaCustodianEmail.runtime.environment.custodianEmail;
4309
+ prior.push(beforeReplicaCustodianEmail);
4310
+ }
4306
4311
  const telemetryMigration = config.environment === "development" && config.telemetryEndpoint === LOCAL_DEBUG_OTEL_EXPORT && config.runtime.environment.agentOtlpEndpoint === "http://127.0.0.1:4318";
4307
4312
  if (telemetryMigration) {
4308
4313
  const beforeTelemetry = structuredClone(config);
@@ -2908,7 +2908,7 @@ function requestSoftware(requirements, socketPath = DEFAULT_SOFTWARE_HELPER_SOCK
2908
2908
  }
2909
2909
 
2910
2910
  // src/version.ts
2911
- var VERSION3 = "0.1.100";
2911
+ var VERSION3 = "0.1.102";
2912
2912
 
2913
2913
  // src/egress-policy.ts
2914
2914
  import { realpathSync as realpathSync3 } from "node:fs";
package/dist/provision.js CHANGED
@@ -2908,7 +2908,7 @@ function requestSoftware(requirements, socketPath = DEFAULT_SOFTWARE_HELPER_SOCK
2908
2908
  }
2909
2909
 
2910
2910
  // src/version.ts
2911
- var VERSION3 = "0.1.100";
2911
+ var VERSION3 = "0.1.102";
2912
2912
 
2913
2913
  // src/egress-policy.ts
2914
2914
  import { realpathSync as realpathSync3 } from "node:fs";
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  /** One package version shared by both public binaries. Pinned to package.json by tests. */
2
- export declare const VERSION = "0.1.100";
2
+ export declare const VERSION = "0.1.102";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgezero/agent",
3
- "version": "0.1.100",
3
+ "version": "0.1.102",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "check": "tsc --noEmit",
@@ -11,13 +11,13 @@
11
11
  "typescript": "^5.6.0",
12
12
  "@types/bun": "latest",
13
13
  "@types/node": "^22.0.0",
14
- "@forgezero/access": "0.1.8",
14
+ "@forgezero/access": "0.1.9",
15
15
  "@noble/curves": "^2.2.0",
16
16
  "@noble/post-quantum": "^0.6.1"
17
17
  },
18
18
  "dependencies": {
19
- "@forgezero/runtime": "0.1.13",
20
- "@forgezero/vault": "0.1.18",
19
+ "@forgezero/runtime": "0.1.14",
20
+ "@forgezero/vault": "0.1.19",
21
21
  "@noble/curves": "2.2.0",
22
22
  "@noble/hashes": "2.2.0",
23
23
  "@noble/post-quantum": "0.6.1",