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 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 upgrade manually, run the one upgrade command:
124
+ To update manually, rerun the hosted install script — the same command that
125
+ installed Kylon:
125
126
 
126
127
  ```bash
127
- kylon upgrade
128
+ curl -fsSL https://api.kylon.io/install.sh | sh
128
129
  ```
129
130
 
130
- It resolves the newest build on the channel this installation tracks
131
- (`latest` in production, `next` on dev), compares it with the **installed**
132
- bundle's recorded version, and picks the owner for the host's layout: on a
133
- gateway host the drained service upgrade described below, on a
134
- credential-only host the daemon-guarded self-pin, and on a host with only an
135
- npm global the `npm install -g` hint (that copy stays the operator's own).
136
- When the installed `kylon` is too old to know the command, or is not on PATH,
137
- spell the same thing through npx `npx --yes kylon-cli@latest upgrade`
138
- (`@next` on dev) and the freshly-resolved copy performs the install itself
139
- rather than downloading itself a second time. `--force` skips the drain (see
140
- the interrupts below). This is the command the CLI's update notice, `kylon
141
- gateway status`, and the unknown-command hint all print for managed installs.
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.692",
3
- "fingerprint": "ab9aed0ffb274ad4ccdb746f49733e30f05a47d83816eb5cb3246faaa52015e9",
4
- "source_commit": "7d476691a0f861241a2e9aede641e8cf23016c0a"
2
+ "version": "0.3.9-next.693",
3
+ "fingerprint": "5d830df462ec6aaad8d9837a4ec261625e16d97e6aabd91818976e2d676226e5",
4
+ "source_commit": "b43cb4927454910de308c4f820b0d12c0335091d"
5
5
  }