@forgezero/agent 0.1.151 → 0.1.152

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.
@@ -948,7 +948,7 @@ async function postSignedNode(options, path, body) {
948
948
  }
949
949
 
950
950
  // src/version.ts
951
- var VERSION3 = "0.1.151";
951
+ var VERSION3 = "0.1.152";
952
952
 
953
953
  // src/agent-heartbeat.ts
954
954
  function readAgentHostMetrics() {
package/dist/bootstrap.js CHANGED
@@ -1460,7 +1460,7 @@ var UPDATE_RETRY_BASE_MS = 5 * 60000;
1460
1460
  var UPDATE_RETRY_MAX_MS = 24 * 60 * 60000;
1461
1461
 
1462
1462
  // src/version.ts
1463
- var VERSION = "0.1.151";
1463
+ var VERSION = "0.1.152";
1464
1464
 
1465
1465
  // src/software.ts
1466
1466
  var PINNED_BUN_VERSION = "1.3.14";
package/dist/fz-agent.js CHANGED
@@ -11632,7 +11632,7 @@ async function writeAndCloseProcessInput(input, value) {
11632
11632
  }
11633
11633
 
11634
11634
  // src/version.ts
11635
- var VERSION2 = "0.1.151";
11635
+ var VERSION2 = "0.1.152";
11636
11636
 
11637
11637
  // src/ssh-bootstrap.ts
11638
11638
  function deriveMetalAdmissionProvisioning(lscpu) {
@@ -20990,12 +20990,12 @@ if (import.meta.main) {
20990
20990
  const bootstrapEnabled = process.env.FZ_BOOTSTRAP_PULL === "true";
20991
20991
  const bootstrapCredential = process.env.FZ_BOOTSTRAP_SSH_KEY_CREDENTIAL;
20992
20992
  const bootstrapKeyPath = bootstrapCredential && process.env.CREDENTIALS_DIRECTORY ? `${process.env.CREDENTIALS_DIRECTORY}/${bootstrapCredential}` : undefined;
20993
- if (bootstrapEnabled && (!binding || !nodeApiUrl || !process.env.FZ_API || !bootstrapKeyPath || !existsSync23(bootstrapKeyPath) || !process.env.FZ_BOOTSTRAP_TARGET_OTLP_ENDPOINT)) {
20994
- throw new Error("agent: bootstrap runner requires enrolment, API, local SSH credential and target OTLP coordinate");
20993
+ if (bootstrapEnabled && (!binding || !nodeApiUrl || !process.env.FZ_PUBLIC_API_URL || !bootstrapKeyPath || !existsSync23(bootstrapKeyPath) || !process.env.FZ_BOOTSTRAP_TARGET_OTLP_ENDPOINT)) {
20994
+ throw new Error("agent: bootstrap runner requires enrolment, public API, local SSH credential and target OTLP coordinate");
20995
20995
  }
20996
20996
  const bootstrapPull = bootstrapEnabled ? startSshBootstrapPull({
20997
20997
  apiUrl: nodeApiUrl,
20998
- platformApiUrl: process.env.FZ_API,
20998
+ platformApiUrl: process.env.FZ_PUBLIC_API_URL,
20999
20999
  nodeKey,
21000
21000
  keys,
21001
21001
  sshKeyPath: bootstrapKeyPath,
@@ -21007,7 +21007,7 @@ if (import.meta.main) {
21007
21007
  console.log("[agent] PQ-authenticated delegated SSH bootstrap claims enabled");
21008
21008
  const metalAdmissionPull = bootstrapEnabled ? startMetalAdmissionPull({
21009
21009
  apiUrl: nodeApiUrl,
21010
- platformApiUrl: process.env.FZ_API,
21010
+ platformApiUrl: process.env.FZ_PUBLIC_API_URL,
21011
21011
  nodeKey,
21012
21012
  keys,
21013
21013
  sshKeyPath: bootstrapKeyPath,
package/dist/fz.js CHANGED
@@ -8058,7 +8058,7 @@ var UPDATE_RETRY_BASE_MS = 5 * 60000;
8058
8058
  var UPDATE_RETRY_MAX_MS = 24 * 60 * 60000;
8059
8059
 
8060
8060
  // src/version.ts
8061
- var VERSION2 = "0.1.151";
8061
+ var VERSION2 = "0.1.152";
8062
8062
 
8063
8063
  // src/software.ts
8064
8064
  var PINNED_BUN_VERSION = "1.3.14";
@@ -366,7 +366,7 @@ function systemdAgentEgressDirectives(loopbackTcpPorts = []) {
366
366
  }
367
367
 
368
368
  // src/version.ts
369
- var VERSION = "0.1.151";
369
+ var VERSION = "0.1.152";
370
370
 
371
371
  // src/otel-collector.ts
372
372
  var FORGEZERO_OTEL_COLLECTOR_UNIT = "forgezero-otel-collector.service";
@@ -1460,7 +1460,7 @@ var UPDATE_RETRY_BASE_MS = 5 * 60000;
1460
1460
  var UPDATE_RETRY_MAX_MS = 24 * 60 * 60000;
1461
1461
 
1462
1462
  // src/version.ts
1463
- var VERSION = "0.1.151";
1463
+ var VERSION = "0.1.152";
1464
1464
 
1465
1465
  // src/software.ts
1466
1466
  var PINNED_BUN_VERSION = "1.3.14";
@@ -3081,7 +3081,7 @@ function requestSoftware(requirements, socketPath = DEFAULT_SOFTWARE_HELPER_SOCK
3081
3081
  }
3082
3082
 
3083
3083
  // src/version.ts
3084
- var VERSION3 = "0.1.151";
3084
+ var VERSION3 = "0.1.152";
3085
3085
 
3086
3086
  // src/egress-policy.ts
3087
3087
  import { realpathSync as realpathSync3 } from "node:fs";
package/dist/provision.js CHANGED
@@ -3081,7 +3081,7 @@ function requestSoftware(requirements, socketPath = DEFAULT_SOFTWARE_HELPER_SOCK
3081
3081
  }
3082
3082
 
3083
3083
  // src/version.ts
3084
- var VERSION3 = "0.1.151";
3084
+ var VERSION3 = "0.1.152";
3085
3085
 
3086
3086
  // src/egress-policy.ts
3087
3087
  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.151";
2
+ export declare const VERSION = "0.1.152";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgezero/agent",
3
- "version": "0.1.151",
3
+ "version": "0.1.152",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "check": "tsc --noEmit",