void 0.21.1 → 0.21.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/README.md +3 -2
- package/dist/{auth-cmd-g_ymMkUe.mjs → account-cmd-D8OC-U7y.mjs} +8 -8
- package/dist/{auth-link-DFvxIyZi.mjs → auth-link-BYFeMJAp.mjs} +3 -3
- package/dist/auth-router-OHZNmrb_.mjs +74 -0
- package/dist/{build-cmd-wJAv808h.mjs → build-cmd-Bft7EY51.mjs} +1 -1
- package/dist/{cache-Be0Fu5Ka.mjs → cache-CKV1Gz2w.mjs} +1 -1
- package/dist/{cancel-deploy-BgmyOwhe.mjs → cancel-deploy-BAKmkX4f.mjs} +1 -1
- package/dist/cli/cli.mjs +104 -52
- package/dist/{connect-LnvW4HKx.mjs → connect-DLx1pRYk.mjs} +3 -3
- package/dist/{db-Mzv88E1C.mjs → db-B98_UV4H.mjs} +6 -6
- package/dist/{delete-Ri6JemSU.mjs → delete-BEEyqlwd.mjs} +1 -1
- package/dist/{deploy-DEsMVrCY.mjs → deploy-Bsymb0_c.mjs} +3 -3
- package/dist/{deploy-DAH2-m_-.mjs → deploy-CsjbRNyv.mjs} +1 -1
- package/dist/{domain-BA37Ye7T.mjs → domain-Av2AkLQP.mjs} +1 -1
- package/dist/{email-C5NsxrQG.mjs → email-CUqa6TtH.mjs} +2 -2
- package/dist/{env-U_ohASB0.mjs → env-D4RIGEzz.mjs} +1 -1
- package/dist/{github-cmd-DsrkweIl.mjs → github-cmd-BEK4VprE.mjs} +3 -3
- package/dist/{help-sBhFH6pi.mjs → help-iQOt7WHk.mjs} +39 -8
- package/dist/help-r_vrpH_d.mjs +2 -0
- package/dist/index.mjs +3 -3
- package/dist/{init-C--Yyj1b.mjs → init-D5niUPAz.mjs} +2 -2
- package/dist/{link-BC-mNG9-.mjs → link-3lGrfXzd.mjs} +1 -1
- package/dist/{list-DHU1Wj6c.mjs → list-CVjGr_C6.mjs} +1 -1
- package/dist/{login-jKe_0QZL.mjs → login-BgQJzxAl.mjs} +2 -2
- package/dist/login-Bz0zEPoy.mjs +2 -0
- package/dist/{logs-BG11f5PR.mjs → logs-DbzD-QDf.mjs} +1 -1
- package/dist/{operator-cmd-BwAS2XZt.mjs → operator-cmd-CR6Lxzt0.mjs} +3 -3
- package/dist/{platform-auth-config-C-hv-_Ok.mjs → platform-auth-config-De7BqRJm.mjs} +2 -2
- package/dist/{platform-auth-protection-DjTE5Hj-.mjs → platform-auth-protection-Dcat-6zu.mjs} +2 -2
- package/dist/{platform-auth-recovery-Cr0r8TEb.mjs → platform-auth-recovery-C9gsM640.mjs} +2 -2
- package/dist/{platform-cmd-DE6dw45v.mjs → platform-cmd-Cl9Uhzru.mjs} +1 -1
- package/dist/{platform-cmd-0tEh2ZtA.mjs → platform-cmd-CudokNIg.mjs} +3 -3
- package/dist/{platform-domain-B_7x6Iqx.mjs → platform-domain-Ckpd2kXw.mjs} +2 -2
- package/dist/{platform-lifecycle-Di0LbhPM.mjs → platform-lifecycle-DVzM2T4j.mjs} +7 -7
- package/dist/{platform-lifecycle-Dhx9Pnub.mjs → platform-lifecycle-DlpiGcjr.mjs} +1 -1
- package/dist/{platform-management-B9LUtMt9.mjs → platform-management-44Bxd3YC.mjs} +1 -1
- package/dist/{platform-management-eaiaU3uM.mjs → platform-management-ibuS1as0.mjs} +1 -1
- package/dist/{platform-recovery-BxfA8E5C.mjs → platform-recovery-D_KmvdSk.mjs} +2 -2
- package/dist/{project-cmd-DrnRJdep.mjs → project-cmd-BuF9doku.mjs} +12 -12
- package/dist/{project-team-CzRbO_kA.mjs → project-team-B1Tia8vd.mjs} +2 -2
- package/dist/{requests-DwrqUQZ8.mjs → requests-CphRF98D.mjs} +1 -1
- package/dist/{rollback-B4tFWmkN.mjs → rollback-BYHJV2yD.mjs} +1 -1
- package/dist/{secret-UtrRjhEO.mjs → secret-Rt9c4Ttw.mjs} +1 -1
- package/package.json +7 -7
- package/skills/migrate-vite-cloudflare-to-void/SKILL.md +1 -1
- package/skills/void/SKILL.md +4 -2
- package/skills/void/docs/guide/platform/administration/access.md +1 -1
- package/skills/void/docs/guide/project-collaboration.md +1 -1
- package/skills/void/docs/reference/cli.md +25 -10
- package/skills/void/docs/reference/config.md +1 -1
- package/dist/help-B403BLBB.mjs +0 -2
- package/dist/login-BwiopVdg.mjs +0 -2
|
@@ -28,7 +28,8 @@ Use this page as a command reference. If you are setting up a project for the fi
|
|
|
28
28
|
| `void secret sync .env` | Bulk upload secrets from dotenv file |
|
|
29
29
|
| `void env check [--remote]` | Validate env.ts schema |
|
|
30
30
|
| `void env types` | Regenerate .void/env.d.ts from env.ts |
|
|
31
|
-
| `void auth login` | Authenticate with
|
|
31
|
+
| `void auth login` | Authenticate with the project’s saved destination, or choose one |
|
|
32
|
+
| `void account login` | Authenticate with a Void platform |
|
|
32
33
|
| `void cloudflare login` | Authenticate with Cloudflare through Void |
|
|
33
34
|
| `void platform install` | Install a company Void platform in Cloudflare |
|
|
34
35
|
| `void connect <url>` | Connect the CLI to a Void platform |
|
|
@@ -169,9 +170,23 @@ The deployment preference is saved in `.void/project.json`. Connecting to anothe
|
|
|
169
170
|
|
|
170
171
|
In a non-interactive shell, supply a URL or explicit target. Cloudflare requires usable credentials and an unambiguous account (`CLOUDFLARE_ACCOUNT_ID` when needed). For a Void platform, provide `VOID_TOKEN` with a matching `VOID_API_URL`, or reuse a valid origin-scoped keychain session. Use `void connect <url> --no-login` to save the verified connection without authenticating; this option is only available for Void platforms.
|
|
171
172
|
|
|
172
|
-
##
|
|
173
|
+
## Authentication
|
|
173
174
|
|
|
174
|
-
|
|
175
|
+
`void auth login`, `void auth status`, and `void auth logout` use the destination
|
|
176
|
+
saved for the current project by `void init` or `void connect`. If no destination
|
|
177
|
+
is saved, interactive commands let you choose Cloudflare or a connected Void
|
|
178
|
+
platform. In a non-interactive shell, pass `--platform cloudflare|void` or use
|
|
179
|
+
the explicit `void cloudflare` and `void account` commands. Choosing a destination
|
|
180
|
+
for authentication does not change the project's deploy target.
|
|
181
|
+
|
|
182
|
+
`void auth whoami`, `void auth link`, and `void auth token` remain supported for
|
|
183
|
+
existing scripts. `whoami` follows the selected destination; `link` and `token`
|
|
184
|
+
are Void account operations. Prefer `void auth status`, `void account link`, and
|
|
185
|
+
`void account token` in new scripts.
|
|
186
|
+
|
|
187
|
+
## Void platform account
|
|
188
|
+
|
|
189
|
+
### `void account login`
|
|
175
190
|
|
|
176
191
|
Browser login through one of the platform's currently enabled methods. The token is saved in the operating-system keychain, scoped to the platform origin. Login fails closed when no keychain is available instead of writing the token to a plaintext file; headless environments use `VOID_TOKEN` from their secret manager.
|
|
177
192
|
|
|
@@ -182,22 +197,22 @@ saved login instead, unset `VOID_TOKEN`.
|
|
|
182
197
|
|
|
183
198
|
This is optional if you already completed auth during `void connect` or the interactive `void init` flow.
|
|
184
199
|
|
|
185
|
-
### `void
|
|
200
|
+
### `void account link [connection-id]`
|
|
186
201
|
|
|
187
202
|
Link another enabled login method to your current account. Sign in again if your
|
|
188
203
|
session is no longer recent, complete the additional provider's browser login,
|
|
189
204
|
and confirm the displayed identity. With no connection ID, choose an enabled
|
|
190
205
|
method interactively. The optional dashboard exposes the same flow in **Account**.
|
|
191
206
|
|
|
192
|
-
### `void
|
|
207
|
+
### `void account logout`
|
|
193
208
|
|
|
194
209
|
Removes saved credentials.
|
|
195
210
|
|
|
196
|
-
### `void
|
|
211
|
+
### `void account whoami`
|
|
197
212
|
|
|
198
213
|
Prints your current login.
|
|
199
214
|
|
|
200
|
-
### `void
|
|
215
|
+
### `void account token`
|
|
201
216
|
|
|
202
217
|
Copies your human auth token to the system clipboard. It is intended for
|
|
203
218
|
interactive troubleshooting and remains subject to login-method revocation. Do
|
|
@@ -1300,12 +1315,12 @@ Deploy-on-GitHub works from **any** Void login — Google, GitHub, or other SSO.
|
|
|
1300
1315
|
void github link
|
|
1301
1316
|
```
|
|
1302
1317
|
|
|
1303
|
-
Link your current Void account to a GitHub identity. Opens your browser to authorize Void on GitHub (a localhost + PKCE handshake, the same mechanics as `void
|
|
1318
|
+
Link your current Void account to a GitHub identity. Opens your browser to authorize Void on GitHub (a localhost + PKCE handshake, the same mechanics as `void account login`), then binds that GitHub identity to the logged-in account. Requires an authenticated CLI (`void account login` first).
|
|
1304
1319
|
|
|
1305
1320
|
You normally don't need to run this directly — `void github install` runs the link automatically when your account has no GitHub identity yet. Run it on its own to link ahead of time, or to link a GitHub identity without installing the App.
|
|
1306
1321
|
|
|
1307
1322
|
::: warning Existing GitHub sign-in
|
|
1308
|
-
Void accounts cannot be merged. If the GitHub account you authorize is already linked to a different Void account, including one created through GitHub sign-in, `void github link` is refused with `This GitHub account is already linked to another Void account.` Run `void
|
|
1323
|
+
Void accounts cannot be merged. If the GitHub account you authorize is already linked to a different Void account, including one created through GitHub sign-in, `void github link` is refused with `This GitHub account is already linked to another Void account.` Run `void account logout` and sign in to that existing account, or authorize a different GitHub account. The command is also refused if your current Void account is already linked to a different GitHub identity. Re-authorizing the GitHub account attached to your current Void account is allowed and reports `GitHub account already linked.`
|
|
1309
1324
|
:::
|
|
1310
1325
|
|
|
1311
1326
|
### `void github install`
|
|
@@ -1334,7 +1349,7 @@ Join the GitHub App installations your organization already has. If a teammate i
|
|
|
1334
1349
|
|
|
1335
1350
|
In an interactive terminal you rarely need to run this yourself — `void github connect` runs the same join automatically when no active installations are linked to your account. Running `void github join` yourself matters mainly for non-interactive use (without a TTY, `void github connect` never opens a browser), or to link installations ahead of time.
|
|
1336
1351
|
|
|
1337
|
-
Requires an authenticated CLI (`void
|
|
1352
|
+
Requires an authenticated CLI (`void account login` first) and organization-installation sharing enabled on your Void instance; when it is not enabled the command fails closed with a clear message. You can only join installations your GitHub authorization actually returns — you cannot name or join one you cannot access on GitHub.
|
|
1338
1353
|
|
|
1339
1354
|
### `void github connect`
|
|
1340
1355
|
|
|
@@ -217,7 +217,7 @@ Use remote D1/KV/R2 bindings during local development instead of local miniflare
|
|
|
217
217
|
|
|
218
218
|
**Requirements:**
|
|
219
219
|
|
|
220
|
-
- Must be logged in (`void
|
|
220
|
+
- Must be logged in (`void account login`)
|
|
221
221
|
- Must have a linked project (`void project link`)
|
|
222
222
|
- Only affects D1 (`DB`), KV (`KV`), and R2 (`STORAGE`) bindings
|
|
223
223
|
|
package/dist/help-B403BLBB.mjs
DELETED
package/dist/login-BwiopVdg.mjs
DELETED