@dropthis/cli 0.35.0 → 0.37.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/README.md CHANGED
@@ -199,9 +199,10 @@ These flags are inherited by all commands:
199
199
  |------|-------------|
200
200
  | `--api-key <key>` | Override API key for this invocation |
201
201
  | `--api-url <url>` | Override API base URL |
202
- | `--json` | Force JSON output |
202
+ | `--json` | Force JSON output (implies non-interactive — never prompts) |
203
203
  | `-q, --quiet` | Suppress status output and imply JSON |
204
204
  | `--no-interactive` | Disable interactive prompts (inline auth, confirmations) |
205
+ | `--insecure-store` | Store credentials in a plaintext file instead of the OS keyring, for headless/CI boxes without a keyring backend (also `DROPTHIS_INSECURE_STORE=1`) |
205
206
 
206
207
  ## Update
207
208
 
@@ -355,6 +356,7 @@ The CLI is designed for non-interactive use. In non-TTY environments (pipes, CI,
355
356
  export DROPTHIS_API_KEY=sk_live_... # API key (same as --api-key)
356
357
  export DROPTHIS_API_URL=https://... # Override API base URL (same as --api-url)
357
358
  export DROPTHIS_NON_INTERACTIVE=1 # Disable interactive prompts (same as --no-interactive)
359
+ export DROPTHIS_INSECURE_STORE=1 # Plaintext credential file instead of the OS keyring (same as --insecure-store)
358
360
  export DROPTHIS_NO_UPDATE_NOTIFIER=1 # Disable the startup update notice (also auto-disabled in CI, non-TTY, --json/--quiet)
359
361
  export NO_COLOR=1 # Disable ANSI color in human output (also auto-disabled when not a TTY)
360
362
  ```
@@ -384,7 +386,7 @@ dropthis publish ./dist --url
384
386
  | 6 | Domain verification pending (`domains verify` one-shot, not live yet) |
385
387
  | 7 | Domain verification timeout (`domains verify --wait` exceeded `--timeout`) |
386
388
 
387
- This table — plus the global flags (`--api-key`, `--api-url`, `--json`, `--quiet`, `--no-interactive`) — is machine-readable from `dropthis commands --json` (the `exit_codes` and `global_options` fields), so an agent can discover the whole surface without scraping docs.
389
+ This table — plus the global flags (`--api-key`, `--api-url`, `--json`, `--quiet`, `--no-interactive`, `--insecure-store`) — is machine-readable from `dropthis commands --json` (the `exit_codes` and `global_options` fields), so an agent can discover the whole surface without scraping docs.
388
390
 
389
391
  Some failures share exit 1 but carry a distinct error `code` in the JSON envelope:
390
392
 
@@ -413,10 +415,10 @@ Run diagnostics to verify CLI health:
413
415
  dropthis doctor
414
416
  ```
415
417
 
416
- Reports CLI version, auth source (`env`, `flag`, `storage`, or `missing`), and credential storage backend (`secure`, `insecure`, or `none`).
418
+ Reports CLI version, the bundled `@dropthis/node` SDK version, auth source (`env`, `flag`, `storage`, or `missing`), credential storage backend (`secure`, `insecure`, or `none`), and — for a stored key — its capability scopes.
417
419
 
418
420
  ```json
419
- {"ok":true,"version":"0.32.0","auth":{"source":"env"},"storage":{"backend":"secure"}}
421
+ {"ok":true,"version":"0.36.0","sdk_version":"0.32.0","auth":{"source":"storage"},"storage":{"backend":"secure"},"scopes":["team"]}
420
422
  ```
421
423
 
422
424
  Add `--online` for a network preflight an agent can run **before** a publish to tell apart the common failures — re-auth vs network vs an unresolved workspace: