memorix 1.9.12 → 1.10.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 (59) hide show
  1. package/CHANGELOG.md +31 -1
  2. package/README.md +2 -0
  3. package/README.zh-CN.md +2 -0
  4. package/dist/cli/index.js +720 -142
  5. package/dist/index.d.ts +46 -0
  6. package/dist/index.js +426 -67
  7. package/dist/maintenance-runner.js +199 -5
  8. package/dist/media-audio-runner.js +199 -5
  9. package/dist/media-video-runner.js +199 -5
  10. package/dist/memcode/index.js +124 -8
  11. package/dist/memcode-runtime/CHANGELOG.md +31 -1
  12. package/dist/sdk.js +425 -66
  13. package/dist/vector-backfill-runner.js +199 -5
  14. package/docs/1.2.0-EVALUATION-HARNESS.md +106 -0
  15. package/docs/1.3-MEMORY-ARCHITECTURE.md +31 -0
  16. package/docs/API_REFERENCE.md +19 -0
  17. package/docs/CONFIGURATION.md +25 -0
  18. package/docs/DEVELOPMENT.md +17 -3
  19. package/docs/INTEGRATIONS.md +25 -0
  20. package/docs/PERFORMANCE.md +21 -6
  21. package/docs/README.md +4 -4
  22. package/docs/ROADMAP-1.9.12-2.0.md +99 -7
  23. package/package.json +3 -1
  24. package/plugins/antigravity/memorix/plugin.json +1 -1
  25. package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
  26. package/plugins/codebuddy/memorix/.codebuddy-plugin/plugin.json +1 -1
  27. package/plugins/codex/memorix/.codex-plugin/plugin.json +1 -1
  28. package/plugins/copilot/memorix/plugin.json +1 -1
  29. package/plugins/gemini/memorix/gemini-extension.json +1 -1
  30. package/plugins/hermes/memorix/plugin.yaml +1 -1
  31. package/plugins/omp/memorix/package.json +1 -1
  32. package/plugins/openclaw/memorix/.codex-plugin/plugin.json +1 -1
  33. package/plugins/pi/memorix/package.json +1 -1
  34. package/server.json +2 -2
  35. package/src/cli/commands/agent-integrations.ts +164 -7
  36. package/src/cli/commands/init.ts +6 -2
  37. package/src/cli/commands/memory.ts +1 -1
  38. package/src/cli/commands/serve-http.ts +30 -1
  39. package/src/cli/commands/setup.ts +5 -21
  40. package/src/cli/tui/ConfigureView.tsx +2 -0
  41. package/src/codegraph/auto-context.ts +22 -0
  42. package/src/codegraph/context-pack.ts +19 -0
  43. package/src/compact/engine.ts +54 -2
  44. package/src/config/dotenv-loader.ts +1 -0
  45. package/src/config/resolved-config.ts +5 -2
  46. package/src/config/yaml-loader.ts +2 -2
  47. package/src/dashboard/server.ts +3 -0
  48. package/src/evaluation/context-task-matrix.ts +247 -0
  49. package/src/evaluation/context-task-runner.ts +175 -0
  50. package/src/integrations/registry.ts +191 -4
  51. package/src/knowledge/context-assembly.ts +46 -2
  52. package/src/knowledge/context-receipt.ts +32 -0
  53. package/src/knowledge/workset.ts +43 -3
  54. package/src/llm/provider.ts +2 -1
  55. package/src/multimodal/image-loader.ts +2 -2
  56. package/src/search/derived-view-receipt.ts +22 -0
  57. package/src/server/request-context.ts +96 -0
  58. package/src/server.ts +16 -4
  59. package/src/store/orama-store.ts +116 -0
package/CHANGELOG.md CHANGED
@@ -2,10 +2,40 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## Unreleased (1.9.x)
5
+ ## Unreleased
6
6
 
7
7
  No unreleased changes.
8
8
 
