@tonbo/yield 0.3.10 → 0.3.11
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 +2 -2
- package/dist/bin/yield.js +855 -603
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,13 +21,13 @@ Merging a change to the `version` in `package.json` to `main` releases it: [`ton
|
|
|
21
21
|
## Sign in
|
|
22
22
|
|
|
23
23
|
```console
|
|
24
|
-
yield login [--account <name>] [--name <name>] [--no-daemon]
|
|
24
|
+
yield login [--account <name>] [--name <name>] [--no-daemon] [--device]
|
|
25
25
|
yield status [--json]
|
|
26
26
|
yield whoami [--json]
|
|
27
27
|
yield logout
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
A login to your personal account also registers this computer and installs and starts the capture service, as `yield daemon install` does (`--no-daemon` only signs in); when the service manager refuses, it says why and the login stands. `status` is the one health view: the login and whom it is for, whether `api.tonbo.dev` answers, whether the capture service runs and, on Linux, survives logout, each agent's transcripts, version and last captured activity (and sessions changed in the last day that are not captured yet), snapshots waiting to be pushed, errors of the last 15 minutes, and this version against npm's latest. Each line that is not fine names the command that fixes it, and the command exits 1 when a line fails. `--json` prints `ok`, the `checks` (`name`, `level` of `ok`, `warn`, `fail` or `none`, `detail`, `fix`) and the facts behind them.
|
|
30
|
+
A login to your personal account also registers this computer and installs and starts the capture service, as `yield daemon install` does (`--no-daemon` only signs in); when the service manager refuses, it says why and the login stands. Over SSH without a forwarded display, with `--device`, or when no browser can be opened, the login prints a short code and `https://tonbo.dev/cli/device` instead: enter the code in any browser where you are signed in, check the computer name it shows and approve, and the CLI receives its key (see the [`tonbo` README](../tonbo#sign-in)). `status` is the one health view: the login and whom it is for, whether `api.tonbo.dev` answers, whether the capture service runs and, on Linux, survives logout, each agent's transcripts, version and last captured activity (and sessions changed in the last day that are not captured yet), snapshots waiting to be pushed, errors of the last 15 minutes, and this version against npm's latest. Each line that is not fine names the command that fixes it, and the command exits 1 when a line fails. `--json` prints `ok`, the `checks` (`name`, `level` of `ok`, `warn`, `fail` or `none`, `detail`, `fix`) and the facts behind them.
|
|
31
31
|
|
|
32
32
|
Errors say what happened and what to run, without a stack trace: an unreachable network, a refused login (`yield login`), a server error (with its request id) and a service manager that refuses (after `su`, in a container without systemd, or over SSH to a Mac without a desktop login) each get their own words. `YIELD_DEBUG=1` prints the stack too.
|
|
33
33
|
|