warpmetal 0.2.0 → 0.2.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.
package/package.json
CHANGED
|
@@ -110,7 +110,11 @@ warpmetal server power \
|
|
|
110
110
|
|
|
111
111
|
Do not fall back to raw API calls for reload, deletion, networking, renewal,
|
|
112
112
|
or another unsupported mutation. Explain that the installed CLI version does
|
|
113
|
-
not yet expose that guarded operation.
|
|
113
|
+
not yet expose that guarded operation. The public reload contract requires
|
|
114
|
+
both `confirm: "ERASE"` and `powerOffFirst: true`; the latter authorizes the
|
|
115
|
+
same lifecycle operation to shut down the server and wait for provider power
|
|
116
|
+
off before erasing it. This contract knowledge is not permission to bypass the
|
|
117
|
+
CLI restriction.
|
|
114
118
|
|
|
115
119
|
## Use Agent Runtime
|
|
116
120
|
|
|
@@ -75,6 +75,11 @@ warpmetal operation get \
|
|
|
75
75
|
--json
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
+
This CLI version does not expose reload. The public reload API requires both
|
|
79
|
+
`confirm: "ERASE"` and `powerOffFirst: true`, with shutdown, powered-off
|
|
80
|
+
verification, and reload handled by one lifecycle operation. Do not call that
|
|
81
|
+
endpoint with raw HTTP; wait for a guarded CLI command.
|
|
82
|
+
|
|
78
83
|
Use `--token-file` only for recovery when local state is unavailable. Prefer
|
|
79
84
|
`WARPMETAL_OWNER_TOKEN` or `WARPMETAL_ACCESS_TOKEN` for a single command over a
|
|
80
85
|
shell argument, because command-line arguments can be recorded in history and
|
|
@@ -47,6 +47,12 @@ Obtain explicit user approval immediately before:
|
|
|
47
47
|
- revoking a sandbox access grant; and
|
|
48
48
|
- any destructive reload, sandbox deletion, or replacement-key operation.
|
|
49
49
|
|
|
50
|
+
A reload requires both `confirm: "ERASE"` and `powerOffFirst: true`. Treat
|
|
51
|
+
`powerOffFirst` as explicit authorization for WarpMetal to shut down the
|
|
52
|
+
server, wait until it is powered off, and then erase and reinstall it inside
|
|
53
|
+
one lifecycle operation. Do not reconstruct this flow with raw HTTP while the
|
|
54
|
+
installed CLI lacks a guarded reload command.
|
|
55
|
+
|
|
50
56
|
An order preparation is unpaid but consumes a limited prepared-order slot.
|
|
51
57
|
Confirm the plan, hostname, OS, and public key before preparing it.
|
|
52
58
|
|
package/src/installer.js
CHANGED