skydive-cli 0.2.0-beta.615 → 0.2.0-beta.624

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 CHANGED
@@ -6,6 +6,53 @@ The Skydive CLI — manage agents and chat with them from the terminal.
6
6
  npx skydive-cli --help
7
7
  ```
8
8
 
9
+ ## Installing
10
+
11
+ Two ways to install, depending on whether you have a Node toolchain:
12
+
13
+ **npm (needs Node ≥ 20):**
14
+
15
+ ```sh
16
+ npm install -g skydive-cli # then: skydive --help
17
+ # or run without installing:
18
+ npx skydive-cli --help
19
+ ```
20
+
21
+ **Standalone binary (no Node required):**
22
+
23
+ ```sh
24
+ curl -fsSL https://skydive.com/api/v1/cli/install.sh | sh
25
+ ```
26
+
27
+ Installs a self-contained `skydive` to `~/.local/bin`. The installer detects
28
+ your OS/arch, downloads the matching binary from the release CDN, verifies its
29
+ sha256, and installs it. Options via env vars: `SKYDIVE_CHANNEL=canary` for the
30
+ canary line, `SKYDIVE_VERSION=X.Y.Z` to pin a version, `SKYDIVE_INSTALL_DIR` to
31
+ choose the directory.
32
+
33
+ ## Updating
34
+
35
+ ```sh
36
+ skydive update # update to the latest release
37
+ skydive update --check # just report whether an update is available
38
+ ```
39
+
40
+ A **binary** install self-updates in place (download → verify sha256 → atomic
41
+ replace). An **npm/yarn/pnpm/bun** install is owned by your package manager, so
42
+ `skydive update` offers to run the right upgrade command for it and relaunches
43
+ the CLI on the new version.
44
+
45
+ The CLI also checks for updates in the background (at most once a day, never
46
+ blocking a command) and prints a one-line notice when a newer version exists.
47
+ Control this in `config.json` or via env vars:
48
+
49
+ - `autoupdate`: `"patch"` (default — silently self-apply a stable **patch**
50
+ release of a binary install; notify for minor/major, canary, and
51
+ package-manager installs), `"notify"` (only ever print the notice), or
52
+ `false` (no auto-update and no notice). Env override: `SKYDIVE_AUTOUPDATE`.
53
+ - `updateCheck: false` (or `SKYDIVE_NO_UPDATE_CHECK` / `NO_UPDATE_NOTIFIER`)
54
+ turns the background check off entirely.
55
+
9
56
  ## Authentication
10
57
 
11
58
  Sign in once via the browser — the same shape as `doppler login`: the CLI