9
+ ## [1.10.1] - 2026-10-23
10
+
11
+ ### Added
12
+ - **Cheaper Inference memory preset** -- optional background memory LLM
13
+ processing through an OpenAI-compatible endpoint, with an isolated
14
+ `CHEAPER_INFERENCE_API_KEY`, CLI/TUI setup and bilingual configuration
15
+ guidance.
16
+ - **Derived-view receipts** -- context and search receipts now expose
17
+ privacy-safe FTS, Orama, embedding, and CodeGraph freshness, generation,
18
+ rebuild status, and bounded failure reasons.
19
+
20
+ ## [1.10.0] - 2026-10-23
21
+
22
+ ### Added
23
+ - **Measured context evaluation** -- adds a reproducible 20-case runtime matrix
24
+ covering continuity, retrieval, safety, runtime binding, and integration
25
+ parity, with token, latency, RSS, fallback, degraded, and review-cost metrics.
26
+ - **Large-store release gates** -- records and verifies 40k and 100k local
27
+ capacity baselines across SDK, HTTP MCP, hooks, SQLite persistence, and SDK
28
+ reopen paths.
29
+
30
+ ### Changed
31
+ - **Retrieval receipts** -- compact search, MCP search, and CLI JSON search now
32
+ expose request-level candidate, selected, omitted, token-budget, and fallback
33
+ diagnostics while keeping query text, raw memory content, and local paths out
34
+ of the receipt.
35
+ - **1.10 development contract** -- documents memory ownership, runtime binding,
36
+ adapter parity, and the measured context baseline as maintained acceptance
37
+ surfaces.
38
+
9
39
  ## [1.9.12] - 2026-10-17
10
40
 
11
41
  ### Fixed
package/README.md CHANGED
@@ -537,6 +537,8 @@ For Requesty, choose Requesty in `memorix init` or set `provider = "requesty"` i
537
537
 
538
538
  For [API Route](https://www.api-route.com), choose API Route in `memorix init` or set `provider = "apiroute"` in `[memory.llm]`. The preset uses `https://global.api-route.com/v1` and `deepseek-v4.1-flash`, with your own `API_ROUTE_API_KEY` or `MEMORIX_LLM_API_KEY`. It is opt-in memory LLM processing; embeddings and memcode's model registry are configured separately. See [configuration](docs/CONFIGURATION.md#api-route-memory-preset).
539
539
 
540
+ For [Cheaper Inference](https://cheaperinference.com), choose Cheaper Inference in `memorix init` or set `provider = "cheaperinference"` in `[memory.llm]`. The preset uses `https://api.cheaperinference.com/v1` and `gpt-5.4-mini`, with your own `CHEAPER_INFERENCE_API_KEY` or `MEMORIX_LLM_API_KEY`. It is opt-in memory LLM processing; embeddings and memcode's model registry are configured separately. See [configuration](docs/CONFIGURATION.md#cheaper-inference-memory-preset).
541
+
540
542
  For controlled MiniMax media generation, set `MINIMAX_API_KEY` (global) or
541
543
  `MINIMAX_CN_API_KEY` (China region) in your environment or `.env`. The media
542
544
  library never stores that key, a signed output URL, or base64 payloads. CLI
package/README.zh-CN.md CHANGED
@@ -510,6 +510,8 @@ OpenAI-compatible 的 `https://api.atlascloud.ai/v1` endpoint,并读取
510
510
 
511
511
  使用 [API Route](https://www.api-route.com) 时,可在 `memorix init` 中选择 API Route,或在 `[memory.llm]` 中设置 `provider = "apiroute"`。预设使用 `https://global.api-route.com/v1` 和 `deepseek-v4.1-flash`,密钥读取自己的 `API_ROUTE_API_KEY` 或 `MEMORIX_LLM_API_KEY`。这是显式启用的记忆 LLM 处理;embedding 和 memcode 模型注册表仍需单独配置。详见[配置说明](docs/CONFIGURATION.md#api-route-memory-preset)。
512
512
 
513
+ 使用 [Cheaper Inference](https://cheaperinference.com) 时,可在 `memorix init` 中选择 Cheaper Inference,或在 `[memory.llm]` 中设置 `provider = "cheaperinference"`。预设使用 `https://api.cheaperinference.com/v1` 和 `gpt-5.4-mini`,密钥读取自己的 `CHEAPER_INFERENCE_API_KEY` 或 `MEMORIX_LLM_API_KEY`。这是显式启用的记忆 LLM 处理;embedding 和 memcode 模型注册表仍需单独配置。详见[配置说明](docs/CONFIGURATION.md#cheaper-inference-memory-preset)。
514
+
513
515
  受控 MiniMax 媒体生成可在环境变量或 `.env` 中设置全局 `MINIMAX_API_KEY`,或中国区 `MINIMAX_CN_API_KEY`。媒体库不会保存该 key、临时签名 URL 或 base64 负载。CLI 生成本身就是显式操作;若要让 MCP 中的 Agent 发起生成,还必须明确设置 `MEMORIX_MCP_MEDIA_GENERATION=1`。
514
516
 
515
517
  <h2 id="docker"><picture><source media="(prefers-color-scheme: dark)" srcset="assets/tags/light/section-docker.svg"><img src="assets/tags/section-docker.svg" alt="Docker" height="32" /></picture></h2>