memorix 1.8.9 → 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.
- package/CHANGELOG.md +46 -0
- package/README.md +12 -1
- package/README.zh-CN.md +7 -1
- package/dist/cli/index.js +4764 -2186
- package/dist/index.js +2703 -1901
- package/dist/maintenance-runner.js +1966 -1129
- package/dist/media-audio-runner.js +2465 -1628
- package/dist/media-video-runner.js +2465 -1628
- package/dist/memcode-runtime/CHANGELOG.md +46 -0
- package/dist/sdk.js +2765 -1899
- package/dist/vector-backfill-runner.d.ts +4 -1
- package/dist/vector-backfill-runner.js +2466 -1627
- package/docs/API_REFERENCE.md +14 -0
- package/docs/CONFIGURATION.md +68 -0
- package/docs/DEVELOPMENT.md +3 -3
- package/docs/MULTI-DEVICE-SYNC-RESEARCH.md +344 -0
- package/docs/PERFORMANCE.md +109 -20
- package/docs/README.md +4 -2
- package/llms-full.txt +1 -0
- package/llms.txt +1 -0
- package/package.json +2 -1
- package/plugins/antigravity/memorix/plugin.json +1 -1
- package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
- package/plugins/codebuddy/memorix/.codebuddy-plugin/plugin.json +1 -1
- package/plugins/codex/memorix/.codex-plugin/plugin.json +1 -1
- package/plugins/copilot/memorix/plugin.json +1 -1
- package/plugins/gemini/memorix/gemini-extension.json +1 -1
- package/plugins/hermes/memorix/plugin.yaml +1 -1
- package/plugins/omp/memorix/package.json +1 -1
- package/plugins/openclaw/memorix/.codex-plugin/plugin.json +1 -1
- package/plugins/pi/memorix/package.json +1 -1
- package/server.json +2 -2
- package/src/cli/command-guide.ts +9 -1
- package/src/cli/commands/serve-http.ts +11 -0
- package/src/cli/commands/sync-store.ts +191 -0
- package/src/cli/commands/sync.ts +8 -0
- package/src/compact/engine.ts +14 -4
- package/src/memory/freshness.ts +7 -4
- package/src/memory/observations.ts +133 -8
- package/src/runtime/maintenance-targets.ts +6 -0
- package/src/runtime/vector-backfill-runner.ts +186 -8
- package/src/sdk.ts +13 -6
- package/src/search/semantic-index.ts +340 -0
- package/src/server.ts +1 -1
- package/src/store/obs-store.ts +54 -2
- package/src/store/orama-store.ts +385 -114
- package/src/store/sqlite-db.ts +6 -0
- package/src/store/sqlite-fts.ts +164 -0
- package/src/store/sqlite-store.ts +83 -6
- package/src/sync/adapters/fs.ts +179 -0
- package/src/sync/adapters/github.ts +258 -0
- package/src/sync/adapters/object-store.ts +267 -0
- package/src/sync/adapters/postgres.ts +269 -0
- package/src/sync/engine.ts +353 -0
- package/src/sync/journal.ts +162 -0
- package/src/sync/merge.ts +116 -0
- package/src/sync/namespace.ts +15 -0
- package/src/sync/paging.ts +45 -0
- package/src/sync/policy.ts +37 -0
- package/src/sync/remote-factory.ts +49 -0
- package/src/sync/store-port.ts +288 -0
- package/src/sync/types.ts +183 -0
|
@@ -4,6 +4,52 @@ 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
|
+
|
|
35
|
+
## [1.9.0] - 2026-09-07
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
- **Opt-in multi-device sync** -- adds a project-scoped observation
|
|
39
|
+
event contract with privacy filtering, local outbox retry, conflict evidence,
|
|
40
|
+
device-clone protection, bounded relay pulls, and filesystem/GitHub/S3/
|
|
41
|
+
Postgres transport boundaries. It is disabled by default and keeps local
|
|
42
|
+
SQLite as the canonical store.
|
|
43
|
+
- **Sync hardening** -- retracts records that become private or agent-targeted,
|
|
44
|
+
keeps imported observations and sync state atomic, rejects immutable-key
|
|
45
|
+
collisions, verifies every pulled content hash, and uses stable continuation
|
|
46
|
+
cursors so large pulls do not skip events.
|
|
47
|
+
- **Resource hardening** -- coalesces deferred vector workers across hook
|
|
48
|
+
processes, respects retry cooldowns, drains due vector jobs through one
|
|
49
|
+
recoverable worker, removes the redundant full-document detail cache, and
|
|
50
|
+
batches startup vector hydration to reduce CPU/RAM peaks without imposing a
|
|
51
|
+
small corpus limit.
|
|
52
|
+
|
|
7
53
|
## [1.8.9] - 2026-09-06
|
|
8
54
|
|
|
9
55
|
### Added
|