@vibecloudtr/cli 0.4.0 → 0.6.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.
package/ENVIRONMENT.md CHANGED
@@ -390,18 +390,18 @@ path; the default points at the platform's mirror.
390
390
  refresh token, the expiry, and where to renew — because other tools read it
391
391
  rather than obtaining their own credential. A bare token in that file is still
392
392
  accepted (a `vibe_pat_` PAT from the console). The exact shape, and what a
393
- reader that renews must write back, is in `README.md` under "What is stored,
393
+ reader that renews must write back, is in `DEVELOPMENT.md` under "What is stored,
394
394
  and where".
395
395
  - 🔴 **A reader that renews must persist the rotated refresh token.** The refresh
396
396
  grant consumes the one it is presented, so renewing without writing back leaves
397
397
  the next process holding a spent credential.
398
- - 🔴 **No credential the CLI can hold performs a `@dangerous` action**, and no
399
- variable changes that. The API's gate is an allowlist requiring an interactive
400
- console session with a satisfied step-up (`api/internal/server/directives.go`),
401
- and a session lives in a `__Host-vc_session` cookie that is never accepted as a
402
- bearer token. `vibe project delete`, `vibe restore`, `vibe token create`,
403
- `vibe team invite` and `vibe team remove` therefore refuse, by name, rather than
404
- failing at the server one round trip later.
398
+ - 🔴 **Only an OAuth login with `mcp:dangerous` performs a `@dangerous` action**, and
399
+ only with a fresh TOTP code in the `Vibecloud-Otp` header per request (dec. 236).
400
+ A PAT (`VIBECLOUD_TOKEN`) is refused by name before any request
401
+ (`CREDENTIAL_KIND_FORBIDDEN`), and the `__Host-vc_session` cookie is never
402
+ accepted as a bearer token. A login that predates the scope is told to run
403
+ `vibe login` again. The code comes from a prompt or `--otp <code>`; no variable
404
+ supplies it. See `DEVELOPMENT.md` "Dangerous commands ask for a two-factor code".
405
405
 
406
406
  ## HEROKU_API_KEY
407
407