@conceptcraft/mindframes 0.3.35 → 0.3.37

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.
Files changed (3) hide show
  1. package/README.md +14 -4
  2. package/dist/index.js +452 -432
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -310,9 +310,9 @@ mindframes video status <run-id>
310
310
  ```
311
311
 
312
312
  `video create` also accepts `--source-video <id>`, `--release` (720p; the
313
- default render is 480p),
314
- `--team-id` and `--approval-receipt`. Omit `--approval-receipt` on the first
315
- call to get the browser confirmation URL back.
313
+ default render is 480p) and `--team-id`. Leave out `--yes` (or run
314
+ `video quote` with the same flags) to print the most the video can charge, and
315
+ what that covers, without starting anything.
316
316
 
317
317
  ### Poster frames
318
318
 
@@ -416,14 +416,24 @@ mindframes create "Report" --context-file data.md -o json | jq -r '.viewUrl' | x
416
416
  | 4 | Rate limit exceeded |
417
417
  | 5 | Network error |
418
418
  | 6 | Invalid input |
419
+ | 7 | Approval required: the request is held until a person approves it in the browser; retry with the receipt or `--wait-for-approval` |
419
420
 
420
421
  ## Environment Variables
421
422
 
422
423
  | Variable | Description |
423
424
  |----------|-------------|
424
- | `MINDFRAMES_API_KEY` | API key for authentication |
425
+ | `MINDFRAMES_API_KEY` | API key for authentication; takes precedence over a saved login |
425
426
  | `MINDFRAMES_API_URL` | Custom API URL (default: https://www.mindframes.app) |
426
427
 
428
+ A saved `mindframes login` is sent only to the server that issued it, and a key
429
+ saved with `mindframes config set api-key` only to the API URL it was saved for.
430
+ When the API URL points elsewhere and no other credential applies, a command
431
+ that needs to sign in prints a message naming both servers and exits with
432
+ code 2. Credentialed requests never follow a redirect to another server.
433
+ `mindframes whoami` and `mindframes config show` report the credential in use without
434
+ printing it. After upgrading the CLI, log in again: credentials saved by earlier
435
+ versions are not used.
436
+
427
437
  ## Requirements
428
438
 
429
439
  - Node.js 22.22.x