@forgezero/agent 0.1.81 → 0.1.82

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.
@@ -750,7 +750,7 @@ async function postSignedNode(options, path, body) {
750
750
  }
751
751
 
752
752
  // src/version.ts
753
- var VERSION3 = "0.1.81";
753
+ var VERSION3 = "0.1.82";
754
754
 
755
755
  // src/agent-heartbeat.ts
756
756
  function readAgentHostMetrics() {
package/dist/bootstrap.js CHANGED
@@ -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.81";
1419
+ var VERSION = "0.1.82";
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) || input.cpuPoolKey !== undefined && pools.has(input.cpuPoolKey)) {
2896
- throw new Error("platform genesis guest names, addresses and explicit CPU pools must be unique");
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)
package/dist/fz-agent.js CHANGED
@@ -9331,7 +9331,7 @@ async function writeAndCloseProcessInput(input, value) {
9331
9331
  }
9332
9332
 
9333
9333
  // src/version.ts
9334
- var VERSION2 = "0.1.81";
9334
+ var VERSION2 = "0.1.82";
9335
9335
 
9336
9336
  // src/ssh-bootstrap.ts
9337
9337
  class SshBootstrapError extends Error {
package/dist/fz.js CHANGED
@@ -4837,7 +4837,7 @@ var UPDATE_RETRY_BASE_MS = 5 * 60000;
4837
4837
  var UPDATE_RETRY_MAX_MS = 24 * 60 * 60000;
4838
4838
 
4839
4839
  // src/version.ts
4840
- var VERSION2 = "0.1.81";
4840
+ var VERSION2 = "0.1.82";
4841
4841
 
4842
4842
  // src/software.ts
4843
4843
  var PINNED_BUN_VERSION = "1.3.14";
@@ -11896,7 +11896,6 @@ function validatePlatformGenesisGuests(guests, expectedCount = 3) {
11896
11896
  }
11897
11897
  const names = new Set;
11898
11898
  const addresses = new Set;
11899
- const pools = new Set;
11900
11899
  return guests.map((input) => {
11901
11900
  if (!input || typeof input !== "object" || !SAFE_NAME.test(input.name)) {
11902
11901
  throw new Error("platform genesis guest name is malformed");
@@ -11909,13 +11908,11 @@ function validatePlatformGenesisGuests(guests, expectedCount = 3) {
11909
11908
  if (input.cpuPoolKey !== undefined && !SAFE_POOL.test(input.cpuPoolKey)) {
11910
11909
  throw new Error("platform genesis CPU pool key is malformed");
11911
11910
  }
11912
- if (names.has(input.name) || addresses.has(input.address) || input.cpuPoolKey !== undefined && pools.has(input.cpuPoolKey)) {
11913
- throw new Error("platform genesis guest names, addresses and explicit CPU pools must be unique");
11911
+ if (names.has(input.name) || addresses.has(input.address)) {
11912
+ throw new Error("platform genesis guest names and addresses must be unique");
11914
11913
  }
11915
11914
  names.add(input.name);
11916
11915
  addresses.add(input.address);
11917
- if (input.cpuPoolKey !== undefined)
11918
- pools.add(input.cpuPoolKey);
11919
11916
  const physicalCores = integer2(input.physicalCores, 1, 256, "physical core count");
11920
11917
  const vcpu = integer2(input.vcpu, 1, 512, "vCPU count");
11921
11918
  if (vcpu < physicalCores)
@@ -18614,7 +18611,7 @@ function interactiveGenesisGuests() {
18614
18611
  name: bootstrapAnswer(`Guest ${index} name`),
18615
18612
  address: bootstrapAnswer(`Guest ${index} private IPv4`),
18616
18613
  imageKey: bootstrapAnswer(`Guest ${index} OS image key`, SUPPORTED_GUEST_IMAGE.key),
18617
- cpuPoolKey: bootstrapAnswer(`Guest ${index} exclusive CPU pool key`),
18614
+ cpuPoolKey: bootstrapAnswer(`Guest ${index} preferred NUMA CPU pool key (capacity is sliced by request)`),
18618
18615
  physicalCores: bootstrapNumber(`Guest ${index} physical cores`),
18619
18616
  vcpu: bootstrapNumber(`Guest ${index} vCPUs`),
18620
18617
  memoryGib: bootstrapNumber(`Guest ${index} memory GiB`),
@@ -366,7 +366,7 @@ function systemdAgentEgressDirectives(loopbackTcpPorts = []) {
366
366
  }
367
367
 
368
368
  // src/version.ts
369
- var VERSION = "0.1.81";
369
+ var VERSION = "0.1.82";
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.81";
1419
+ var VERSION = "0.1.82";
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) || input.cpuPoolKey !== undefined && pools.has(input.cpuPoolKey)) {
2896
- throw new Error("platform genesis guest names, addresses and explicit CPU pools must be unique");
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) || input.cpuPoolKey !== undefined && pools.has(input.cpuPoolKey)) {
601
- throw new Error("platform genesis guest names, addresses and explicit CPU pools must be unique");
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.81";
2650
+ var VERSION3 = "0.1.82";
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) || input.cpuPoolKey !== undefined && pools.has(input.cpuPoolKey)) {
3697
- throw new Error("platform genesis guest names, addresses and explicit CPU pools must be unique");
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)
@@ -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) || input.cpuPoolKey !== undefined && pools.has(input.cpuPoolKey)) {
601
- throw new Error("platform genesis guest names, addresses and explicit CPU pools must be unique");
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.81";
2650
+ var VERSION3 = "0.1.82";
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.81";
2
+ export declare const VERSION = "0.1.82";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgezero/agent",
3
- "version": "0.1.81",
3
+ "version": "0.1.82",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "check": "tsc --noEmit",