@forgezero/agent 0.1.143 → 0.1.144
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 +1 -1
- package/dist/fz.js +16 -2
- package/dist/metal-bootstrap.js +1 -1
- package/dist/operator-bootstrap.d.ts +6 -3
- package/dist/operator-bootstrap.js +16 -2
- 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
package/dist/fz.js
CHANGED
|
@@ -6007,7 +6007,7 @@ var UPDATE_RETRY_BASE_MS = 5 * 60000;
|
|
|
6007
6007
|
var UPDATE_RETRY_MAX_MS = 24 * 60 * 60000;
|
|
6008
6008
|
|
|
6009
6009
|
// src/version.ts
|
|
6010
|
-
var VERSION2 = "0.1.
|
|
6010
|
+
var VERSION2 = "0.1.144";
|
|
6011
6011
|
|
|
6012
6012
|
// src/software.ts
|
|
6013
6013
|
var PINNED_BUN_VERSION = "1.3.14";
|
|
@@ -18287,7 +18287,21 @@ async function applyOperatorPlatformFleetBootstrap(fleet, mode, options = {}) {
|
|
|
18287
18287
|
for (const config of configs.slice(1))
|
|
18288
18288
|
validatePlatformBootstrapSecrets(config, secrets);
|
|
18289
18289
|
}
|
|
18290
|
-
const settled =
|
|
18290
|
+
const settled = [];
|
|
18291
|
+
if (mode === "apply") {
|
|
18292
|
+
settled.push(...await Promise.allSettled(requests.map((request) => applyOperatorPlatformBootstrap(request, mode, { ...options, secrets }))));
|
|
18293
|
+
} else {
|
|
18294
|
+
for (const request of requests) {
|
|
18295
|
+
try {
|
|
18296
|
+
settled.push({
|
|
18297
|
+
status: "fulfilled",
|
|
18298
|
+
value: await applyOperatorPlatformBootstrap(request, mode, { ...options, secrets })
|
|
18299
|
+
});
|
|
18300
|
+
} catch (reason) {
|
|
18301
|
+
settled.push({ status: "rejected", reason });
|
|
18302
|
+
}
|
|
18303
|
+
}
|
|
18304
|
+
}
|
|
18291
18305
|
const outcomes = settled.map((result, index) => {
|
|
18292
18306
|
const config = configs[index];
|
|
18293
18307
|
const address = requests[index].target.address;
|
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.144";
|
|
370
370
|
|
|
371
371
|
// src/otel-collector.ts
|
|
372
372
|
var FORGEZERO_OTEL_COLLECTOR_UNIT = "forgezero-otel-collector.service";
|
|
@@ -191,9 +191,12 @@ export declare function applyOperatorPlatformBootstrap(request: OperatorPlatform
|
|
|
191
191
|
output: string;
|
|
192
192
|
}>;
|
|
193
193
|
/**
|
|
194
|
-
* Run the exact three-node
|
|
195
|
-
* Every request is fully validated before the first SSH connection.
|
|
196
|
-
* concurrently because the three-member Agency
|
|
194
|
+
* Run the exact three-node fleet from one attended secret collection.
|
|
195
|
+
* Every request is fully validated before the first SSH connection. Initial
|
|
196
|
+
* genesis runs concurrently because the three-member Agency must form as one
|
|
197
|
+
* operation. An established fleet is repaired/promoted one node at a time so
|
|
198
|
+
* an API origin and an unlocked seed-mesh peer remain resident throughout the
|
|
199
|
+
* rollout.
|
|
197
200
|
*/
|
|
198
201
|
export declare function applyOperatorPlatformFleetBootstrap(fleet: OperatorPlatformBootstrapFleetRequest, mode: OperatorPlatformBootstrapMode, options?: OperatorPlatformBootstrapOptions & {
|
|
199
202
|
secrets?: PlatformBootstrapSecrets;
|
|
@@ -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.
|
|
1463
|
+
var VERSION = "0.1.144";
|
|
1464
1464
|
|
|
1465
1465
|
// src/software.ts
|
|
1466
1466
|
var PINNED_BUN_VERSION = "1.3.14";
|
|
@@ -7443,7 +7443,21 @@ async function applyOperatorPlatformFleetBootstrap(fleet, mode, options = {}) {
|
|
|
7443
7443
|
for (const config of configs.slice(1))
|
|
7444
7444
|
validatePlatformBootstrapSecrets(config, secrets);
|
|
7445
7445
|
}
|
|
7446
|
-
const settled =
|
|
7446
|
+
const settled = [];
|
|
7447
|
+
if (mode === "apply") {
|
|
7448
|
+
settled.push(...await Promise.allSettled(requests.map((request) => applyOperatorPlatformBootstrap(request, mode, { ...options, secrets }))));
|
|
7449
|
+
} else {
|
|
7450
|
+
for (const request of requests) {
|
|
7451
|
+
try {
|
|
7452
|
+
settled.push({
|
|
7453
|
+
status: "fulfilled",
|
|
7454
|
+
value: await applyOperatorPlatformBootstrap(request, mode, { ...options, secrets })
|
|
7455
|
+
});
|
|
7456
|
+
} catch (reason) {
|
|
7457
|
+
settled.push({ status: "rejected", reason });
|
|
7458
|
+
}
|
|
7459
|
+
}
|
|
7460
|
+
}
|
|
7447
7461
|
const outcomes = settled.map((result, index) => {
|
|
7448
7462
|
const config = configs[index];
|
|
7449
7463
|
const address = requests[index].target.address;
|
|
@@ -3050,7 +3050,7 @@ function requestSoftware(requirements, socketPath = DEFAULT_SOFTWARE_HELPER_SOCK
|
|
|
3050
3050
|
}
|
|
3051
3051
|
|
|
3052
3052
|
// src/version.ts
|
|
3053
|
-
var VERSION3 = "0.1.
|
|
3053
|
+
var VERSION3 = "0.1.144";
|
|
3054
3054
|
|
|
3055
3055
|
// src/egress-policy.ts
|
|
3056
3056
|
import { realpathSync as realpathSync3 } from "node:fs";
|
package/dist/provision.js
CHANGED
|
@@ -3050,7 +3050,7 @@ function requestSoftware(requirements, socketPath = DEFAULT_SOFTWARE_HELPER_SOCK
|
|
|
3050
3050
|
}
|
|
3051
3051
|
|
|
3052
3052
|
// src/version.ts
|
|
3053
|
-
var VERSION3 = "0.1.
|
|
3053
|
+
var VERSION3 = "0.1.144";
|
|
3054
3054
|
|
|
3055
3055
|
// src/egress-policy.ts
|
|
3056
3056
|
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.144";
|