@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.
- package/dist/agent-heartbeat.js +1 -1
- package/dist/bootstrap.js +1 -1
- package/dist/fz-agent.js +5 -5
- package/dist/fz.js +1 -1
- package/dist/metal-bootstrap.js +1 -1
- package/dist/operator-bootstrap.js +1 -1
- package/dist/platform-fleet-verification.js +1 -1
- package/dist/provision.js +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/agent-heartbeat.js
CHANGED
package/dist/bootstrap.js
CHANGED
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
8061
|
+
var VERSION2 = "0.1.152";
|
|
8062
8062
|
|
|
8063
8063
|
// src/software.ts
|
|
8064
8064
|
var PINNED_BUN_VERSION = "1.3.14";
|
package/dist/metal-bootstrap.js
CHANGED
|
@@ -366,7 +366,7 @@ function systemdAgentEgressDirectives(loopbackTcpPorts = []) {
|
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
// src/version.ts
|
|
369
|
-
var VERSION = "0.1.
|
|
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";
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
2
|
+
export declare const VERSION = "0.1.152";
|