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.
Files changed (54) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +2 -0
  3. package/README.zh-CN.md +2 -0
  4. package/dist/cli/index.js +855 -231
  5. package/dist/index.js +284 -77
  6. package/dist/maintenance-runner.js +74 -20
  7. package/dist/media-audio-runner.js +74 -20
  8. package/dist/media-video-runner.js +74 -20
  9. package/dist/memcode/index.js +1532 -1002
  10. package/dist/memcode-runtime/CHANGELOG.md +42 -0
  11. package/dist/memcode-runtime/package.json +4 -4
  12. package/dist/sdk.js +283 -76
  13. package/dist/vector-backfill-runner.js +74 -20
  14. package/docs/CONFIGURATION.md +26 -0
  15. package/docs/DEVELOPMENT.md +3 -2
  16. package/docs/INTEGRATIONS.md +3 -1
  17. package/docs/README.md +2 -1
  18. package/docs/SETUP.md +1 -1
  19. package/docs/hooks-architecture.md +5 -0
  20. package/package.json +18 -11
  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/commands/hooks-install.ts +2 -0
  33. package/src/cli/commands/init.ts +6 -2
  34. package/src/cli/commands/integrate.ts +2 -0
  35. package/src/cli/commands/setup.ts +1 -1
  36. package/src/cli/index.ts +2 -2
  37. package/src/cli/tui/ConfigureView.tsx +2 -0
  38. package/src/config/dotenv-loader.ts +1 -0
  39. package/src/config/resolved-config.ts +7 -3
  40. package/src/config/yaml-loader.ts +2 -2
  41. package/src/dashboard/server.ts +3 -0
  42. package/src/hooks/installers/index.ts +219 -31
  43. package/src/hooks/lifecycle.ts +4 -9
  44. package/src/hooks/normalizer.ts +6 -1
  45. package/src/hooks/types.ts +3 -1
  46. package/src/llm/provider.ts +2 -1
  47. package/src/memory/observations.ts +11 -0
  48. package/src/memory/session.ts +4 -13
  49. package/src/memory/visibility.ts +8 -2
  50. package/src/multimodal/image-loader.ts +6 -5
  51. package/src/server.ts +8 -4
  52. package/src/store/obs-store.ts +3 -0
  53. package/src/store/orama-store.ts +43 -6
  54. package/src/store/sqlite-store.ts +15 -0
@@ -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
@@ -53,9 +53,9 @@
53
53
  "minimatch": "10.2.5",
54
54
  "proper-lockfile": "4.1.2",
55
55
  "react": "19.2.7",
56
- "simple-git": "^3.36.0",
56
+ "simple-git": "^4.0.2",
57
57
  "typebox": "1.1.38",
58
- "undici": "8.10.0",
58
+ "undici": "8.11.2",
59
59
  "yaml": "2.9.0"
60
60
  },
61
61
  "overrides": {
@@ -74,9 +74,9 @@
74
74
  "@types/ms": "2.1.0",
75
75
  "@types/node": "24.12.4",
76
76
  "@types/proper-lockfile": "4.1.4",
77
- "shx": "0.4.0",
77
+ "shx": "0.3.4",
78
78
  "typescript": "5.9.3",
79
- "vitest": "3.2.6"
79
+ "vitest": "5.0.3"
80
80
  },
81
81
  "keywords": [
82
82
  "coding-agent",