@slayzone/cli 0.36.0-beta.17 → 0.36.0-beta.18

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.
Files changed (3) hide show
  1. package/README.md +13 -14
  2. package/dist/slay.js +941 -723
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -18,27 +18,26 @@ systemd --user on Linux), so it restarts if it crashes and starts again when you
18
18
  log in. Names are unique per machine — `create` fails if one already exists. To
19
19
  run a hub in the foreground instead, use `npx @slayzone/hub`.
20
20
 
21
- ## Runners on this machine
21
+ ## Computers on this machine
22
22
 
23
- A runner is an execution node: it dials out to a hub and runs terminals, agents
23
+ A computer is an execution node: it dials out to a hub and runs terminals, agents
24
24
  and git there. Mint a join token on the hub, then:
25
25
 
26
- slay runner create <name> --token <szjt1…> # install it here and keep it running
27
- slay runner ls # every runner installed on this machine
28
- slay runner logs <name>
29
- slay runner stop <name> # stop it, keep it registered
30
- slay runner start <name> # bring a stopped runner back
31
- slay runner rm <name> # stop it and remove its registration
26
+ slay computer create <name> --token <szjt1…> # install it here and keep it running
27
+ slay computer ls # every computer installed on this machine
28
+ slay computer logs <name>
29
+ slay computer stop <name> # stop it, keep it registered
30
+ slay computer start <name> # bring a stopped computer back
31
+ slay computer rm <name> # stop it and remove its registration
32
32
 
33
- The token embeds the hub URL and its cert fingerprint, so `--token` is the only
34
- configuration needed. It is stored in `<root>/config.json` (owner-only) — never in
35
- the service unit. `--root <dir>` picks where the runner's config, credentials and
33
+ The token embeds the hub URL, so `--token` is the only configuration needed. It is stored in `<root>/config.json` (owner-only) — never in
34
+ the service unit. `--root <dir>` picks where the computer's config, credentials and
36
35
  logs live (default: the current directory), and `--allow <dir>` (repeatable) sets
37
- the filesystem roots it may touch. One runner per root.
36
+ the filesystem roots it may touch. One computer per root.
38
37
 
39
- `create` waits until the runner has actually reached its hub, and unregisters
38
+ `create` waits until the computer has actually reached its hub, and unregisters
40
39
  itself again if it cannot — so a bad token fails loudly instead of leaving a
41
- service that retries forever. `rm` leaves the runner's data on disk and does NOT
40
+ service that retries forever. `rm` leaves the computer's data on disk and does NOT
42
41
  revoke it on the hub; revoke it there if the machine is going away.
43
42
 
44
43
  ## Targeting a hub