memorix 1.6.0 → 1.6.2
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 +46 -0
- package/dist/cli/index.js +1888 -1122
- package/dist/cli/memcode.js +12 -1
- package/dist/index.js +641 -113
- package/dist/maintenance-runner.js +618 -90
- package/dist/media-audio-runner.js +618 -90
- package/dist/media-video-runner.js +618 -90
- package/dist/memcode-runtime/CHANGELOG.md +46 -0
- package/dist/sdk.js +674 -117
- package/dist/vector-backfill-runner.js +618 -90
- package/docs/AGENT_OPERATOR_PLAYBOOK.md +11 -3
- package/docs/API_REFERENCE.md +1 -1
- package/docs/DOCKER.md +5 -1
- package/docs/PERFORMANCE.md +17 -2
- package/docs/README.md +3 -1
- package/docs/SETUP.md +8 -2
- package/package.json +2 -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/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/agent-integrations.ts +9 -3
- package/src/cli/commands/background.ts +34 -2
- package/src/cli/commands/doctor.ts +46 -15
- package/src/cli/commands/hook.ts +13 -1
- package/src/cli/commands/operator-shared.ts +6 -3
- package/src/cli/commands/serve-http.ts +72 -7
- package/src/cli/heap.ts +76 -0
- package/src/cli/invocation.ts +7 -4
- package/src/embedding/api-provider.ts +503 -27
- package/src/embedding/provider.ts +96 -9
- package/src/hooks/handler.ts +9 -18
- package/src/hooks/lifecycle.ts +174 -0
- package/src/memory/observations.ts +68 -18
- package/src/sdk.ts +12 -8
- package/src/store/orama-store.ts +21 -3
|
@@ -4,6 +4,52 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [1.6.2] - 2026-08-18
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- **Responsive large-store control plane** -- HTTP health and MCP initialize
|
|
11
|
+
no longer wait for full observation or embedding-cache hydration. Hook writes
|
|
12
|
+
persist directly without loading the full corpus, one-shot CLI paths avoid
|
|
13
|
+
cached-vector attachment, and ordinary embedding-disabled writes stay off
|
|
14
|
+
the provider/configuration hot path. Contributed by
|
|
15
|
+
[@RaviTharuma](https://github.com/RaviTharuma) in #214.
|
|
16
|
+
- **Bounded and crash-safe embedding cache** -- JSONL cache loading is bounded
|
|
17
|
+
by a 256 MiB raw-vector payload budget, legacy JSON migration publishes via
|
|
18
|
+
temporary-file rename, concurrent loads are single-flighted, and sidecar
|
|
19
|
+
metadata avoids rescanning a large cache on every save.
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
- **SDK lifecycle and persistence parity** -- `MemoryClient.close()` releases
|
|
23
|
+
its SQLite handle on Windows, reopening the same directory reloads a fresh
|
|
24
|
+
store snapshot, and SDK clients use the same flat data directory as CLI,
|
|
25
|
+
hooks, and HTTP MCP instead of the retired per-project directory layout.
|
|
26
|
+
- **Correct background entrypoint** -- `memorix background start` launches the
|
|
27
|
+
built HTTP CLI entrypoint rather than the stdio library entry.
|
|
28
|
+
|
|
29
|
+
## [1.6.1] - 2026-08-17
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
- **Bounded hook lifecycle on every desktop platform** -- `memorix hook` now
|
|
33
|
+
reads stdin with an idle bound, performs embedding writes in the deferred
|
|
34
|
+
lane, and has a hard process deadline. The hook-specific V8 heap is 512 MiB
|
|
35
|
+
instead of the control plane's 4 GiB. This prevents hung hook processes and
|
|
36
|
+
associated CPU or memory pressure on macOS, Windows, and Linux. The Windows
|
|
37
|
+
CLI heap restart also hides its child console window.
|
|
38
|
+
- **Recoverable HTTP MCP sessions** -- HTTP MCP sessions now default to a
|
|
39
|
+
12-hour idle window. An expired or unknown session receives a fast `404`
|
|
40
|
+
with a reinitialize hint instead of looking like a silent client hang. Set
|
|
41
|
+
`MEMORIX_SESSION_TIMEOUT_MS=0` only when the host owns lifecycle cleanup.
|
|
42
|
+
- **Truthful embedding diagnostics** -- the HTTP control plane exposes its
|
|
43
|
+
real runtime embedding state. `memorix doctor` reads that state instead of
|
|
44
|
+
reporting a fresh local probe as ready while the running service is degraded
|
|
45
|
+
by authorization, billing, timeout, or upstream failure.
|
|
46
|
+
- **Accurate doctor JSON health** -- a live PID with an unreachable HTTP
|
|
47
|
+
control plane now reports `healthy: false` rather than a false positive.
|
|
48
|
+
|
|
49
|
+
### Changed
|
|
50
|
+
- **macOS release coverage** -- normal CI now runs the full build and test
|
|
51
|
+
suite on `macos-latest` in addition to Ubuntu and Windows.
|
|
52
|
+
|
|
7
53
|
## [1.6.0] - 2026-08-17
|
|
8
54
|
|
|
9
55
|
### Added
|