@mutagent/cli 0.1.88 → 0.1.90

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
@@ -236,19 +236,24 @@ mutagent --version
236
236
  ### 1. Authenticate
237
237
 
238
238
  ```bash
239
- # Interactive (choose browser OAuth or API key)
240
- mutagent auth login
239
+ # End users browser OAuth (handles signup, onboarding, CLI authorization)
240
+ mutagent login
241
241
 
242
- # Browser OAuth directly
243
- mutagent auth login --browser
242
+ # Force browser flow (skip method prompt)
243
+ mutagent login --browser
244
244
 
245
- # Non-interactive with API key (CI/CD)
246
- mutagent auth login --api-key mg_live_xxxx
245
+ # CI / AI agent — set env var then run (no prompts, no browser)
246
+ export MUTAGENT_API_KEY="mt_live_xxxx"
247
+ mutagent login --json
247
248
 
248
- # Or just set the env var (skips login entirely)
249
- export MUTAGENT_API_KEY="mg_live_xxxx"
249
+ # Back-compat alias behaves identically to `mutagent login`
250
+ mutagent auth login
250
251
  ```
251
252
 
253
+ > `mutagent login` is the canonical command. `mutagent auth login` is preserved
254
+ > as a back-compat alias; both delegate to the same shared action module.
255
+ > See `docs/cli-design-principles.md` → "Login Unification".
256
+
252
257
  ### 2. Post-Onboarding (Interactive)
253
258
 
254
259
  After login, the CLI offers 3 paths: