memorix 1.10.1 → 1.10.3

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 (73) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +3 -1
  3. package/README.zh-CN.md +3 -1
  4. package/dist/cli/index.js +810 -379
  5. package/dist/cli/memcode.js +0 -0
  6. package/dist/index.js +380 -142
  7. package/dist/maintenance-runner.js +275 -79
  8. package/dist/media-audio-runner.js +247 -51
  9. package/dist/media-video-runner.js +274 -78
  10. package/dist/memcode-runtime/CHANGELOG.md +34 -0
  11. package/dist/sdk.js +431 -142
  12. package/dist/types.d.ts +1 -1
  13. package/dist/vector-backfill-runner.js +274 -78
  14. package/docs/CONFIGURATION.md +34 -0
  15. package/docs/DEVELOPMENT.md +3 -4
  16. package/docs/INTEGRATIONS.md +1 -1
  17. package/docs/PERFORMANCE.md +23 -0
  18. package/docs/README.md +3 -2
  19. package/docs/ROADMAP-1.9.12-2.0.md +2 -2
  20. package/docs/SETUP.md +19 -4
  21. package/package.json +1 -1
  22. package/plugins/antigravity/memorix/plugin.json +1 -1
  23. package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
  24. package/plugins/codebuddy/memorix/.codebuddy-plugin/plugin.json +1 -1
  25. package/plugins/codex/memorix/.codex-plugin/plugin.json +1 -1
  26. package/plugins/copilot/memorix/plugin.json +1 -1
  27. package/plugins/gemini/memorix/gemini-extension.json +1 -1
  28. package/plugins/hermes/memorix/__init__.py +1 -2
  29. package/plugins/hermes/memorix/plugin.yaml +1 -1
  30. package/plugins/omp/memorix/package.json +1 -1
  31. package/plugins/openclaw/memorix/.codex-plugin/plugin.json +1 -1
  32. package/plugins/pi/memorix/package.json +1 -1
  33. package/server.json +2 -2
  34. package/src/cli/commands/agent-integrations.ts +1 -1
  35. package/src/cli/commands/background.ts +1 -1
  36. package/src/cli/commands/context.ts +3 -2
  37. package/src/cli/commands/doctor.ts +9 -0
  38. package/src/cli/commands/explain.ts +3 -2
  39. package/src/cli/commands/init.ts +6 -2
  40. package/src/cli/commands/repair.ts +17 -3
  41. package/src/cli/commands/setup.ts +9 -6
  42. package/src/cli/commands/uninstall.ts +15 -0
  43. package/src/cli/tui/App.tsx +9 -16
  44. package/src/cli/tui/ConfigureView.tsx +2 -0
  45. package/src/codegraph/auto-context.ts +1 -1
  46. package/src/codegraph/store.ts +37 -0
  47. package/src/codegraph/types.ts +3 -0
  48. package/src/compact/index-format.ts +1 -1
  49. package/src/config/dotenv-loader.ts +1 -0
  50. package/src/config/resolved-config.ts +7 -2
  51. package/src/config/toml-loader.ts +1 -0
  52. package/src/config/yaml-loader.ts +4 -2
  53. package/src/dashboard/server.ts +5 -6
  54. package/src/hooks/handler.ts +0 -1
  55. package/src/integrations/registry.ts +2 -1
  56. package/src/knowledge/context-receipt.ts +6 -3
  57. package/src/llm/provider.ts +2 -1
  58. package/src/memory/observations.ts +68 -22
  59. package/src/multimodal/image-loader.ts +2 -2
  60. package/src/runtime/open-browser.ts +25 -0
  61. package/src/search/derived-view-receipt.ts +40 -0
  62. package/src/search/semantic-index.ts +149 -1
  63. package/src/server.ts +20 -5
  64. package/src/store/orama-store.ts +59 -19
  65. package/src/types.ts +1 -1
  66. package/src/workspace/mcp-adapters/pi.ts +58 -0
  67. package/plugins/pi/memorix/skills/memorix-git-memory/SKILL.md +0 -26
  68. package/plugins/pi/memorix/skills/memorix-memory/SKILL.md +0 -51
  69. package/plugins/pi/memorix/skills/memorix-mini-skills/SKILL.md +0 -31
  70. package/plugins/pi/memorix/skills/memorix-orchestrate/SKILL.md +0 -28
  71. package/plugins/pi/memorix/skills/memorix-reasoning/SKILL.md +0 -30
  72. package/plugins/pi/memorix/skills/memorix-sessions/SKILL.md +0 -25
  73. package/plugins/pi/memorix/skills/memorix-troubleshooting/SKILL.md +0 -27
