@tinycloud/cli 1.2.6-beta.4 → 1.3.0-beta.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinycloud/cli",
3
- "version": "1.2.6-beta.4",
3
+ "version": "1.3.0-beta.6",
4
4
  "description": "TinyCloud CLI - manage data, delegations, and nodes from the terminal",
5
5
  "author": "TinyCloud, Inc.",
6
6
  "license": "EGPL",
@@ -33,10 +33,10 @@
33
33
  "dependencies": {
34
34
  "@tinycloud/share-sdk": "1.1.1",
35
35
  "@tinycloud/share-envelope": "1.1.0",
36
- "@tinycloud/node-sdk": "3.2.6-beta.4",
36
+ "@tinycloud/node-sdk": "3.2.6-beta.6",
37
37
  "@tinycloud/node-sdk-wasm": "1.7.7",
38
38
  "@tinycloud/sdk-core": "3.2.6-beta.4",
39
- "@tinycloud/operations": "0.6.1-beta.4",
39
+ "@tinycloud/operations": "0.6.1-beta.6",
40
40
  "chalk": "^5.3.0",
41
41
  "commander": "^14.0.0",
42
42
  "open": "^11.0.0",
@@ -44,8 +44,8 @@
44
44
  "siwe": "^3.0.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@tinycloud/courier": "0.1.6-beta.4",
48
- "@tinycloud/replica": "0.2.4-beta.1",
47
+ "@tinycloud/courier": "0.1.6-beta.6",
48
+ "@tinycloud/replica": "0.2.4-beta.3",
49
49
  "@types/node": "^20",
50
50
  "tsup": "^8.0.0",
51
51
  "typescript": "^5.9.3"
@@ -268,11 +268,17 @@ and sync details to stderr. The event log is
268
268
  `profiles/<profile>/replication/events.jsonl` under `TC_HOME`; it records
269
269
  operational metadata, not values.
270
270
 
271
- `tinycloud replica report [--since 24h]` renders read source/reason counts, hit ratio,
272
- latency and staleness percentiles, sync/write outcomes, recent divergences,
273
- replica/grant status, and pinned keys. `--json` emits the aggregate as JSON.
274
- `--clear-pending` clears pending replica writes and prints a warning: commits
275
- that arrive later can be observed as stale until a subsequent sync.
271
+ `tinycloud replica report [--since 24h]` reads persisted event and identity
272
+ partition files only. It renders read source/reason counts, hit ratio, latency
273
+ and staleness percentiles, sync/write outcomes, and recent divergences; JSON
274
+ marks live replica status unavailable. It never starts a replication runtime.
275
+ Report `--purge` and `--clear-pending` refuse with exit 2 `REPORT_READ_ONLY`.
276
+ `tinycloud replica reset --replica <name> --purge` is a partial alternative
277
+ for a named local replica only. Flag-owned purge and pending clearing have no
278
+ equivalent yet (TC-1309).
279
+ On macOS and Windows, `replica reset --purge` and `auth logout` with a legacy
280
+ `replicas/` tree refuse local removal rather than delete through an unpinned
281
+ path. The existing files are retained.
276
282
  `auth logout` purges legacy and flag-owned replicas unless `--keep-replicas`
277
283
  is used.
278
284