@supacloud/admin 0.7.0 → 0.7.2

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.
Files changed (3) hide show
  1. package/README.md +31 -0
  2. package/dist/index.js +1085 -496
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -32,6 +32,37 @@ npx @supacloud/admin project create --name my-app
32
32
  npx @supacloud/admin project list
33
33
  ```
34
34
 
35
+ ## Verified platform upgrades
36
+
37
+ Use one explicit Admin command to upgrade Management, Web Console, and an
38
+ external Edge Runtime as a single rollback-capable transaction:
39
+
40
+ ```bash
41
+ npx @supacloud/admin ssh upgrade \
42
+ --version 0.50.27 \
43
+ --edge_runtime_version 0.16.7 \
44
+ --github_proxy direct
45
+ ```
46
+
47
+ The command supports direct root SSH and passwordless `sudo -n`. It installs
48
+ the pinned GitHub provenance verifier when needed, verifies each component
49
+ against its own release checksum and attestation, and preserves the Edge
50
+ Runtime systemd `ExecStart`, port, mode, and enabled state. Component upgrades
51
+ require persisted `EDGE_RUNTIME_MODE=external`; embedded mode is rejected
52
+ before release artifacts or services are changed.
53
+
54
+ Omitting `--edge_runtime_version` retains the Management and Web Console-only
55
+ upgrade behavior and reports that Edge Runtime was not upgraded. Caddy and
56
+ GoTrue are outside this transaction and are not replaced. After a capable
57
+ Management release is active, an exact rollback can use that active upgrader
58
+ with explicit older targets, for example:
59
+
60
+ ```bash
61
+ npx @supacloud/admin ssh upgrade \
62
+ --version 0.50.26 \
63
+ --edge_runtime_version 0.16.6
64
+ ```
65
+
35
66
  Project commands owned by this CLI:
36
67
 
37
68
  - `project list`