@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 +13 -8
- package/dist/bin/cli.js +955 -1039
- package/dist/bin/cli.js.map +8 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -236,19 +236,24 @@ mutagent --version
|
|
|
236
236
|
### 1. Authenticate
|
|
237
237
|
|
|
238
238
|
```bash
|
|
239
|
-
#
|
|
240
|
-
mutagent
|
|
239
|
+
# End users — browser OAuth (handles signup, onboarding, CLI authorization)
|
|
240
|
+
mutagent login
|
|
241
241
|
|
|
242
|
-
#
|
|
243
|
-
mutagent
|
|
242
|
+
# Force browser flow (skip method prompt)
|
|
243
|
+
mutagent login --browser
|
|
244
244
|
|
|
245
|
-
#
|
|
246
|
-
|
|
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
|
-
#
|
|
249
|
-
|
|
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:
|