@forgezero/agent 0.1.15 → 0.1.16
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/fz-agent.js +3 -3
- package/dist/fz.js +1 -1
- package/dist/metal-helper-socket.js +2 -2
- package/dist/metal-provision.js +2 -2
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/fz-agent.js
CHANGED
|
@@ -1765,12 +1765,12 @@ chmod 0400 /var/lib/forgezero/enrol-token.cred
|
|
|
1765
1765
|
curl -fsSL https://bun.sh/install -o /run/fz-bun-install
|
|
1766
1766
|
printf '%s %s
|
|
1767
1767
|
' '${profile.bunInstallerSha256}' /run/fz-bun-install | sha256sum -c -
|
|
1768
|
-
BUN_INSTALL=${agentBun} BUN_VERSION=${profile.bunVersion} bash /run/fz-bun-install
|
|
1768
|
+
HOME=/root BUN_INSTALL=${agentBun} BUN_VERSION=${profile.bunVersion} bash /run/fz-bun-install
|
|
1769
1769
|
install -m 0755 ${agentBun}/bin/bun /usr/local/bin/bun
|
|
1770
1770
|
rm -f /run/fz-bun-install
|
|
1771
1771
|
fi
|
|
1772
1772
|
if [[ ! -x /usr/local/bin/fz-agent ]]; then
|
|
1773
|
-
env BUN_INSTALL=${agentBun} /usr/local/bin/bun add -g @forgezero/agent@${profile.agentVersion}
|
|
1773
|
+
env BUN_INSTALL=${agentBun} /usr/local/bin/bun add -g --no-cache --force @forgezero/agent@${profile.agentVersion}
|
|
1774
1774
|
ln -sfn ${agentBun}/bin/fz-agent /usr/local/bin/fz-agent
|
|
1775
1775
|
fi
|
|
1776
1776
|
if [[ ! -s /etc/forgezero/creds/agent-seed.cred ]]; then
|
|
@@ -2713,7 +2713,7 @@ async function applyMetalIsolation(profile, exec = defaultExec) {
|
|
|
2713
2713
|
}
|
|
2714
2714
|
|
|
2715
2715
|
// src/version.ts
|
|
2716
|
-
var VERSION = "0.1.
|
|
2716
|
+
var VERSION = "0.1.16";
|
|
2717
2717
|
|
|
2718
2718
|
// src/index.ts
|
|
2719
2719
|
function loadOrCreateSeed(path) {
|
package/dist/fz.js
CHANGED
|
@@ -761,12 +761,12 @@ chmod 0400 /var/lib/forgezero/enrol-token.cred
|
|
|
761
761
|
curl -fsSL https://bun.sh/install -o /run/fz-bun-install
|
|
762
762
|
printf '%s %s
|
|
763
763
|
' '${profile.bunInstallerSha256}' /run/fz-bun-install | sha256sum -c -
|
|
764
|
-
BUN_INSTALL=${agentBun} BUN_VERSION=${profile.bunVersion} bash /run/fz-bun-install
|
|
764
|
+
HOME=/root BUN_INSTALL=${agentBun} BUN_VERSION=${profile.bunVersion} bash /run/fz-bun-install
|
|
765
765
|
install -m 0755 ${agentBun}/bin/bun /usr/local/bin/bun
|
|
766
766
|
rm -f /run/fz-bun-install
|
|
767
767
|
fi
|
|
768
768
|
if [[ ! -x /usr/local/bin/fz-agent ]]; then
|
|
769
|
-
env BUN_INSTALL=${agentBun} /usr/local/bin/bun add -g @forgezero/agent@${profile.agentVersion}
|
|
769
|
+
env BUN_INSTALL=${agentBun} /usr/local/bin/bun add -g --no-cache --force @forgezero/agent@${profile.agentVersion}
|
|
770
770
|
ln -sfn ${agentBun}/bin/fz-agent /usr/local/bin/fz-agent
|
|
771
771
|
fi
|
|
772
772
|
if [[ ! -s /etc/forgezero/creds/agent-seed.cred ]]; then
|
package/dist/metal-provision.js
CHANGED
|
@@ -761,12 +761,12 @@ chmod 0400 /var/lib/forgezero/enrol-token.cred
|
|
|
761
761
|
curl -fsSL https://bun.sh/install -o /run/fz-bun-install
|
|
762
762
|
printf '%s %s
|
|
763
763
|
' '${profile.bunInstallerSha256}' /run/fz-bun-install | sha256sum -c -
|
|
764
|
-
BUN_INSTALL=${agentBun} BUN_VERSION=${profile.bunVersion} bash /run/fz-bun-install
|
|
764
|
+
HOME=/root BUN_INSTALL=${agentBun} BUN_VERSION=${profile.bunVersion} bash /run/fz-bun-install
|
|
765
765
|
install -m 0755 ${agentBun}/bin/bun /usr/local/bin/bun
|
|
766
766
|
rm -f /run/fz-bun-install
|
|
767
767
|
fi
|
|
768
768
|
if [[ ! -x /usr/local/bin/fz-agent ]]; then
|
|
769
|
-
env BUN_INSTALL=${agentBun} /usr/local/bin/bun add -g @forgezero/agent@${profile.agentVersion}
|
|
769
|
+
env BUN_INSTALL=${agentBun} /usr/local/bin/bun add -g --no-cache --force @forgezero/agent@${profile.agentVersion}
|
|
770
770
|
ln -sfn ${agentBun}/bin/fz-agent /usr/local/bin/fz-agent
|
|
771
771
|
fi
|
|
772
772
|
if [[ ! -s /etc/forgezero/creds/agent-seed.cred ]]; then
|
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.16";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"//": "Publishing happens from an operator's machine, not CI \u2014 CLAUDE.md records that the absence of CI is deliberate. npm's `provenance` attests a tarball was built by a recognised CI provider from a named commit, so it cannot be produced here: it was set, and the first publish failed with `Automatic provenance generation not supported for provider: null`. A setting that can never be satisfied is worse than none, because it reads as a guarantee nobody is getting. Restore it the day this publishes from CI, and not before.",
|
|
3
3
|
"name": "@forgezero/agent",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.16",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"check": "tsc --noEmit",
|