memorix 1.9.0 → 1.9.2

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 (50) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/README.md +22 -5
  3. package/README.zh-CN.md +9 -5
  4. package/dist/cli/index.js +2635 -1942
  5. package/dist/index.js +2445 -1766
  6. package/dist/maintenance-runner.js +1696 -1036
  7. package/dist/media-audio-runner.js +2197 -1537
  8. package/dist/media-video-runner.js +2195 -1535
  9. package/dist/memcode-runtime/CHANGELOG.md +39 -0
  10. package/dist/sdk.js +2507 -1764
  11. package/dist/vector-backfill-runner.js +2193 -1533
  12. package/docs/CONFIGURATION.md +22 -0
  13. package/docs/DEVELOPMENT.md +2 -2
  14. package/docs/INTEGRATIONS.md +4 -0
  15. package/docs/PERFORMANCE.md +77 -20
  16. package/docs/README.md +1 -1
  17. package/docs/SETUP.md +5 -0
  18. package/package.json +2 -2
  19. package/plugins/antigravity/memorix/plugin.json +1 -1
  20. package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
  21. package/plugins/codebuddy/memorix/.codebuddy-plugin/plugin.json +1 -1
  22. package/plugins/codex/memorix/.codex-plugin/plugin.json +1 -1
  23. package/plugins/copilot/memorix/plugin.json +1 -1
  24. package/plugins/gemini/memorix/gemini-extension.json +1 -1
  25. package/plugins/hermes/memorix/plugin.yaml +1 -1
  26. package/plugins/omp/memorix/package.json +1 -1
  27. package/plugins/openclaw/memorix/.codex-plugin/plugin.json +1 -1
  28. package/plugins/pi/memorix/package.json +1 -1
  29. package/server.json +2 -2
  30. package/src/cli/commands/memory.ts +2 -1
  31. package/src/cli/default-mode.ts +15 -0
  32. package/src/cli/index.ts +10 -1
  33. package/src/codegraph/lite-provider.ts +10 -1
  34. package/src/compact/engine.ts +14 -4
  35. package/src/dashboard/maintenance.ts +11 -2
  36. package/src/memory/consolidation.ts +15 -6
  37. package/src/memory/freshness.ts +7 -4
  38. package/src/memory/observations.ts +118 -6
  39. package/src/runtime/vector-backfill-runner.ts +1 -1
  40. package/src/sdk.ts +13 -6
  41. package/src/search/semantic-index.ts +340 -0
  42. package/src/server.ts +1 -1
  43. package/src/store/obs-store.ts +54 -2
  44. package/src/store/orama-store.ts +300 -12
  45. package/src/store/sqlite-db.ts +6 -0
  46. package/src/store/sqlite-fts.ts +164 -0
  47. package/src/store/sqlite-store.ts +83 -6
  48. package/assets/star-history-dark.svg +0 -30
  49. package/assets/star-history-light.svg +0 -30
  50. package/assets/star-history.json +0 -712
@@ -4,6 +4,45 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [1.9.2] - 2026-09-11
8
+
9
+ ### Fixed
10
+ - **Non-interactive MCP startup** -- running the package without arguments
11
+ through piped stdio now starts the MCP server, while a real terminal keeps
12
+ opening the bundled memcode agent. This makes generic npm MCP launchers and
13
+ registry handshake checks use the correct protocol entry point.
14
+ - **Maintenance initialization** -- dashboard Consolidate uses its
15
+ request-scoped observation store, and CLI deduplication initializes the
16
+ project memory LLM before checking availability.
17
+
18
+ ## [1.9.1] - 2026-09-08
19
+
20
+ ### Changed
21
+ - **Large-scale retrieval** -- SQLite FTS5 is now the persistent lexical
22
+ candidate index. It stays synchronized on insert, update, delete, and can be
23
+ rebuilt from the durable observations table.
24
+ - **Disk-backed semantic retrieval** -- the optional local LanceDB shadow index
25
+ stores only vector IDs and metadata, uses HNSW with scalar quantization once
26
+ the corpus is large enough, and fuses bounded semantic candidates with FTS5
27
+ results. Search falls back to Orama when the optional native package is not
28
+ available.
29
+ - **Lazy large-corpus startup** -- projects above the Orama hydration threshold
30
+ keep SQLite as the source of truth and do not load the complete observation
31
+ corpus into the interactive agent process. Detail, export, and maintenance
32
+ paths can still load the data they explicitly need.
33
+ - **Large-store acceptance** -- adds regression coverage and verified gates for
34
+ 1k, 10k, 40k, and 100k records without reducing the durable memory corpus.
35
+ - **Post-threshold vector writes** -- newly generated vectors still reach the
36
+ persistent semantic index after the in-memory Orama corpus is released.
37
+
38
+ ### Fixed
39
+ - **Stale lexical index on upsert** -- replace-style SQLite writes could leave
40
+ old terms in an external-content FTS index. Observation upserts now preserve
41
+ trigger-visible row updates so old terms are removed.
42
+ - **Optional native dependency bundling** -- LanceDB is resolved at runtime so
43
+ unsupported platforms or installations without its native binary continue
44
+ to build and use the FTS5/Orama fallback.
45
+
7
46
  ## [1.9.0] - 2026-09-07
8
47
 
9
48
  ### Added