@forgezero/agent 0.1.139 → 0.1.141

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.
@@ -917,7 +917,7 @@ async function postSignedNode(options, path, body) {
917
917
  }
918
918
 
919
919
  // src/version.ts
920
- var VERSION3 = "0.1.139";
920
+ var VERSION3 = "0.1.141";
921
921
 
922
922
  // src/agent-heartbeat.ts
923
923
  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.139";
1463
+ var VERSION = "0.1.141";
1464
1464
 
1465
1465
  // src/software.ts
1466
1466
  var PINNED_BUN_VERSION = "1.3.14";
@@ -2577,7 +2577,9 @@ function planProvision(options) {
2577
2577
  socketPath: options.socketPath,
2578
2578
  user,
2579
2579
  steps: [
2580
+ ...warpEnabled ? [step("Cloudflare One client for Ubuntu 26.04", { kind: "install-warp" })] : [],
2580
2581
  ...options.enforceEgress ? [step("Ubuntu Agent egress prerequisites", { kind: "commands", commands: [
2582
+ ...warpEnabled ? [{ argv: ["/usr/bin/chmod", "0644", "/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg"] }] : [],
2581
2583
  { argv: ["/usr/bin/apt-get", "update", "-qq"] },
2582
2584
  { argv: ["/usr/bin/apt-get", "install", "-y", "nftables"] },
2583
2585
  { argv: ["/usr/bin/systemctl", "enable", "--now", "systemd-resolved.service"] }
@@ -2585,7 +2587,6 @@ function planProvision(options) {
2585
2587
  step("vault socket access group", { kind: "commands", commands: [{ argv: ["/usr/sbin/groupadd", "--system", VAULT_GROUP], acceptedExitCodes: [0, 9] }] }),
2586
2588
  step("Agent update helper access group", { kind: "commands", commands: [{ argv: ["/usr/sbin/groupadd", "--system", AGENT_UPDATE_GROUP], acceptedExitCodes: [0, 9] }] }),
2587
2589
  ...sourceBinPath && binPath ? [step("root-owned agent runtime", { kind: "install-runtime", source: sourceBinPath, binary: binPath, version: VERSION })] : [],
2588
- ...warpEnabled ? [step("Cloudflare One client for Ubuntu 26.04", { kind: "install-warp" })] : [],
2589
2590
  step("software strategy helper group", { kind: "commands", commands: [
2590
2591
  { argv: ["/usr/sbin/groupadd", "--system", SOFTWARE_HELPER_GROUP], acceptedExitCodes: [0, 9] }
2591
2592
  ] }),
package/dist/fz-agent.js CHANGED
@@ -9684,7 +9684,7 @@ async function writeAndCloseProcessInput(input, value) {
9684
9684
  }
9685
9685
 
9686
9686
  // src/version.ts
9687
- var VERSION2 = "0.1.139";
9687
+ var VERSION2 = "0.1.141";
9688
9688
 
9689
9689
  // src/ssh-bootstrap.ts
9690
9690
  function deriveMetalAdmissionProvisioning(lscpu) {
@@ -16548,7 +16548,9 @@ function planProvision(options) {
16548
16548
  socketPath: options.socketPath,
16549
16549
  user,
16550
16550
  steps: [
16551
+ ...warpEnabled ? [step2("Cloudflare One client for Ubuntu 26.04", { kind: "install-warp" })] : [],
16551
16552
  ...options.enforceEgress ? [step2("Ubuntu Agent egress prerequisites", { kind: "commands", commands: [
16553
+ ...warpEnabled ? [{ argv: ["/usr/bin/chmod", "0644", "/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg"] }] : [],
16552
16554
  { argv: ["/usr/bin/apt-get", "update", "-qq"] },
16553
16555
  { argv: ["/usr/bin/apt-get", "install", "-y", "nftables"] },
16554
16556
  { argv: ["/usr/bin/systemctl", "enable", "--now", "systemd-resolved.service"] }
@@ -16556,7 +16558,6 @@ function planProvision(options) {
16556
16558
  step2("vault socket access group", { kind: "commands", commands: [{ argv: ["/usr/sbin/groupadd", "--system", VAULT_GROUP], acceptedExitCodes: [0, 9] }] }),
16557
16559
  step2("Agent update helper access group", { kind: "commands", commands: [{ argv: ["/usr/sbin/groupadd", "--system", AGENT_UPDATE_GROUP], acceptedExitCodes: [0, 9] }] }),
16558
16560
  ...sourceBinPath && binPath ? [step2("root-owned agent runtime", { kind: "install-runtime", source: sourceBinPath, binary: binPath, version: VERSION2 })] : [],
16559
- ...warpEnabled ? [step2("Cloudflare One client for Ubuntu 26.04", { kind: "install-warp" })] : [],
16560
16561
  step2("software strategy helper group", { kind: "commands", commands: [
16561
16562
  { argv: ["/usr/sbin/groupadd", "--system", SOFTWARE_HELPER_GROUP], acceptedExitCodes: [0, 9] }
16562
16563
  ] }),
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.139";
6010
+ var VERSION2 = "0.1.141";
6011
6011
 
6012
6012
  // src/software.ts
6013
6013
  var PINNED_BUN_VERSION = "1.3.14";
@@ -7461,7 +7461,9 @@ function planProvision(options) {
7461
7461
  socketPath: options.socketPath,
7462
7462
  user,
7463
7463
  steps: [
7464
+ ...warpEnabled ? [step("Cloudflare One client for Ubuntu 26.04", { kind: "install-warp" })] : [],
7464
7465
  ...options.enforceEgress ? [step("Ubuntu Agent egress prerequisites", { kind: "commands", commands: [
7466
+ ...warpEnabled ? [{ argv: ["/usr/bin/chmod", "0644", "/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg"] }] : [],
7465
7467
  { argv: ["/usr/bin/apt-get", "update", "-qq"] },
7466
7468
  { argv: ["/usr/bin/apt-get", "install", "-y", "nftables"] },
7467
7469
  { argv: ["/usr/bin/systemctl", "enable", "--now", "systemd-resolved.service"] }
@@ -7469,7 +7471,6 @@ function planProvision(options) {
7469
7471
  step("vault socket access group", { kind: "commands", commands: [{ argv: ["/usr/sbin/groupadd", "--system", VAULT_GROUP], acceptedExitCodes: [0, 9] }] }),
7470
7472
  step("Agent update helper access group", { kind: "commands", commands: [{ argv: ["/usr/sbin/groupadd", "--system", AGENT_UPDATE_GROUP], acceptedExitCodes: [0, 9] }] }),
7471
7473
  ...sourceBinPath && binPath ? [step("root-owned agent runtime", { kind: "install-runtime", source: sourceBinPath, binary: binPath, version: VERSION2 })] : [],
7472
- ...warpEnabled ? [step("Cloudflare One client for Ubuntu 26.04", { kind: "install-warp" })] : [],
7473
7474
  step("software strategy helper group", { kind: "commands", commands: [
7474
7475
  { argv: ["/usr/sbin/groupadd", "--system", SOFTWARE_HELPER_GROUP], acceptedExitCodes: [0, 9] }
7475
7476
  ] }),
@@ -366,7 +366,7 @@ function systemdAgentEgressDirectives(loopbackTcpPorts = []) {
366
366
  }
367
367
 
368
368
  // src/version.ts
369
- var VERSION = "0.1.139";
369
+ var VERSION = "0.1.141";
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.139";
1463
+ var VERSION = "0.1.141";
1464
1464
 
1465
1465
  // src/software.ts
1466
1466
  var PINNED_BUN_VERSION = "1.3.14";
@@ -2577,7 +2577,9 @@ function planProvision(options) {
2577
2577
  socketPath: options.socketPath,
2578
2578
  user,
2579
2579
  steps: [
2580
+ ...warpEnabled ? [step("Cloudflare One client for Ubuntu 26.04", { kind: "install-warp" })] : [],
2580
2581
  ...options.enforceEgress ? [step("Ubuntu Agent egress prerequisites", { kind: "commands", commands: [
2582
+ ...warpEnabled ? [{ argv: ["/usr/bin/chmod", "0644", "/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg"] }] : [],
2581
2583
  { argv: ["/usr/bin/apt-get", "update", "-qq"] },
2582
2584
  { argv: ["/usr/bin/apt-get", "install", "-y", "nftables"] },
2583
2585
  { argv: ["/usr/bin/systemctl", "enable", "--now", "systemd-resolved.service"] }
@@ -2585,7 +2587,6 @@ function planProvision(options) {
2585
2587
  step("vault socket access group", { kind: "commands", commands: [{ argv: ["/usr/sbin/groupadd", "--system", VAULT_GROUP], acceptedExitCodes: [0, 9] }] }),
2586
2588
  step("Agent update helper access group", { kind: "commands", commands: [{ argv: ["/usr/sbin/groupadd", "--system", AGENT_UPDATE_GROUP], acceptedExitCodes: [0, 9] }] }),
2587
2589
  ...sourceBinPath && binPath ? [step("root-owned agent runtime", { kind: "install-runtime", source: sourceBinPath, binary: binPath, version: VERSION })] : [],
2588
- ...warpEnabled ? [step("Cloudflare One client for Ubuntu 26.04", { kind: "install-warp" })] : [],
2589
2590
  step("software strategy helper group", { kind: "commands", commands: [
2590
2591
  { argv: ["/usr/sbin/groupadd", "--system", SOFTWARE_HELPER_GROUP], acceptedExitCodes: [0, 9] }
2591
2592
  ] }),
@@ -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.139";
3053
+ var VERSION3 = "0.1.141";
3054
3054
 
3055
3055
  // src/egress-policy.ts
3056
3056
  import { realpathSync as realpathSync3 } from "node:fs";
@@ -3987,7 +3987,9 @@ function planProvision(options) {
3987
3987
  socketPath: options.socketPath,
3988
3988
  user,
3989
3989
  steps: [
3990
+ ...warpEnabled ? [step("Cloudflare One client for Ubuntu 26.04", { kind: "install-warp" })] : [],
3990
3991
  ...options.enforceEgress ? [step("Ubuntu Agent egress prerequisites", { kind: "commands", commands: [
3992
+ ...warpEnabled ? [{ argv: ["/usr/bin/chmod", "0644", "/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg"] }] : [],
3991
3993
  { argv: ["/usr/bin/apt-get", "update", "-qq"] },
3992
3994
  { argv: ["/usr/bin/apt-get", "install", "-y", "nftables"] },
3993
3995
  { argv: ["/usr/bin/systemctl", "enable", "--now", "systemd-resolved.service"] }
@@ -3995,7 +3997,6 @@ function planProvision(options) {
3995
3997
  step("vault socket access group", { kind: "commands", commands: [{ argv: ["/usr/sbin/groupadd", "--system", VAULT_GROUP], acceptedExitCodes: [0, 9] }] }),
3996
3998
  step("Agent update helper access group", { kind: "commands", commands: [{ argv: ["/usr/sbin/groupadd", "--system", AGENT_UPDATE_GROUP], acceptedExitCodes: [0, 9] }] }),
3997
3999
  ...sourceBinPath && binPath ? [step("root-owned agent runtime", { kind: "install-runtime", source: sourceBinPath, binary: binPath, version: VERSION3 })] : [],
3998
- ...warpEnabled ? [step("Cloudflare One client for Ubuntu 26.04", { kind: "install-warp" })] : [],
3999
4000
  step("software strategy helper group", { kind: "commands", commands: [
4000
4001
  { argv: ["/usr/sbin/groupadd", "--system", SOFTWARE_HELPER_GROUP], acceptedExitCodes: [0, 9] }
4001
4002
  ] }),
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.139";
3053
+ var VERSION3 = "0.1.141";
3054
3054
 
3055
3055
  // src/egress-policy.ts
3056
3056
  import { realpathSync as realpathSync3 } from "node:fs";
@@ -3987,7 +3987,9 @@ function planProvision(options) {
3987
3987
  socketPath: options.socketPath,
3988
3988
  user,
3989
3989
  steps: [
3990
+ ...warpEnabled ? [step("Cloudflare One client for Ubuntu 26.04", { kind: "install-warp" })] : [],
3990
3991
  ...options.enforceEgress ? [step("Ubuntu Agent egress prerequisites", { kind: "commands", commands: [
3992
+ ...warpEnabled ? [{ argv: ["/usr/bin/chmod", "0644", "/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg"] }] : [],
3991
3993
  { argv: ["/usr/bin/apt-get", "update", "-qq"] },
3992
3994
  { argv: ["/usr/bin/apt-get", "install", "-y", "nftables"] },
3993
3995
  { argv: ["/usr/bin/systemctl", "enable", "--now", "systemd-resolved.service"] }
@@ -3995,7 +3997,6 @@ function planProvision(options) {
3995
3997
  step("vault socket access group", { kind: "commands", commands: [{ argv: ["/usr/sbin/groupadd", "--system", VAULT_GROUP], acceptedExitCodes: [0, 9] }] }),
3996
3998
  step("Agent update helper access group", { kind: "commands", commands: [{ argv: ["/usr/sbin/groupadd", "--system", AGENT_UPDATE_GROUP], acceptedExitCodes: [0, 9] }] }),
3997
3999
  ...sourceBinPath && binPath ? [step("root-owned agent runtime", { kind: "install-runtime", source: sourceBinPath, binary: binPath, version: VERSION3 })] : [],
3998
- ...warpEnabled ? [step("Cloudflare One client for Ubuntu 26.04", { kind: "install-warp" })] : [],
3999
4000
  step("software strategy helper group", { kind: "commands", commands: [
4000
4001
  { argv: ["/usr/sbin/groupadd", "--system", SOFTWARE_HELPER_GROUP], acceptedExitCodes: [0, 9] }
4001
4002
  ] }),
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.139";
2
+ export declare const VERSION = "0.1.141";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgezero/agent",
3
- "version": "0.1.139",
3
+ "version": "0.1.141",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "check": "tsc --noEmit",