@forgezero/agent 0.1.81 → 0.1.83
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/README.md +7 -1
- package/dist/agent-heartbeat.js +1 -1
- package/dist/bootstrap.js +3 -6
- package/dist/deploy-compiler.d.ts +15 -2
- package/dist/deploy-compiler.js +130 -34
- package/dist/fz-agent.js +1 -1
- package/dist/fz.js +278 -102
- package/dist/metal-bootstrap.js +1 -1
- package/dist/operator-bootstrap.js +3 -6
- package/dist/platform-bootstrap-runtime.js +2 -5
- package/dist/platform-fleet-verification.js +3 -6
- package/dist/platform-genesis.js +2 -5
- package/dist/provision.js +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +3 -3
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.83";
|
|
370
370
|
|
|
371
371
|
// src/otel-collector.ts
|
|
372
372
|
var FORGEZERO_OTEL_COLLECTOR_UNIT = "forgezero-otel-collector.service";
|
|
@@ -1416,7 +1416,7 @@ var UPDATE_RETRY_BASE_MS = 5 * 60000;
|
|
|
1416
1416
|
var UPDATE_RETRY_MAX_MS = 24 * 60 * 60000;
|
|
1417
1417
|
|
|
1418
1418
|
// src/version.ts
|
|
1419
|
-
var VERSION = "0.1.
|
|
1419
|
+
var VERSION = "0.1.83";
|
|
1420
1420
|
|
|
1421
1421
|
// src/software.ts
|
|
1422
1422
|
var PINNED_BUN_VERSION = "1.3.14";
|
|
@@ -2879,7 +2879,6 @@ function validatePlatformGenesisGuests(guests, expectedCount = 3) {
|
|
|
2879
2879
|
}
|
|
2880
2880
|
const names = new Set;
|
|
2881
2881
|
const addresses = new Set;
|
|
2882
|
-
const pools = new Set;
|
|
2883
2882
|
return guests.map((input) => {
|
|
2884
2883
|
if (!input || typeof input !== "object" || !SAFE_NAME.test(input.name)) {
|
|
2885
2884
|
throw new Error("platform genesis guest name is malformed");
|
|
@@ -2892,13 +2891,11 @@ function validatePlatformGenesisGuests(guests, expectedCount = 3) {
|
|
|
2892
2891
|
if (input.cpuPoolKey !== undefined && !SAFE_POOL.test(input.cpuPoolKey)) {
|
|
2893
2892
|
throw new Error("platform genesis CPU pool key is malformed");
|
|
2894
2893
|
}
|
|
2895
|
-
if (names.has(input.name) || addresses.has(input.address)
|
|
2896
|
-
throw new Error("platform genesis guest names
|
|
2894
|
+
if (names.has(input.name) || addresses.has(input.address)) {
|
|
2895
|
+
throw new Error("platform genesis guest names and addresses must be unique");
|
|
2897
2896
|
}
|
|
2898
2897
|
names.add(input.name);
|
|
2899
2898
|
addresses.add(input.address);
|
|
2900
|
-
if (input.cpuPoolKey !== undefined)
|
|
2901
|
-
pools.add(input.cpuPoolKey);
|
|
2902
2899
|
const physicalCores = integer(input.physicalCores, 1, 256, "physical core count");
|
|
2903
2900
|
const vcpu = integer(input.vcpu, 1, 512, "vCPU count");
|
|
2904
2901
|
if (vcpu < physicalCores)
|
|
@@ -584,7 +584,6 @@ function validatePlatformGenesisGuests(guests, expectedCount = 3) {
|
|
|
584
584
|
}
|
|
585
585
|
const names = new Set;
|
|
586
586
|
const addresses = new Set;
|
|
587
|
-
const pools = new Set;
|
|
588
587
|
return guests.map((input) => {
|
|
589
588
|
if (!input || typeof input !== "object" || !SAFE_NAME.test(input.name)) {
|
|
590
589
|
throw new Error("platform genesis guest name is malformed");
|
|
@@ -597,13 +596,11 @@ function validatePlatformGenesisGuests(guests, expectedCount = 3) {
|
|
|
597
596
|
if (input.cpuPoolKey !== undefined && !SAFE_POOL.test(input.cpuPoolKey)) {
|
|
598
597
|
throw new Error("platform genesis CPU pool key is malformed");
|
|
599
598
|
}
|
|
600
|
-
if (names.has(input.name) || addresses.has(input.address)
|
|
601
|
-
throw new Error("platform genesis guest names
|
|
599
|
+
if (names.has(input.name) || addresses.has(input.address)) {
|
|
600
|
+
throw new Error("platform genesis guest names and addresses must be unique");
|
|
602
601
|
}
|
|
603
602
|
names.add(input.name);
|
|
604
603
|
addresses.add(input.address);
|
|
605
|
-
if (input.cpuPoolKey !== undefined)
|
|
606
|
-
pools.add(input.cpuPoolKey);
|
|
607
604
|
const physicalCores = integer(input.physicalCores, 1, 256, "physical core count");
|
|
608
605
|
const vcpu = integer(input.vcpu, 1, 512, "vCPU count");
|
|
609
606
|
if (vcpu < physicalCores)
|
|
@@ -2647,7 +2647,7 @@ function requestSoftware(requirements, socketPath = DEFAULT_SOFTWARE_HELPER_SOCK
|
|
|
2647
2647
|
}
|
|
2648
2648
|
|
|
2649
2649
|
// src/version.ts
|
|
2650
|
-
var VERSION3 = "0.1.
|
|
2650
|
+
var VERSION3 = "0.1.83";
|
|
2651
2651
|
|
|
2652
2652
|
// src/egress-policy.ts
|
|
2653
2653
|
import { realpathSync as realpathSync3 } from "node:fs";
|
|
@@ -3680,7 +3680,6 @@ function validatePlatformGenesisGuests(guests, expectedCount = 3) {
|
|
|
3680
3680
|
}
|
|
3681
3681
|
const names = new Set;
|
|
3682
3682
|
const addresses = new Set;
|
|
3683
|
-
const pools = new Set;
|
|
3684
3683
|
return guests.map((input) => {
|
|
3685
3684
|
if (!input || typeof input !== "object" || !SAFE_NAME.test(input.name)) {
|
|
3686
3685
|
throw new Error("platform genesis guest name is malformed");
|
|
@@ -3693,13 +3692,11 @@ function validatePlatformGenesisGuests(guests, expectedCount = 3) {
|
|
|
3693
3692
|
if (input.cpuPoolKey !== undefined && !SAFE_POOL.test(input.cpuPoolKey)) {
|
|
3694
3693
|
throw new Error("platform genesis CPU pool key is malformed");
|
|
3695
3694
|
}
|
|
3696
|
-
if (names.has(input.name) || addresses.has(input.address)
|
|
3697
|
-
throw new Error("platform genesis guest names
|
|
3695
|
+
if (names.has(input.name) || addresses.has(input.address)) {
|
|
3696
|
+
throw new Error("platform genesis guest names and addresses must be unique");
|
|
3698
3697
|
}
|
|
3699
3698
|
names.add(input.name);
|
|
3700
3699
|
addresses.add(input.address);
|
|
3701
|
-
if (input.cpuPoolKey !== undefined)
|
|
3702
|
-
pools.add(input.cpuPoolKey);
|
|
3703
3700
|
const physicalCores = integer(input.physicalCores, 1, 256, "physical core count");
|
|
3704
3701
|
const vcpu = integer(input.vcpu, 1, 512, "vCPU count");
|
|
3705
3702
|
if (vcpu < physicalCores)
|
package/dist/platform-genesis.js
CHANGED
|
@@ -584,7 +584,6 @@ function validatePlatformGenesisGuests(guests, expectedCount = 3) {
|
|
|
584
584
|
}
|
|
585
585
|
const names = new Set;
|
|
586
586
|
const addresses = new Set;
|
|
587
|
-
const pools = new Set;
|
|
588
587
|
return guests.map((input) => {
|
|
589
588
|
if (!input || typeof input !== "object" || !SAFE_NAME.test(input.name)) {
|
|
590
589
|
throw new Error("platform genesis guest name is malformed");
|
|
@@ -597,13 +596,11 @@ function validatePlatformGenesisGuests(guests, expectedCount = 3) {
|
|
|
597
596
|
if (input.cpuPoolKey !== undefined && !SAFE_POOL.test(input.cpuPoolKey)) {
|
|
598
597
|
throw new Error("platform genesis CPU pool key is malformed");
|
|
599
598
|
}
|
|
600
|
-
if (names.has(input.name) || addresses.has(input.address)
|
|
601
|
-
throw new Error("platform genesis guest names
|
|
599
|
+
if (names.has(input.name) || addresses.has(input.address)) {
|
|
600
|
+
throw new Error("platform genesis guest names and addresses must be unique");
|
|
602
601
|
}
|
|
603
602
|
names.add(input.name);
|
|
604
603
|
addresses.add(input.address);
|
|
605
|
-
if (input.cpuPoolKey !== undefined)
|
|
606
|
-
pools.add(input.cpuPoolKey);
|
|
607
604
|
const physicalCores = integer(input.physicalCores, 1, 256, "physical core count");
|
|
608
605
|
const vcpu = integer(input.vcpu, 1, 512, "vCPU count");
|
|
609
606
|
if (vcpu < physicalCores)
|
package/dist/provision.js
CHANGED
|
@@ -2647,7 +2647,7 @@ function requestSoftware(requirements, socketPath = DEFAULT_SOFTWARE_HELPER_SOCK
|
|
|
2647
2647
|
}
|
|
2648
2648
|
|
|
2649
2649
|
// src/version.ts
|
|
2650
|
-
var VERSION3 = "0.1.
|
|
2650
|
+
var VERSION3 = "0.1.83";
|
|
2651
2651
|
|
|
2652
2652
|
// src/egress-policy.ts
|
|
2653
2653
|
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.83";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forgezero/agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.83",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"check": "tsc --noEmit",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"@noble/post-quantum": "^0.6.1"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@forgezero/runtime": "0.1.
|
|
20
|
-
"@forgezero/vault": "0.1.
|
|
19
|
+
"@forgezero/runtime": "0.1.12",
|
|
20
|
+
"@forgezero/vault": "0.1.16",
|
|
21
21
|
"@noble/curves": "2.2.0",
|
|
22
22
|
"@noble/hashes": "2.2.0",
|
|
23
23
|
"@noble/post-quantum": "0.6.1",
|