kylon-cli 0.3.9-next.692 → 0.3.9-next.693
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 +24 -14
- package/dist/kylon-bundle.manifest.json +3 -3
- package/dist/kylon-bundle.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -121,24 +121,34 @@ The setting controls future automatic requests only. Turning it off does not
|
|
|
121
121
|
cancel an upgrade whose drain has already started, and manual upgrades remain
|
|
122
122
|
available.
|
|
123
123
|
|
|
124
|
-
To
|
|
124
|
+
To update manually, rerun the hosted install script — the same command that
|
|
125
|
+
installed Kylon:
|
|
125
126
|
|
|
126
127
|
```bash
|
|
127
|
-
kylon
|
|
128
|
+
curl -fsSL https://api.kylon.io/install.sh | sh
|
|
128
129
|
```
|
|
129
130
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
131
|
+
(`https://api.purework.ai/install.sh` on dev; Windows:
|
|
132
|
+
`powershell -c "irm https://api.kylon.io/install.ps1 | iex"`.) On a machine
|
|
133
|
+
that already has Kylon the script never overwrites the managed bundle. It
|
|
134
|
+
repairs the environment around it — a vanished Node.js gets the private
|
|
135
|
+
runtime, the launcher and PATH snippet are rewritten, the serving deployment
|
|
136
|
+
is re-recorded — and then asks the installed CLI to update itself with
|
|
137
|
+
`kylon upgrade`. This is the command the CLI's update notice, `kylon gateway
|
|
138
|
+
status`, the unknown-command hint, and the workspace's update surfaces all
|
|
139
|
+
print; each spells it for the deployment the machine was set up against.
|
|
140
|
+
|
|
141
|
+
`kylon upgrade` is the engine underneath the script, and can be run on its
|
|
142
|
+
own when the environment is known to be healthy. It resolves the newest build
|
|
143
|
+
on the channel this installation tracks (`latest` in production, `next` on
|
|
144
|
+
dev), compares it with the **installed** bundle's recorded version, and picks
|
|
145
|
+
the owner for the host's layout: on a gateway host the drained service
|
|
146
|
+
upgrade described below, on a credential-only host the daemon-guarded
|
|
147
|
+
self-pin, and on a host with only an npm global the `npm install -g` hint
|
|
148
|
+
(that copy stays the operator's own). When it is already the resolved target
|
|
149
|
+
— `npx --yes kylon-cli@latest upgrade` runs the newest copy — it installs
|
|
150
|
+
in-process rather than downloading itself a second time. `--force` skips the
|
|
151
|
+
drain (see the interrupts below).
|
|
142
152
|
|
|
143
153
|
The mechanism underneath is `gateway service upgrade`:
|
|
144
154
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.3.9-next.
|
|
3
|
-
"fingerprint": "
|
|
4
|
-
"source_commit": "
|
|
2
|
+
"version": "0.3.9-next.693",
|
|
3
|
+
"fingerprint": "5d830df462ec6aaad8d9837a4ec261625e16d97e6aabd91818976e2d676226e5",
|
|
4
|
+
"source_commit": "b43cb4927454910de308c4f820b0d12c0335091d"
|
|
5
5
|
}
|