memorix 1.9.4 → 1.9.6
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 +75 -1
- package/README.md +12 -6
- package/README.zh-CN.md +12 -6
- package/dist/cli/index.js +2533 -585
- package/dist/index.d.ts +15 -8
- package/dist/index.js +1201 -284
- package/dist/maintenance-runner.js +387 -216
- package/dist/media-audio-runner.js +300 -129
- package/dist/media-video-runner.js +300 -129
- package/dist/memcode-runtime/CHANGELOG.md +75 -1
- package/dist/sdk.d.ts +1 -0
- package/dist/sdk.js +1882 -998
- package/dist/types.d.ts +1 -1
- package/dist/vector-backfill-runner.js +300 -129
- package/docs/AGENT_OPERATOR_PLAYBOOK.md +47 -3
- package/docs/API_REFERENCE.md +39 -1
- package/docs/CONFIGURATION.md +58 -1
- package/docs/DEVELOPMENT.md +1 -1
- package/docs/DOCKER.md +23 -3
- package/docs/INTEGRATIONS.md +1 -1
- package/docs/KNOWN_ISSUES_AND_ROADMAP.md +61 -1
- package/docs/MULTI-DEVICE-SYNC-RESEARCH.md +4 -0
- package/docs/PERFORMANCE.md +46 -2
- package/docs/README.md +2 -1
- package/docs/SETUP.md +56 -1
- package/package.json +3 -2
- 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/capability-map.ts +1 -0
- package/src/cli/command-guide.ts +15 -3
- package/src/cli/commands/agent-integrations.ts +57 -0
- package/src/cli/commands/background.ts +11 -2
- package/src/cli/commands/context.ts +2 -0
- package/src/cli/commands/continuity.ts +155 -0
- package/src/cli/commands/init.ts +5 -2
- package/src/cli/commands/serve-http.ts +435 -84
- package/src/cli/commands/setup.ts +77 -10
- package/src/cli/commands/sync-store.ts +47 -12
- package/src/cli/commands/sync.ts +26 -0
- package/src/cli/index.ts +3 -1
- package/src/cli/tui/ConfigureView.tsx +2 -0
- package/src/codegraph/auto-context.ts +17 -0
- package/src/config/legacy-loader.ts +2 -2
- package/src/config/resolved-config.ts +8 -5
- package/src/config/yaml-loader.ts +20 -10
- package/src/dashboard/server.ts +10 -12
- package/src/embedding/api-provider.ts +4 -2
- package/src/embedding/fastembed-provider.ts +47 -14
- package/src/embedding/transformers-provider.ts +29 -7
- package/src/evaluation/memory-quality-gate.ts +90 -0
- package/src/hooks/official-skills.ts +2 -0
- package/src/integrations/registry.ts +1 -1
- package/src/knowledge/context-assembly.ts +1 -0
- package/src/knowledge/context-receipt.ts +15 -0
- package/src/knowledge/task-continuity.ts +413 -0
- package/src/knowledge/workset.ts +77 -0
- package/src/llm/provider.ts +2 -1
- package/src/memory/graph.ts +10 -8
- package/src/memory/session.ts +1 -1
- package/src/orchestrate/coordinator.ts +60 -0
- package/src/orchestrate/effect-ledger.ts +160 -0
- package/src/orchestrate/pipeline-trace.ts +40 -6
- package/src/runtime/maintenance-jobs.ts +12 -6
- package/src/sdk.ts +24 -0
- package/src/server/mcp-binding-store.ts +14 -3
- package/src/server/modern-mcp-bridge.ts +153 -27
- package/src/server/tool-profile.ts +3 -2
- package/src/server.ts +131 -7
- package/src/store/file-lock.ts +28 -3
- package/src/store/graph-store.ts +178 -46
- package/src/store/persistence.ts +14 -9
- package/src/store/sqlite-db.ts +150 -7
- package/src/store/sqlite-store.ts +32 -27
- package/src/sync/engine.ts +9 -7
- package/src/sync/namespace.ts +23 -0
- package/src/sync/policy.ts +19 -4
- package/src/sync/store-port.ts +43 -13
- package/src/sync/types.ts +2 -0
- package/src/team/team-store.ts +62 -27
- package/src/types.ts +1 -1
- package/src/workspace/mcp-adapters/grok.ts +32 -0
|
@@ -2,7 +2,81 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Unreleased (1.9.x)
|
|
6
|
+
|
|
7
|
+
No unreleased changes.
|
|
8
|
+
|
|
9
|
+
## [1.9.6] - 2026-09-22
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- **Task continuity ledger** -- adds a project-scoped append-only
|
|
13
|
+
ledger for requirements, decisions, verification, risks, and outcomes. The
|
|
14
|
+
bounded Project Context can include a ledger by `taskId`; no automatic
|
|
15
|
+
promotion or LLM summarization is performed.
|
|
16
|
+
- **Continuity outcome projection** -- adds deterministic validated, at-risk,
|
|
17
|
+
in-progress, and unverified states plus replay coverage. Diagnostic scores are
|
|
18
|
+
exposed in receipts only and do not silently reorder memories.
|
|
19
|
+
- **Infrastructure lifecycle closeout** -- bounds HTTP sessions and SQLite
|
|
20
|
+
handles, reuses project business runtimes behind fresh modern MCP protocol
|
|
21
|
+
shells, records event-loop/resource health, and adds a deterministic memory
|
|
22
|
+
quality gate.
|
|
23
|
+
- **Atlas Cloud memory preset** -- `memorix init` and the configuration TUI can
|
|
24
|
+
select Atlas Cloud for optional background memory LLM work through its
|
|
25
|
+
OpenAI-compatible endpoint, with provider-specific key isolation.
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
- **Configuration scope isolation** -- explicit home/project resolution now
|
|
29
|
+
applies consistently to TOML, YAML, legacy JSON, and `.env` loading, so
|
|
30
|
+
long-lived processes and tests cannot reuse another configuration scope.
|
|
31
|
+
- **OrcaRouter documentation** -- documents the existing OpenAI-compatible
|
|
32
|
+
gateway path with fixed-model and fallback guidance; no vendor-specific
|
|
33
|
+
provider branch is required.
|
|
34
|
+
- **Capacity closeout** -- TeamStore queries, maintenance history, embedding
|
|
35
|
+
caches, HTTP project caches, and large-store behavior are bounded and
|
|
36
|
+
regression-covered.
|
|
37
|
+
- **Stable coordination queue order** -- available tasks now dispatch FIFO with
|
|
38
|
+
a SQLite rowid tie-breaker, preventing cross-platform adapter-routing flakes
|
|
39
|
+
when task timestamps collide.
|
|
40
|
+
- **Continuity correctness** -- verification obligations can move between
|
|
41
|
+
statuses by stable ID, retries are idempotent, open risks are visible in the
|
|
42
|
+
outcome state, and the 200-event cap is enforced transactionally.
|
|
43
|
+
- **Replay-safe orchestration evidence** -- tool effects are recorded with
|
|
44
|
+
redacted fingerprints, risk tiers, replay policy, and unknown-after-crash
|
|
45
|
+
status without persisting raw tool arguments or output.
|
|
46
|
+
|
|
47
|
+
## [1.9.5] - 2026-09-20
|
|
48
|
+
|
|
49
|
+
### Added
|
|
50
|
+
- **Setup HTTP MCP** -- `memorix setup --mcp http` honors Grok (writes a
|
|
51
|
+
`[mcp_servers.memorix]` URL in Grok `config.toml`) and rewrites installed
|
|
52
|
+
plugin/extension bundled MCP manifests from `memorix serve` to
|
|
53
|
+
`http://localhost:3211/mcp`. Default Grok MCP stays host-owned. Docs include
|
|
54
|
+
generic systemd user unit and LaunchAgent KeepAlive examples for
|
|
55
|
+
`memorix serve-http`.
|
|
56
|
+
- **User-global store sync** -- `memorix sync store push|pull|status --scope user`
|
|
57
|
+
replicates every local project's eligible observations through the existing
|
|
58
|
+
opt-in relay. Default `--scope project` is unchanged. Privacy filters still
|
|
59
|
+
drop personal, agent-targeted, candidate, and ephemeral rows. The live
|
|
60
|
+
SQLite file is never copied.
|
|
61
|
+
|
|
62
|
+
### Fixed
|
|
63
|
+
- **HTTP control-plane safety** -- JSON request bodies are bounded, non-loopback
|
|
64
|
+
binds require an explicit Bearer token or unsafe opt-in, listen failures are
|
|
65
|
+
reported synchronously, background startup removes unverified state, and
|
|
66
|
+
shutdown waits for HTTP and SQLite resources to close.
|
|
67
|
+
- **Project-scoped graph storage** -- graph entities and relations now carry a
|
|
68
|
+
project key, legacy JSONL migration recovers ownership from observation
|
|
69
|
+
references, and Dashboard/MCP graph access no longer crosses projects.
|
|
70
|
+
- **Migration and lifecycle reliability** -- legacy observation/subdirectory
|
|
71
|
+
migrations use locks and atomic writes, malformed observation JSON fails
|
|
72
|
+
closed, stale file locks cannot evict a live writer, stateless MCP bindings
|
|
73
|
+
expire and are cleaned up, and SDK clients share resources safely.
|
|
74
|
+
- **User-scope sync correctness** -- imported observation IDs are remapped on
|
|
75
|
+
collision, tombstones validate their source project, and user namespaces
|
|
76
|
+
must be explicit per-user values.
|
|
77
|
+
- **Release contract** -- publish workflow validates tag/version/commit
|
|
78
|
+
identity, waits for npm visibility before MCP Registry publication, and
|
|
79
|
+
keeps prepublish checks non-mutating.
|
|
6
80
|
|
|
7
81
|
## [1.9.4] - 2026-09-18
|
|
8
82
|
|
package/dist/sdk.d.ts
CHANGED
|
@@ -120,6 +120,7 @@ declare class MemoryClient {
|
|
|
120
120
|
private _oramaStore;
|
|
121
121
|
private _obsStore;
|
|
122
122
|
private _freshness;
|
|
123
|
+
private _sdkRefRegistered;
|
|
123
124
|
/** @internal — use createMemoryClient() instead */
|
|
124
125
|
constructor(projectId: string, projectRoot: string, dataDir: string);
|
|
125
126
|
/** The canonical project ID (derived from Git remote or local path) */
|