memorix 1.10.3 → 1.10.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/CHANGELOG.md +62 -1
- package/dist/cli/index.js +1886 -1273
- package/dist/index.js +1724 -1088
- package/dist/{maintenance-jobs-DVRF-46r.d.ts → maintenance-jobs-DweoCoTT.d.ts} +25 -15
- package/dist/maintenance-runner.d.ts +1 -1
- package/dist/maintenance-runner.js +694 -172
- package/dist/media-audio-runner.js +685 -164
- package/dist/media-video-runner.js +693 -172
- package/dist/memcode-runtime/CHANGELOG.md +44 -1
- package/dist/sdk.js +13952 -13345
- package/dist/vector-backfill-runner.d.ts +1 -1
- package/dist/vector-backfill-runner.js +693 -172
- package/docs/ARCHITECTURE.md +219 -0
- package/docs/CONFIGURATION.md +15 -0
- package/docs/DESIGN_DECISIONS.md +37 -0
- package/docs/DEVELOPMENT.md +1 -1
- package/docs/MODULES.md +7 -1
- package/docs/PERFORMANCE.md +14 -0
- package/docs/README.md +1 -1
- package/docs/ROADMAP-1.9.12-2.0.md +18 -2
- package/package.json +1 -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/tui/chat-service.ts +6 -9
- package/src/cli/tui/data.ts +2 -2
- package/src/codegraph/auto-context.ts +9 -2
- package/src/codegraph/derived-view.ts +63 -0
- package/src/compact/engine.ts +10 -33
- package/src/config/resolved-config.ts +11 -0
- package/src/config/retrieval-strategy.ts +22 -0
- package/src/config/toml-loader.ts +5 -0
- package/src/config/yaml-loader.ts +7 -0
- package/src/core/derived-view.ts +15 -0
- package/src/core/maintenance-result.ts +33 -0
- package/src/core/retrieval-contracts.ts +57 -0
- package/src/core/retrieval-facade.ts +18 -0
- package/src/core/retrieval-policy.ts +44 -0
- package/src/core/runtime-context.ts +42 -0
- package/src/embedding/api-provider.ts +18 -8
- package/src/knowledge/workset.ts +0 -2
- package/src/memory/consolidation.ts +3 -2
- package/src/memory/feedback-model.ts +1 -4
- package/src/memory/observations.ts +165 -87
- package/src/runtime/control-plane-maintenance.ts +1 -0
- package/src/runtime/isolated-maintenance.ts +1 -0
- package/src/runtime/maintenance-jobs.ts +123 -32
- package/src/runtime/project-maintenance.ts +69 -1
- package/src/sdk.ts +3 -2
- package/src/search/fts-view.ts +53 -0
- package/src/search/orama-view.ts +40 -0
- package/src/search/retrieval-facade.ts +38 -0
- package/src/search/semantic-index.ts +13 -0
- package/src/search/semantic-view.ts +34 -0
- package/src/server.ts +19 -7
- package/src/store/obs-store.ts +15 -0
- package/src/store/orama-store.ts +116 -42
- package/src/store/sqlite-db.ts +22 -0
- package/src/store/sqlite-store.ts +27 -0
|
@@ -4,7 +4,50 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### Fixed
|
|
8
|
+
- Embedding API requests now retry transport-level failures such as stale
|
|
9
|
+
keep-alive sockets, while preserving timeout, cancellation, and `retry = false`
|
|
10
|
+
behavior (#397).
|
|
11
|
+
- Large API embedding-cache restores yield through the timer phase in small
|
|
12
|
+
batches and start after provider initialization, keeping formation deadlines
|
|
13
|
+
and HTTP control-plane work responsive (#398).
|
|
14
|
+
- Fixed consolidation false positives for Korean and punctuation-only records;
|
|
15
|
+
queued automatic cleanup jobs now honor `auto_cleanup = false` at execution
|
|
16
|
+
time (#385).
|
|
17
|
+
- Observation writes now persist an idempotent CodeGraph/evidence projection
|
|
18
|
+
job in the same SQLite transaction; successful foreground projections
|
|
19
|
+
acknowledge it, while failures remain recoverable by maintenance.
|
|
20
|
+
- Added common `DerivedView` adapters for SQLite FTS5 and Orama with explicit
|
|
21
|
+
status, rebuild/refresh, compact, and close lifecycle methods.
|
|
22
|
+
- Added a CodeGraph `DerivedView` adapter for Lite refresh, status, SQLite
|
|
23
|
+
compaction, and lifecycle shutdown.
|
|
24
|
+
- Release workflow now runs automatically for published GitHub Releases and
|
|
25
|
+
requires npm visibility before MCP Registry publication.
|
|
26
|
+
- `memorix@1.10.3` is now publicly available on npm from the existing release
|
|
27
|
+
tag; its registry shasum is `46410b77e0808be58d445bdf2abafdac4f7ba718`.
|
|
28
|
+
- Workset assembly now accepts only request-scoped derived-view receipts,
|
|
29
|
+
preventing a concurrent search from leaking FTS/Orama state into context.
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
- Search execution now returns a request-scoped receipt to compact search,
|
|
33
|
+
index probes, and TUI chat, so concurrent requests cannot exchange diagnostics.
|
|
34
|
+
- Observation inserts and topic-key updates commit canonical SQLite rows with
|
|
35
|
+
vector, qualification, and claim-derivation jobs in one transaction.
|
|
36
|
+
- A deduplicated maintenance job records writes received while it is running
|
|
37
|
+
and schedules a follow-up pass, including after worker failure or lease loss.
|
|
38
|
+
- Maintenance progress now has one kernel result contract; negative, fractional,
|
|
39
|
+
non-finite, and inconsistent counts cannot be persisted as successful work.
|
|
40
|
+
- SDK, TUI, compact search, and MCP retrieval now share the RetrievalFacade;
|
|
41
|
+
feedback state is read from the active canonical store and reported separately
|
|
42
|
+
from embedding fallback.
|
|
43
|
+
- Topic-key updates publish their Orama projection only after the canonical
|
|
44
|
+
transaction commits; failed updates or linked-record callbacks leave the prior
|
|
45
|
+
searchable record intact.
|
|
46
|
+
|
|
47
|
+
### Verification
|
|
48
|
+
- The 20-case context task matrix and the 40,000-record local store gate pass
|
|
49
|
+
on Windows/Node 22 with embeddings disabled. This is offline fixture evidence,
|
|
50
|
+
not a claim about remote embedding quality.
|
|
8
51
|
|
|
9
52
|
## [1.10.3] - 2026-11-05
|
|
10
53
|
|