package/CHANGELOG.md CHANGED
@@ -6,6 +6,40 @@ All notable changes to this project will be documented in this file.
6
6
 
7
7
  No unreleased changes.
8
8
 
9
+ ## [1.10.3] - 2026-11-05
10
+
11
+ ### Added
12
+ - Pi 1.0+ native MCP setup through project or user `mcp.json`, with stdio and
13
+ HTTP transports alongside the existing extension and shared skills (#367).
14
+
15
+ ### Fixed
16
+ - CodeGraph now retains two snapshots, sweeps stale derived symbols and edges,
17
+ compacts SQLite after cleanup, and supports `codegraph.auto_refresh`.
18
+ - Lazy large-corpus mode now initializes vector schema and backfills missing
19
+ vectors from durable SQLite/Lance state (#374).
20
+ - CJK-heavy search avoids fuzzy traversal over character and bigram tokens;
21
+ project affinity is bounded to a tie-break so strong lexical matches stay on
22
+ top (#373, #375).
23
+ - Dashboard and TUI browser launches no longer interpolate URLs into shell
24
+ commands; release workflows retain the existing tested action references.
25
+ - **Runcrate memory preset** -- optional background memory LLM processing
26
+ through an OpenAI-compatible endpoint for open-weight models, with an isolated
27
+ `RUNCRATE_API_KEY`, CLI/TUI setup and bilingual configuration guidance.
28
+
29
+ ## [1.10.2] - 2026-10-30
30
+
31
+ ### Fixed
32
+ - LanceDB semantic-index writes are batched and periodically optimized, with
33
+ `memorix repair index` available to compact older inflated indexes safely.
34
+ Startup now checks persisted vector IDs before scheduling re-embedding or
35
+ rewriting cached vectors.
36
+ - Derived-view receipts now report degraded embedding health and redact local
37
+ paths and credentials from failure reasons.
38
+ - Hermes now registers bundled skills by file path, matching the current
39
+ plugin API (#366).
40
+ - MCP search results and the session-start card are available in
41
+ `structuredContent` for clients that do not display text blocks (#368).
42
+
9
43
  ## [1.10.1] - 2026-10-23
10
44
 
11
45
  ### Added
package/README.md CHANGED
@@ -287,7 +287,7 @@ What it installs depends on the target agent, but the goal is the same: make Mem
287
287
  - Claude Code: installs the Memorix plugin package, adds `CLAUDE.md` guidance, and enables hook capture when you do not pass `--noHooks`.
288
288
  - Codex: installs one user-level Memorix plugin with bundled stdio MCP, skills, and lifecycle hooks. It does not write project-local `.codex` config or change your model, approval, or sandbox settings. When Codex asks, review the plugin hook definition once with `/hooks`; `--noHooks` skips automatic capture.
289
289
  - GitHub Copilot CLI: installs the Copilot plugin package and official Memorix skills.
290
- - Pi: installs the user-level Pi package and official skills.
290
+ - Pi: installs the Pi extension/skills package and native MCP config (Pi 1.0+): `~/.pi/agent/mcp.json` with `--global`, or `.pi/mcp.json` for project setup.
291
291
  - Cursor: writes Cursor MCP/rules/config entries in the chosen scope.
292
292
  - Gemini CLI: installs the extension package, `GEMINI.md` context, hooks, and skills. Antigravity CLI has an official Gemini CLI migration path, but Gemini CLI remains an active standalone target.
293
293
  - OpenCode: installs the local plugin file, `opencode.json`, skills, and `AGENTS.md` guidance.
@@ -539,6 +539,8 @@ For [API Route](https://www.api-route.com), choose API Route in `memorix init` o
539
539
 
540
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
541
 
542
+ For [Runcrate](https://runcrate.ai), choose Runcrate in `memorix init` or set `provider = "runcrate"` in `[memory.llm]`. The preset uses `https://api.runcrate.ai/v1` and the open-weight `deepseek-ai/DeepSeek-V4.1-Flash`, with your own `RUNCRATE_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#runcrate-memory-preset).
543
+
542
544
  For controlled MiniMax media generation, set `MINIMAX_API_KEY` (global) or
543
545
  `MINIMAX_CN_API_KEY` (China region) in your environment or `.env`. The media
544
546
  library never stores that key, a signed output URL, or base64 payloads. CLI
package/README.zh-CN.md CHANGED
@@ -281,7 +281,7 @@ memorix setup --agent grok --global
281
281
  - Claude Code:安装 Memorix 插件包,写入 `CLAUDE.md` 使用规范;不加 `--noHooks` 时会启用自动捕获。
282
282
  - Codex:安装包含 stdio MCP、skills 和生命周期 hooks 的 Memorix 插件包,并写入 `AGENTS.md` 使用规范。Codex 首次要求时,在 `/hooks` 中审核一次插件 hook;使用 `--noHooks` 可跳过自动捕获。
283
283
  - GitHub Copilot CLI:安装 Copilot 插件包和官方 Memorix skills。
284
- - Pi:安装用户级 Pi package 和官方 skills。
284
+ - Pi:安装 Pi extension/skills package 和原生 MCP 配置(Pi 1.0+):`--global` 写入 `~/.pi/agent/mcp.json`,项目级安装写入 `.pi/mcp.json`。
285
285
  - Cursor:写入 Cursor 的 MCP / rules / 配置。
286
286
  - Gemini CLI:安装 extension package、`GEMINI.md` 上下文、hooks 和 skills。Antigravity CLI 有官方 Gemini CLI migration 路径,但 Gemini CLI 仍是活跃的独立 target。
287
287
  - OpenCode:安装本地插件文件、`opencode.json`、skills 和 `AGENTS.md` 指引。
@@ -512,6 +512,8 @@ OpenAI-compatible 的 `https://api.atlascloud.ai/v1` endpoint,并读取
512
512
 
513
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
514
 
515
+ 使用 [Runcrate](https://runcrate.ai) 时,可在 `memorix init` 中选择 Runcrate,或在 `[memory.llm]` 中设置 `provider = "runcrate"`。预设使用 `https://api.runcrate.ai/v1` 和开放权重模型 `deepseek-ai/DeepSeek-V4.1-Flash`,密钥读取自己的 `RUNCRATE_API_KEY` 或 `MEMORIX_LLM_API_KEY`。这是显式启用的记忆 LLM 处理;embedding 和 memcode 模型注册表仍需单独配置。详见[配置说明](docs/CONFIGURATION.md#runcrate-memory-preset)。
516
+
515
517
  受控 MiniMax 媒体生成可在环境变量或 `.env` 中设置全局 `MINIMAX_API_KEY`,或中国区 `MINIMAX_CN_API_KEY`。媒体库不会保存该 key、临时签名 URL 或 base64 负载。CLI 生成本身就是显式操作;若要让 MCP 中的 Agent 发起生成,还必须明确设置 `MEMORIX_MCP_MEDIA_GENERATION=1`。
516
518
 
517
519
  <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>