@freecodecamp/universe-cli 0.6.0 → 0.7.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.
package/README.md CHANGED
@@ -88,8 +88,8 @@ All commands support `--json` for CI integration.
88
88
  The CLI resolves a GitHub identity in this order — first match wins:
89
89
 
90
90
  1. `$GITHUB_TOKEN` / `$GH_TOKEN` env (CI explicit)
91
- 1. `gh auth token` shell-out (laptop with `gh` installed)
92
- 1. Device-flow stored token at `~/.config/universe-cli/token`
91
+ 1. Device-flow stored token at `~/.config/universe-cli/token` (`universe login`)
92
+ 1. `gh auth token` shell-out (laptop fallback when no `universe login` token)
93
93
 
94
94
  CI runners must export `$GITHUB_TOKEN` explicitly. artemis validates the bearer via GitHub `GET /user`, then authorizes server-side against the Valkey-backed registry. Run `universe whoami` to see which slot resolved; inspect the sites you can deploy to with `universe sites ls --mine`.
95
95
 
@@ -111,10 +111,10 @@ Full operator walkthrough (login → deploy → promote → rollback, CI shape,
111
111
 
112
112
  ## Environment overrides
113
113
 
114
- | Env | Default | Purpose |
115
- | --------------------------- | -------------------------------- | --------------------------------------------------------- |
116
- | `UNIVERSE_PROXY_URL` | `https://uploads.freecode.camp` | Override proxy host (staging etc.) |
117
- | `UNIVERSE_GH_CLIENT_ID` | _baked-in freeCodeCamp OAuth id_ | Override GitHub OAuth App id (fork tenants, `login` only) |
118
- | `GITHUB_TOKEN` / `GH_TOKEN` | — | Slot 1 of identity chain |
114
+ | Env | Default | Purpose |
115
+ | --------------------------- | ---------------------------------------------- | ---------------------------------------------------------- |
116
+ | `UNIVERSE_PROXY_URL` | `https://uploads.freecode.camp` | Override proxy host (staging etc.) |
117
+ | `UNIVERSE_GH_CLIENT_ID` | _baked-in freeCodeCamp-Universe GitHub App id_ | Override GitHub App client id (fork tenants, `login` only) |
118
+ | `GITHUB_TOKEN` / `GH_TOKEN` | — | Slot 1 of identity chain |
119
119
 
120
- The shipped binary embeds the `freeCodeCamp` GitHub OAuth App client id (public; device flow uses no `client_secret`), so `universe login` works out of the box for staff. Fork operators and self-hosted mirror tenants set `UNIVERSE_GH_CLIENT_ID` to their own OAuth App's id — env value wins when set.
120
+ The shipped binary embeds the `freeCodeCamp-Universe` GitHub App client id (public; device flow uses no `client_secret`), so `universe login` works out of the box for staff once the App is installed on their org. Fork operators and self-hosted mirror tenants set `UNIVERSE_GH_CLIENT_ID` to their own GitHub App's id — env value wins when set.