kylon-cli 0.2.2-next.260 → 0.2.2-next.263
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 +19 -3
- package/dist/kylon-bundle.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,6 +34,21 @@ The dist-tag tracks the environment: production uses `@latest`, dev uses
|
|
|
34
34
|
Requirements: Node.js 22.15.0+ (npm ships with Node). Linux / macOS only
|
|
35
35
|
(Windows operators should use WSL).
|
|
36
36
|
|
|
37
|
+
### Upgrading a gateway host
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npx --yes kylon-cli@latest gateway service upgrade
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
(`@next` on dev.) The daemon and the pinned agent `kylon` both run the
|
|
44
|
+
installed bundle under `~/.kylon/bin`, which only this command (or a
|
|
45
|
+
re-connect) refreshes: the freshly-resolved CLI installs its own bundle and
|
|
46
|
+
drain-restarts the running daemon onto it, moving both in lockstep.
|
|
47
|
+
`npm install -g` alone updates the operator's terminal binary and leaves the
|
|
48
|
+
gateway on the old build. The update notice the CLI prints on gateway hosts
|
|
49
|
+
uses exactly this command; `kylon gateway service repair` is the same
|
|
50
|
+
reconciliation under its recovery-oriented name.
|
|
51
|
+
|
|
37
52
|
### Local development (contributors)
|
|
38
53
|
|
|
39
54
|
```bash
|
|
@@ -524,6 +539,7 @@ npm dist-tag add kylon-cli@<last-good> latest # move the channel back
|
|
|
524
539
|
npm deprecate kylon-cli@<bad> "Broken release — use <last-good>."
|
|
525
540
|
```
|
|
526
541
|
|
|
527
|
-
Operators on `@latest` pick up the re-pointed version the next time they
|
|
528
|
-
`
|
|
529
|
-
|
|
542
|
+
Operators on `@latest` pick up the re-pointed version the next time they run
|
|
543
|
+
`npx --yes kylon-cli@latest gateway service upgrade` (the command the update
|
|
544
|
+
notice prints on gateway hosts); in-flight daemons keep their current pinned
|
|
545
|
+
bundle until that drain-restart. Do not `npm unpublish`.
|