@tinycloud/cli 1.5.0-beta.27 → 1.5.0-beta.28

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
@@ -393,21 +393,20 @@ it, network sign-in and KV reads still work, but local replica reads stay gated
393
393
  until a new verified sign-in. A gated root prefix does not imply `kv-sync-root`
394
394
  support.
395
395
 
396
- Replica-enabled OpenKey login uses the SDK-prepared SIWE approval URL, not the
397
- older browser-created session. Specify `--owner did:pkh:eip155:CHAIN:ADDRESS`
398
- unless this profile already has a verified owner session. The CLI verifies the
399
- signed result before saving its new key, session and replica stamp. Safari, and
400
- Chromium browsers that enforce Local Network Access without granting it (headless
401
- Chromium cannot show the prompt), may block the HTTPS page's plain-HTTP loopback
402
- callback: use an interactive CLI terminal and paste the same one-line code shown
403
- by OpenKey, or start with
404
- `tc auth login --method openkey --replication-prefix notes/ --owner DID --paste`
405
- for a headless terminal. Non-TTY `--no-popup` cannot accept a paste; if that
406
- callback fails, it exits nonzero at the five-minute expiry with a `--paste`
407
- retry hint and discards the candidate key. Restarting requires a new approval
408
- and cannot reuse the old signed code. Ctrl-C, SIGINT or SIGTERM before approval
409
- arrives cancels the OpenKey handoff (best effort) and exits 130 `CANCELLED`
410
- without saving a key or session.
396
+ Replica-enabled OpenKey login uses the SDK-prepared SIWE approval request.
397
+ Specify `--owner did:pkh:eip155:CHAIN:ADDRESS` unless this profile already has a
398
+ verified owner session. The CLI verifies the signed result before saving its new
399
+ key, session and replica stamp.
400
+
401
+ Normal OpenKey login prints a short approval link on stderr and waits. Relay it
402
+ to the owner from a headless or remote CLI; no localhost callback or pasted code
403
+ is needed. `--no-popup` skips opening a local browser, not automatic result
404
+ retrieval. The CLI verifies the encrypted result, durably saves it, then
405
+ acknowledges delivery. Re-run the same command after an interruption to resume.
406
+ The one-hour request expiry is independent of the requested grant lifetime and
407
+ result retention. Normal login keeps its seven-day default; onboarding requests
408
+ 30 days explicitly. `--paste` remains an explicit manual fallback with a
409
+ five-minute, single-use return code, not the automatic short-link transport.
411
410
 
412
411
  Use `tc replica report` for read-only aggregates of persisted replication events
413
412
  and identity partitions. Live replica status is unavailable there. Report