memorix 1.9.0 → 1.9.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 (39) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +5 -1
  3. package/README.zh-CN.md +1 -1
  4. package/dist/cli/index.js +2508 -1843
  5. package/dist/index.js +2387 -1722
  6. package/dist/maintenance-runner.js +1686 -1031
  7. package/dist/media-audio-runner.js +2185 -1530
  8. package/dist/media-video-runner.js +2185 -1530
  9. package/dist/memcode-runtime/CHANGELOG.md +28 -0
  10. package/dist/sdk.js +2449 -1720
  11. package/dist/vector-backfill-runner.js +2183 -1528
  12. package/docs/CONFIGURATION.md +22 -0
  13. package/docs/DEVELOPMENT.md +2 -2
  14. package/docs/PERFORMANCE.md +77 -20
  15. package/docs/README.md +1 -1
  16. package/package.json +2 -1
  17. package/plugins/antigravity/memorix/plugin.json +1 -1
  18. package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
  19. package/plugins/codebuddy/memorix/.codebuddy-plugin/plugin.json +1 -1
  20. package/plugins/codex/memorix/.codex-plugin/plugin.json +1 -1
  21. package/plugins/copilot/memorix/plugin.json +1 -1
  22. package/plugins/gemini/memorix/gemini-extension.json +1 -1
  23. package/plugins/hermes/memorix/plugin.yaml +1 -1
  24. package/plugins/omp/memorix/package.json +1 -1
  25. package/plugins/openclaw/memorix/.codex-plugin/plugin.json +1 -1
  26. package/plugins/pi/memorix/package.json +1 -1
  27. package/server.json +2 -2
  28. package/src/compact/engine.ts +14 -4
  29. package/src/memory/freshness.ts +7 -4
  30. package/src/memory/observations.ts +118 -6
  31. package/src/runtime/vector-backfill-runner.ts +1 -1
  32. package/src/sdk.ts +13 -6
  33. package/src/search/semantic-index.ts +340 -0
  34. package/src/server.ts +1 -1
  35. package/src/store/obs-store.ts +54 -2
  36. package/src/store/orama-store.ts +300 -12
  37. package/src/store/sqlite-db.ts +6 -0
  38. package/src/store/sqlite-fts.ts +164 -0
  39. package/src/store/sqlite-store.ts +83 -6
@@ -4,6 +4,34 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [1.9.1] - 2026-09-08
8
+
9
+ ### Changed
10
+ - **Large-scale retrieval** -- SQLite FTS5 is now the persistent lexical
11
+ candidate index. It stays synchronized on insert, update, delete, and can be
12
+ rebuilt from the durable observations table.
13
+ - **Disk-backed semantic retrieval** -- the optional local LanceDB shadow index
14
+ stores only vector IDs and metadata, uses HNSW with scalar quantization once
15
+ the corpus is large enough, and fuses bounded semantic candidates with FTS5
16
+ results. Search falls back to Orama when the optional native package is not
17
+ available.
18
+ - **Lazy large-corpus startup** -- projects above the Orama hydration threshold
19
+ keep SQLite as the source of truth and do not load the complete observation
20
+ corpus into the interactive agent process. Detail, export, and maintenance
21
+ paths can still load the data they explicitly need.
22
+ - **Large-store acceptance** -- adds regression coverage and verified gates for
23
+ 1k, 10k, 40k, and 100k records without reducing the durable memory corpus.
24
+ - **Post-threshold vector writes** -- newly generated vectors still reach the
25
+ persistent semantic index after the in-memory Orama corpus is released.
26
+
27
+ ### Fixed
28
+ - **Stale lexical index on upsert** -- replace-style SQLite writes could leave
29
+ old terms in an external-content FTS index. Observation upserts now preserve
30
+ trigger-visible row updates so old terms are removed.
31
+ - **Optional native dependency bundling** -- LanceDB is resolved at runtime so
32
+ unsupported platforms or installations without its native binary continue
33
+ to build and use the FTS5/Orama fallback.
34
+
7
35
  ## [1.9.0] - 2026-09-07
8
36
 
9
37
  ### Added