@equationalapplications/expo-llm-wiki 4.18.1 → 4.20.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.
Files changed (2) hide show
  1. package/README.md +14 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -409,6 +409,20 @@ const memory = await wiki.read(
409
409
 
410
410
  For full details on `{{mustache}}` prompt templating and the strict distinction between global auto-runs and runtime overrides, see [Prompt Management & Overrides](https://github.com/equationalapplications/expo-llm-wiki/blob/main/packages/core/README.md#prompt-management--overrides) in `@equationalapplications/core-llm-wiki`.
411
411
 
412
+ ## Concurrency
413
+
414
+ All write APIs are safe to call from concurrent async contexts. Transactions are
415
+ serialized internally on the single database connection — you never need to know that
416
+ SQLite forbids nested `BEGIN`, and you never need to throttle callers yourself.
417
+
418
+ - One connection per database file per process is the supported topology.
419
+ - Non-transactional reads are **not** serialized, so read latency is unaffected.
420
+ - Inside a transaction callback, use only the provided `tx` handle — never the outer
421
+ database handle. Using the outer handle deadlocks; opening a nested transaction throws.
422
+
423
+ Driver errors that escape a transaction surface as `WikiTransactionError` (re-exported
424
+ from `@equationalapplications/core-llm-wiki`) with a top-level `sqliteErrorCode`.
425
+
412
426
  ## Monorepo Ecosystem
413
427
 
414
428
  | Package | Purpose |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equationalapplications/expo-llm-wiki",
3
- "version": "4.18.1",
3
+ "version": "4.20.0",
4
4
  "description": "Local-first LLM memory for Expo and React Native. Combines the core semantic search and extraction engine with expo-sqlite and ready-to-use React hooks.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -55,8 +55,8 @@
55
55
  "registry": "https://registry.npmjs.org"
56
56
  },
57
57
  "dependencies": {
58
- "@equationalapplications/core-llm-wiki": "4.18.1",
59
- "@equationalapplications/react-llm-wiki": "4.18.1"
58
+ "@equationalapplications/core-llm-wiki": "4.20.0",
59
+ "@equationalapplications/react-llm-wiki": "4.20.0"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "expo-crypto": ">=12",