@codacy/verity-cli 0.28.1-experimental.9155758 → 0.28.1-experimental.af3c52d

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.
@@ -20,7 +20,8 @@ You are running an on-demand Verity analysis. This is like a "second opinion"
20
20
  - **Fails / not authenticated**: don't stop. Tell the user Verity is in
21
21
  **local-only mode**, so the review will run static analysis and show findings
22
22
  but won't perform the deep (LLM) review or upload anything. To unlock the deep
23
- review they can authenticate with `verity init` (or `verity auth register`).
23
+ review they can authenticate with `verity login` (one login covers every
24
+ repository they can write to).
24
25
  Continue — `verity review` degrades to a local static-only report on its own.
25
26
 
26
27
  ---
@@ -341,21 +341,26 @@ verity auth verify
341
341
  deep review, history, and shareable reports by running:
342
342
 
343
343
  ```bash
344
- verity init # re-runs init; offers the auth prompt again
345
- # or, directly:
346
- verity auth register --project "PROJECT_NAME" --remote "GIT_REMOTE_URL"
344
+ verity login # one GitHub login covers every repo you can write to
345
+ # or: verity init # re-runs init; offers the same auth prompt
347
346
  ```
348
347
 
349
- Registration is **provider-gated** (GitHub today): the CLI runs a GitHub App
350
- **device flow** ("open https://github.com/login/device and enter code
351
- WXYZ-1234"), proving the user has **write access** to the repo before the
352
- service issues a token. The GitHub App requests only read-only permissions
353
- (Metadata + Email addresses); the resulting token is used once server-side to
354
- check repo access and is never persisted.
355
-
356
- When authenticated, the project's `token` and `service_url` are stored in the
357
- single global credentials file `~/.verity/credentials` (keyed by git remote)
358
- nothing secret is written into the repo. All subsequent `verity` upload commands work.
348
+ Login is **provider-gated** (GitHub today): the CLI runs a GitHub App **device
349
+ flow** ("open https://github.com/login/device and enter code WXYZ-1234"),
350
+ proving the user has **write access** before the service issues a token. The
351
+ GitHub App requests only read-only permissions (Metadata + Email addresses);
352
+ the provider token is used once server-side to sweep the repositories the user
353
+ can write to, and is never persisted.
354
+
355
+ **One login covers every repository** the user can write to, not just this one.
356
+ Re-running `verity login` is also how access to newly-granted repos is picked
357
+ up, and how an expired verification is restored. If login reports this
358
+ repository is **not covered**, the Verity GitHub App has not been granted
359
+ access to it — grant it, then re-run `verity login`.
360
+
361
+ When authenticated, the user's `token` and `service_url` are stored in the single
362
+ global credentials file `~/.verity/credentials` — nothing secret is written into
363
+ the repo. All subsequent `verity` upload commands work.
359
364
 
360
365
  ---
361
366
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/verity-cli",
3
- "version": "0.28.1-experimental.9155758",
3
+ "version": "0.28.1-experimental.af3c52d",
4
4
  "description": "CLI for Verity quality gate service",
5
5
  "homepage": "https://verity.md",
6
6
  "bugs": {