@loro-dev/loro-repo-engine 0.2.0-next.2 → 0.2.0-next.4
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 +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -545,7 +545,7 @@ Every `<dataDir>` managed by `startEngine` or `loro-repo serve` has the followin
|
|
|
545
545
|
- Each namespace maps deterministically to `<dataDir>/namespaces/ns_<lowercase_hex_of_utf8_namespace>.sqlite3`.
|
|
546
546
|
- Opened with `PRAGMA journal_mode = WAL`, `PRAGMA synchronous = NORMAL`, and `busy_timeout = 5000ms` (`v2_meta.schema_version = 1`).
|
|
547
547
|
- Unifies `LoroDoc`, `Flock`, `Meta` (`repo-meta`), `RoostStream` (`v2_roost_kv`), room checkpoints, and the single-seal E2EE outbox (`v2_sync_outbox`) in a single ACID SQLite transaction per mutation.
|
|
548
|
-
- Room oplogs
|
|
548
|
+
- Room oplogs compact into snapshots automatically in the background after `64` operations (`AUTO_COMPACT_OPLOG_LEN`), once those hold 1/8 of the snapshot's bytes (large rooms compact less often), or on demand via `client.compactRoom()`. Writes never wait for an automatic compaction.
|
|
549
549
|
- **Local plaintext + zero persisted secrets**: Local SQLite tables store plaintext room state for instant offline cold starts and sub-path queries. E2EE (`LSCE v2 + content-v0`) seals frames exclusively at the cloud outbox boundary (`Unsealed -> Sealed` before upload). **Bearer tokens (`auth_token` / `registerAuthProvider`) are held strictly in RAM and never written to SQLite.** Even if opening a legacy database with an old `auth_token` column, the engine drops the column and truncates the WAL automatically.
|
|
550
550
|
|
|
551
551
|
### IPC Wire Framing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loro-dev/loro-repo-engine",
|
|
3
|
-
"version": "0.2.0-next.
|
|
3
|
+
"version": "0.2.0-next.4",
|
|
4
4
|
"description": "The loro-repo engine, prebuilt as a Node-API addon. Source is not public (D3).",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
]
|
|
33
33
|
},
|
|
34
34
|
"optionalDependencies": {
|
|
35
|
-
"@loro-dev/loro-repo-engine-darwin-arm64": "0.2.0-next.
|
|
36
|
-
"@loro-dev/loro-repo-engine-darwin-x64": "0.2.0-next.
|
|
37
|
-
"@loro-dev/loro-repo-engine-linux-x64-gnu": "0.2.0-next.
|
|
38
|
-
"@loro-dev/loro-repo-engine-linux-arm64-gnu": "0.2.0-next.
|
|
39
|
-
"@loro-dev/loro-repo-engine-win32-x64-msvc": "0.2.0-next.
|
|
40
|
-
"@loro-dev/loro-repo-engine-win32-arm64-msvc": "0.2.0-next.
|
|
35
|
+
"@loro-dev/loro-repo-engine-darwin-arm64": "0.2.0-next.4",
|
|
36
|
+
"@loro-dev/loro-repo-engine-darwin-x64": "0.2.0-next.4",
|
|
37
|
+
"@loro-dev/loro-repo-engine-linux-x64-gnu": "0.2.0-next.4",
|
|
38
|
+
"@loro-dev/loro-repo-engine-linux-arm64-gnu": "0.2.0-next.4",
|
|
39
|
+
"@loro-dev/loro-repo-engine-win32-x64-msvc": "0.2.0-next.4",
|
|
40
|
+
"@loro-dev/loro-repo-engine-win32-arm64-msvc": "0.2.0-next.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@napi-rs/cli": "^3.10.0"
|