memorix 1.9.9 → 1.9.11
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 +42 -0
- package/README.md +2 -0
- package/README.zh-CN.md +2 -0
- package/dist/cli/index.js +855 -231
- package/dist/index.js +284 -77
- package/dist/maintenance-runner.js +74 -20
- package/dist/media-audio-runner.js +74 -20
- package/dist/media-video-runner.js +74 -20
- package/dist/memcode/index.js +1532 -1002
- package/dist/memcode-runtime/CHANGELOG.md +42 -0
- package/dist/memcode-runtime/package.json +4 -4
- package/dist/sdk.js +283 -76
- package/dist/vector-backfill-runner.js +74 -20
- package/docs/CONFIGURATION.md +26 -0
- package/docs/DEVELOPMENT.md +3 -2
- package/docs/INTEGRATIONS.md +3 -1
- package/docs/README.md +2 -1
- package/docs/SETUP.md +1 -1
- package/docs/hooks-architecture.md +5 -0
- package/package.json +18 -11
- 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/commands/hooks-install.ts +2 -0
- package/src/cli/commands/init.ts +6 -2
- package/src/cli/commands/integrate.ts +2 -0
- package/src/cli/commands/setup.ts +1 -1
- package/src/cli/index.ts +2 -2
- package/src/cli/tui/ConfigureView.tsx +2 -0
- package/src/config/dotenv-loader.ts +1 -0
- package/src/config/resolved-config.ts +7 -3
- package/src/config/yaml-loader.ts +2 -2
- package/src/dashboard/server.ts +3 -0
- package/src/hooks/installers/index.ts +219 -31
- package/src/hooks/lifecycle.ts +4 -9
- package/src/hooks/normalizer.ts +6 -1
- package/src/hooks/types.ts +3 -1
- package/src/llm/provider.ts +2 -1
- package/src/memory/observations.ts +11 -0
- package/src/memory/session.ts +4 -13
- package/src/memory/visibility.ts +8 -2
- package/src/multimodal/image-loader.ts +6 -5
- package/src/server.ts +8 -4
- package/src/store/obs-store.ts +3 -0
- package/src/store/orama-store.ts +43 -6
- package/src/store/sqlite-store.ts +15 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,48 @@ All notable changes to this project will be documented in this file.
|
|
|
6
6
|
|
|
7
7
|
No unreleased changes.
|
|
8
8
|
|
|
9
|
+
## [1.9.11] - 2026-10-16
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- **CJK full-text search** -- the in-memory Orama index now keeps the default
|
|
13
|
+
Latin tokenizer behavior while adding bounded character n-grams for Chinese,
|
|
14
|
+
Japanese, and Korean text, so exact titles and short CJK queries work when
|
|
15
|
+
embeddings are disabled.
|
|
16
|
+
- **Runtime supply-chain baseline** -- refreshed the MCP SDK, Git adapter,
|
|
17
|
+
HTTP client, URL/IP parsers, Hono, LanceDB, Sharp, and related lockfile
|
|
18
|
+
resolutions; the production dependency audit is now clean.
|
|
19
|
+
- **Large-store alias migration** -- startup project-ID normalization now uses a
|
|
20
|
+
bounded SQLite update instead of requiring the full observation corpus in
|
|
21
|
+
memory. The FTS5 triggers and storage generation stay current.
|
|
22
|
+
- **Alias-aware search visibility** -- observations retained under a merged
|
|
23
|
+
project alias are readable through the same alias-expanded search scope.
|
|
24
|
+
- **Hybrid search recovery** -- an empty or stale derived semantic result now
|
|
25
|
+
falls back to the durable lexical path instead of becoming a silent empty
|
|
26
|
+
answer.
|
|
27
|
+
- **Search CLI parity** -- `memorix search "query"` and
|
|
28
|
+
`memorix search --query "query"` now share the same argument contract.
|
|
29
|
+
- **Pi hooks on Node 26** -- hook stdin is paused and unrefed without closing
|
|
30
|
+
file descriptor 0, so subsequent synchronous Git detection remains safe when
|
|
31
|
+
a host supplies hook input through a regular file.
|
|
32
|
+
|
|
33
|
+
### Added
|
|
34
|
+
- **Qwen Code hooks** -- `memorix hooks install --agent qwen` writes the
|
|
35
|
+
official `.qwen/settings.json` hook shape, preserves user settings, and
|
|
36
|
+
installs project/global `QWEN.md` guidance. iFlow is not targeted because its
|
|
37
|
+
official CLI service was retired in April 2026.
|
|
38
|
+
- **API Route memory preset** -- optional background memory LLM processing
|
|
39
|
+
through an OpenAI-compatible endpoint, with an isolated `API_ROUTE_API_KEY`,
|
|
40
|
+
CLI/TUI setup and bilingual configuration guidance.
|
|
41
|
+
|
|
42
|
+
## [1.9.10] - 2026-10-08
|
|
43
|
+
|
|
44
|
+
### Fixed
|
|
45
|
+
- **OpenCode 1.x regression** -- generated plugins now include the v1
|
|
46
|
+
`server` field alongside the v2 `setup` contract, so OpenCode 1.x can load
|
|
47
|
+
the legacy named export. Lifecycle, file, command, message, and compaction
|
|
48
|
+
events are also forwarded through the v1 generic `event` hook, with a longer
|
|
49
|
+
Windows hook timeout to reduce stale Bun timer failures.
|
|
50
|
+
|
|
9
51
|
## [1.9.9] - 2026-10-02
|
|
10
52
|
|
|
11
53
|
### Added
|
package/README.md
CHANGED
|
@@ -535,6 +535,8 @@ For OpenRouter embeddings, use `provider = "api"`, `base_url = "https://openrout
|
|
|
535
535
|
|
|
536
536
|
For Requesty, choose Requesty in `memorix init` or set `provider = "requesty"` in `[memory.llm]` (endpoint `https://router.requesty.ai/v1`, key from `REQUESTY_API_KEY` or `MEMORIX_LLM_API_KEY`). Requesty embeddings use `provider = "api"`, `base_url = "https://router.requesty.ai/v1"`, and `model = "openai/text-embedding-3-small"` with `REQUESTY_API_KEY`.
|
|
537
537
|
|
|
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
|
+
|
|
538
540
|
For controlled MiniMax media generation, set `MINIMAX_API_KEY` (global) or
|
|
539
541
|
`MINIMAX_CN_API_KEY` (China region) in your environment or `.env`. The media
|
|
540
542
|
library never stores that key, a signed output URL, or base64 payloads. CLI
|
package/README.zh-CN.md
CHANGED
|
@@ -508,6 +508,8 @@ OpenAI-compatible 的 `https://api.atlascloud.ai/v1` endpoint,并读取
|
|
|
508
508
|
|
|
509
509
|
使用 Requesty 时,可在 `memorix init` 中选择 Requesty,或在 `[memory.llm]` 中设置 `provider = "requesty"`(endpoint 为 `https://router.requesty.ai/v1`,key 读取 `REQUESTY_API_KEY` 或 `MEMORIX_LLM_API_KEY`)。Requesty embedding 使用 `provider = "api"`、`base_url = "https://router.requesty.ai/v1"`、`model = "openai/text-embedding-3-small"`,并读取 `REQUESTY_API_KEY`。
|
|
510
510
|
|
|
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
|
+
|
|
511
513
|
受控 MiniMax 媒体生成可在环境变量或 `.env` 中设置全局 `MINIMAX_API_KEY`,或中国区 `MINIMAX_CN_API_KEY`。媒体库不会保存该 key、临时签名 URL 或 base64 负载。CLI 生成本身就是显式操作;若要让 MCP 中的 Agent 发起生成,还必须明确设置 `MEMORIX_MCP_MEDIA_GENERATION=1`。
|
|
512
514
|
|
|
513
515
|
<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>
|