memorix 1.9.5 → 1.9.7

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 (64) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/README.md +6 -1
  3. package/README.zh-CN.md +6 -1
  4. package/dist/cli/index.js +1743 -348
  5. package/dist/index.d.ts +12 -7
  6. package/dist/index.js +1048 -266
  7. package/dist/maintenance-runner.js +339 -187
  8. package/dist/media-audio-runner.js +339 -187
  9. package/dist/media-video-runner.js +339 -187
  10. package/dist/memcode-runtime/CHANGELOG.md +53 -0
  11. package/dist/sdk.js +967 -241
  12. package/dist/vector-backfill-runner.js +339 -187
  13. package/docs/API_REFERENCE.md +36 -0
  14. package/docs/CONFIGURATION.md +43 -0
  15. package/docs/DEVELOPMENT.md +1 -1
  16. package/docs/KNOWN_ISSUES_AND_ROADMAP.md +49 -14
  17. package/docs/PERFORMANCE.md +46 -2
  18. package/docs/README.md +2 -1
  19. package/docs/SETUP.md +1 -1
  20. package/package.json +2 -1
  21. package/plugins/antigravity/memorix/plugin.json +1 -1
  22. package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
  23. package/plugins/codebuddy/memorix/.codebuddy-plugin/plugin.json +1 -1
  24. package/plugins/codex/memorix/.codex-plugin/plugin.json +1 -1
  25. package/plugins/copilot/memorix/plugin.json +1 -1
  26. package/plugins/gemini/memorix/gemini-extension.json +1 -1
  27. package/plugins/hermes/memorix/plugin.yaml +1 -1
  28. package/plugins/omp/memorix/package.json +1 -1
  29. package/plugins/openclaw/memorix/.codex-plugin/plugin.json +1 -1
  30. package/plugins/pi/memorix/package.json +1 -1
  31. package/server.json +2 -2
  32. package/src/cli/capability-map.ts +1 -0
  33. package/src/cli/command-guide.ts +13 -1
  34. package/src/cli/commands/context.ts +2 -0
  35. package/src/cli/commands/continuity.ts +155 -0
  36. package/src/cli/commands/init.ts +5 -2
  37. package/src/cli/commands/serve-http.ts +242 -42
  38. package/src/cli/index.ts +3 -1
  39. package/src/cli/tui/ConfigureView.tsx +2 -0
  40. package/src/codegraph/auto-context.ts +17 -0
  41. package/src/config/legacy-loader.ts +2 -2
  42. package/src/config/resolved-config.ts +8 -5
  43. package/src/config/yaml-loader.ts +20 -10
  44. package/src/embedding/api-provider.ts +4 -2
  45. package/src/embedding/fastembed-provider.ts +47 -14
  46. package/src/embedding/transformers-provider.ts +29 -7
  47. package/src/evaluation/memory-quality-gate.ts +90 -0
  48. package/src/hooks/official-skills.ts +2 -0
  49. package/src/knowledge/context-assembly.ts +1 -0
  50. package/src/knowledge/context-receipt.ts +15 -0
  51. package/src/knowledge/task-continuity.ts +413 -0
  52. package/src/knowledge/workset.ts +77 -0
  53. package/src/llm/provider.ts +2 -1
  54. package/src/orchestrate/coordinator.ts +60 -0
  55. package/src/orchestrate/effect-ledger.ts +160 -0
  56. package/src/orchestrate/pipeline-trace.ts +40 -6
  57. package/src/runtime/maintenance-jobs.ts +12 -6
  58. package/src/server/modern-mcp-bridge.ts +153 -27
  59. package/src/server/tool-profile.ts +3 -2
  60. package/src/server.ts +129 -5
  61. package/src/store/orama-store.ts +16 -1
  62. package/src/store/sqlite-db.ts +144 -4
  63. package/src/store/sqlite-fts.ts +38 -16
  64. package/src/team/team-store.ts +62 -27
@@ -2,6 +2,59 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## Unreleased (1.9.x)
6
+
7
+ No unreleased changes.
8
+
9
+ ## [1.9.7] - 2026-09-28
10
+
11
+ ### Fixed
12
+ - **SQLite FTS5 startup resilience** -- transient `SQLITE_BUSY` contention during
13
+ lexical-index initialization is retried before FTS5 is marked unavailable.
14
+ - **Large-store search fallback** -- runtime embedding failure, provider
15
+ disappearance, and vector-dimension mismatch now all fall back to the durable
16
+ SQLite lexical index instead of returning a silent empty result.
17
+ - **Release metadata** -- synchronized the npm, MCP Registry, and packaged
18
+ integration metadata for the 1.9.7 patch release.
19
+
20
+ ## [1.9.6] - 2026-09-22
21
+
22
+ ### Added
23
+ - **Task continuity ledger** -- adds a project-scoped append-only
24
+ ledger for requirements, decisions, verification, risks, and outcomes. The
25
+ bounded Project Context can include a ledger by `taskId`; no automatic
26
+ promotion or LLM summarization is performed.
27
+ - **Continuity outcome projection** -- adds deterministic validated, at-risk,
28
+ in-progress, and unverified states plus replay coverage. Diagnostic scores are
29
+ exposed in receipts only and do not silently reorder memories.
30
+ - **Infrastructure lifecycle closeout** -- bounds HTTP sessions and SQLite
31
+ handles, reuses project business runtimes behind fresh modern MCP protocol
32
+ shells, records event-loop/resource health, and adds a deterministic memory
33
+ quality gate.
34
+ - **Atlas Cloud memory preset** -- `memorix init` and the configuration TUI can
35
+ select Atlas Cloud for optional background memory LLM work through its
36
+ OpenAI-compatible endpoint, with provider-specific key isolation.
37
+
38
+ ### Fixed
39
+ - **Configuration scope isolation** -- explicit home/project resolution now
40
+ applies consistently to TOML, YAML, legacy JSON, and `.env` loading, so
41
+ long-lived processes and tests cannot reuse another configuration scope.
42
+ - **OrcaRouter documentation** -- documents the existing OpenAI-compatible
43
+ gateway path with fixed-model and fallback guidance; no vendor-specific
44
+ provider branch is required.
45
+ - **Capacity closeout** -- TeamStore queries, maintenance history, embedding
46
+ caches, HTTP project caches, and large-store behavior are bounded and
47
+ regression-covered.
48
+ - **Stable coordination queue order** -- available tasks now dispatch FIFO with
49
+ a SQLite rowid tie-breaker, preventing cross-platform adapter-routing flakes
50
+ when task timestamps collide.
51
+ - **Continuity correctness** -- verification obligations can move between
52
+ statuses by stable ID, retries are idempotent, open risks are visible in the
53
+ outcome state, and the 200-event cap is enforced transactionally.
54
+ - **Replay-safe orchestration evidence** -- tool effects are recorded with
55
+ redacted fingerprints, risk tiers, replay policy, and unknown-after-crash
56
+ status without persisting raw tool arguments or output.
57
+
5
58
  ## [1.9.5] - 2026-09-20
6
59
 
7
60
  ### Added