darkgrade 0.0.0-stage → 0.1.0-alpha.1

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 +25 -2
  2. package/dist/main.js +18394 -0
  3. package/package.json +27 -5
package/README.md CHANGED
@@ -1,3 +1,26 @@
1
- # Temporary Holding Version
1
+ # Darkgrade CLI
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Alpha releases: `npx darkgrade@alpha telemetry …`.
4
+ For local development, build Link/contribute/CLI and run `node packages/cli/dist/main.js`.
5
+
6
+ - `whoami`: print the persistent random diagnostic ID, never its secret.
7
+ - `status`: show the sharing preference and endpoint configuration.
8
+ - `opt-out`: stop future cloud uploads; retain bounded sanitized local diagnostics.
9
+ - `opt-in`: enable sharing again. After deletion this starts a new cloud identity.
10
+ - `delete`: disable sharing and delete cloud data; failed deletion remains retryable.
11
+ - `benchmark --camera VID:PID`: read camera identity, storage and properties.
12
+ - Add `--capture` to take/transfer a photo, or `--live` to request a live frame.
13
+ Capture can write a file on the camera. No format/delete/reset/power operation is included.
14
+
15
+ Benchmarks use Link's existing drivers and bounded transaction deadlines, report each
16
+ selected check separately, and always attempt disconnect. A returned media payload proves
17
+ a transfer, not independent image decoding or complete model qualification. The initial
18
+ benchmark does not test every vendor setting or automatically change exposure settings.
19
+ It respects opt-out and never uploads previously retained local logs. On managed test
20
+ benches, use the bench/runtime ownership mechanism before opening a camera; do not run a
21
+ second direct session over an existing owner.
22
+
23
+ CLI and Studio share `~/.darkgrade/settings.json`. Set `DARKGRADE_TELEMETRY_URL` to the
24
+ collector origin. No required notice or email flow exists. Studio Preferences provides
25
+ sharing, Copy diagnostic ID, Delete cloud data and the same read-only Check camera run.
26
+ The explicit capture/live CLI options remain camera operations, not background telemetry.