@supacloud/admin 0.21.0 → 0.22.1

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 +15 -2
  2. package/dist/index.js +654 -2532
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -247,11 +247,24 @@ nonterminal units, malformed or missing structured receipts, redacted or
247
247
  truncated SSH output, or unknown status, without emitting raw logs, remote
248
248
  filesystem paths, secrets, bearer material, env values, or customer data.
249
249
 
250
- `--artifact_transport local` accepts only `--github_proxy direct` or `none` and
251
- clears proxy environment variables on both hosts. The server-download path
250
+ `--artifact_transport local` accepts only `--github_proxy direct` or `none`.
251
+ Local GitHub asset downloads honor `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY`
252
+ (including lowercase equivalents) as transport settings, without rewriting
253
+ official release URLs or relaxing artifact verification. Local attestation
254
+ verification and remote offline execution still clear proxy settings.
255
+ For a production server without Internet access, set the download proxy on
256
+ the local operator machine only. Each local download has a 30-minute deadline
257
+ to accommodate large runtime binaries on slow operator connections. The server-download path
252
258
  remains available as `--artifact_transport remote`; it verifies and executes
253
259
  the target Management release as the runner even for Management-only upgrades.
254
260
 
261
+ For interrupted local downloads, an operator may prefetch assets with a resumable
262
+ downloader and set `SUPACLOUD_RELEASE_ASSET_CACHE_DIR` to an absolute directory.
263
+ Files are looked up at `<cache>/<owner>/<repo>/<release-tag>/<asset-name>`.
264
+ Missing entries are downloaded normally. Cached bytes are copied to private
265
+ staging and undergo the same pinned manifest, signature, size and SHA-256 checks;
266
+ an invalid cached asset fails instead of being installed.
267
+
255
268
  With `--artifact_transport remote` (the default), omitting
256
269
  `--edge_runtime_version` retains the Management and Web Console-only upgrade
257
270
  behavior and reports that Edge Runtime was not upgraded. Local transport