@supacloud/cli 0.44.1 → 0.48.0

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 +29 -0
  2. package/dist/index.js +14346 -73770
  3. package/package.json +3 -2
package/README.md CHANGED
@@ -12,6 +12,13 @@ npm install -g @supacloud/cli
12
12
  supacloud-cli status
13
13
  ```
14
14
 
15
+ Bun users can run the same package explicitly with Bun, including on Windows,
16
+ without installing Node.js or a separate wrapper:
17
+
18
+ ```bash
19
+ bunx --bun --package @supacloud/cli supacloud-cli status
20
+ ```
21
+
15
22
  One-off execution:
16
23
 
17
24
  ```bash
@@ -59,6 +66,28 @@ SUPACLOUD_API_TOKEN=<production-management-api-token>
59
66
  SUPACLOUD_PROJECT_REF=production-ref
60
67
  ```
61
68
 
69
+ CLI requests (including `status`) default to `SUPACLOUD_TLS_VERIFY=false`, skipping HTTPS certificate verification so that
70
+ air-gapped installations using private or self-signed certificates work
71
+ without extra configuration. To enable strict certificate verification, set:
72
+
73
+ ```dotenv
74
+ SUPACLOUD_TLS_VERIFY=true
75
+ ```
76
+
77
+ This setting only affects HTTPS requests made by the CLI transport. It does not
78
+ change server-side SupaCloud, Caddy, Edge Runtime, or browser certificate
79
+ verification. Keep the default only on trusted internal networks; use a
80
+ trusted CA and `SUPACLOUD_TLS_VERIFY=true` for public or untrusted networks.
81
+ The legacy inverse setting `SUPACLOUD_TLS_INSECURE=false` is also accepted.
82
+ `SUPACLOUD_TLS_VERIFY` takes precedence if both are present. Both settings use
83
+ the selected context source, not a mix of profile and process variables.
84
+ Values accept `true/false`, `1/0`, `yes/no`, and `on/off` (case-insensitive).
85
+ Invalid or empty values stop the command before requests are sent.
86
+ Skipping verification accepts any certificate, not just a private CA, and
87
+ removes server identity authentication. HTTPS encryption and redirect refusal
88
+ remain enabled. Install your organization's CA and set verification to `true`
89
+ where identity authentication is required.
90
+
62
91
  Run commands with the selected profile:
63
92
 
64
93
  ```bash