@slayzone/computer 0.36.3 → 0.37.0
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 +28 -2
- package/dist/bin.cjs +61135 -30410
- package/dist/bin.cjs.map +4 -4
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -8,8 +8,34 @@ on this machine.
|
|
|
8
8
|
|
|
9
9
|
The join token embeds the hub URL, so nothing else is required.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
Standalone computers automatically follow each connected hub's exact npm release,
|
|
12
|
+
even when a protocol mismatch prevents the normal connection. Downloads and native
|
|
13
|
+
runtime checks run in a private staging directory. A replaceable connector attaches
|
|
14
|
+
to the persistent session host, preserving running terminals/jobs, enrollment,
|
|
15
|
+
allowed roots, output buffers, and session hook/CLI addresses. Different hubs may
|
|
16
|
+
run different releases when their local host contracts are compatible.
|
|
17
|
+
|
|
18
|
+
Candidates complete a 60-second connection probation before becoming current.
|
|
19
|
+
Failures roll back, retry with exponential backoff and jitter, and quarantine
|
|
20
|
+
repeatedly failing releases for 15 minutes. Supervisor updates preserve the host;
|
|
21
|
+
host updates wait until all work finishes. Incompatible host contracts report
|
|
22
|
+
maintenance required and wait for the same safe maintenance window.
|
|
23
|
+
Node and npm must be available, and the computer ROOT must be writable.
|
|
24
|
+
|
|
25
|
+
To disable automatic release changes, set `"autoUpgrade": false` in
|
|
26
|
+
`<ROOT>/computer.config.json`, or `SLAYZONE_COMPUTER_AUTO_UPGRADE=0`, then restart.
|
|
27
|
+
Desktop-managed computers use the app updater. Hub computer details show progress,
|
|
28
|
+
errors and next retry; local status lives under
|
|
29
|
+
`<ROOT>/computer-runtime/hubs/<hub-host>/upgrade-status.json`.
|
|
30
|
+
|
|
31
|
+
Existing monolithic releases need one planned migration restart after active work
|
|
32
|
+
finishes. Later connector/supervisor upgrades need no VM access. The hub must
|
|
33
|
+
advertise its published release on `/health`. Explicit service stop/restart still
|
|
34
|
+
ends running work. Production migration and cloud validation are separate rollout
|
|
35
|
+
steps.
|
|
36
|
+
|
|
37
|
+
This runs the launcher in the FOREGROUND. It recovers child crashes, but does not
|
|
38
|
+
start again after logout or reboot. To install it as a supervised service instead, use the CLI:
|
|
13
39
|
|
|
14
40
|
npm install -g @slayzone/cli
|
|
15
41
|
slay computer create <name> --token <token from the hub>
|