memorix 1.4.5 → 1.4.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 +54 -0
- package/CLAUDE.md +7 -3
- package/README.md +5 -2
- package/dist/cli/index.js +1456 -1013
- package/dist/index.js +1265 -988
- package/dist/{maintenance-jobs-B1-W0ssz.d.ts → maintenance-jobs-DVRF-46r.d.ts} +1 -1
- package/dist/maintenance-runner.d.ts +1 -1
- package/dist/maintenance-runner.js +1755 -829
- package/dist/media-audio-runner.js +1760 -835
- package/dist/media-video-runner.js +1755 -830
- package/dist/memcode-runtime/CHANGELOG.md +54 -0
- package/dist/sdk.js +1257 -987
- package/dist/types.d.ts +6 -0
- package/dist/vector-backfill-runner.d.ts +1 -1
- package/dist/vector-backfill-runner.js +1751 -826
- package/docs/1.4.5-AGENT-AUTO-MEMORY-RESEARCH.md +95 -0
- package/docs/API_REFERENCE.md +23 -4
- package/docs/CONFIGURATION.md +17 -3
- package/docs/SETUP.md +5 -3
- package/package.json +1 -1
- package/plugins/antigravity/memorix/mcp_config.json +3 -1
- package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/memorix/.mcp.json +1 -1
- package/plugins/codebuddy/memorix/.codebuddy-plugin/plugin.json +1 -1
- package/plugins/codebuddy/memorix/.mcp.json +1 -1
- package/plugins/codex/memorix/.codex-plugin/plugin.json +1 -1
- package/plugins/codex/memorix/.mcp.json +1 -1
- package/plugins/copilot/memorix/.mcp.json +1 -1
- package/plugins/copilot/memorix/plugin.json +1 -1
- package/plugins/gemini/memorix/gemini-extension.json +4 -2
- package/plugins/omp/memorix/package.json +1 -1
- package/plugins/openclaw/memorix/.codex-plugin/plugin.json +1 -1
- package/plugins/openclaw/memorix/.mcp.json +3 -1
- package/plugins/pi/memorix/package.json +1 -1
- package/server.json +2 -2
- package/src/cli/commands/dashboard.ts +14 -3
- package/src/cli/commands/ingest-commit.ts +47 -3
- package/src/cli/commands/memory.ts +17 -4
- package/src/cli/commands/purge.ts +120 -0
- package/src/cli/commands/serve-http.ts +39 -5
- package/src/cli/commands/setup.ts +3 -1
- package/src/cli/index.ts +3 -804
- package/src/codegraph/auto-context.ts +82 -1
- package/src/config/yaml-loader.ts +3 -8
- package/src/config.ts +0 -5
- package/src/evaluation/session-replay.ts +98 -0
- package/src/git/extractor.ts +5 -3
- package/src/hooks/installers/index.ts +15 -0
- package/src/knowledge/workset.ts +58 -0
- package/src/memory/long-term.ts +97 -2
- package/src/runtime/control-plane-maintenance.ts +1 -0
- package/src/runtime/isolated-maintenance.ts +1 -0
- package/src/runtime/lifecycle.ts +19 -0
- package/src/runtime/maintenance-jobs.ts +1 -0
- package/src/runtime/project-maintenance.ts +8 -0
- package/src/search/surfaced-registry.ts +62 -0
- package/src/server.ts +74 -14
- package/src/store/orama-store.ts +17 -1
- package/src/types.ts +6 -0
- package/src/cli/commands/audit-list.ts +0 -89
- package/src/cli/commands/purge-all-memory.ts +0 -85
- package/src/cli/commands/purge-project-memory.ts +0 -83
- package/src/cli/commands/uninstall-project-artifacts.ts +0 -86
- package/src/cli/tui/Sidebar.tsx +0 -179
- package/src/cli/tui/interactive-commands.ts +0 -261
- package/src/cli/tui/markdown-render.tsx +0 -371
- package/src/cli/tui/use-mouse.ts +0 -157
- package/src/cli/tui/useNavigation.ts +0 -56
- package/src/orchestrate/context-compact.ts +0 -188
- package/src/team/file-locks.ts +0 -173
- package/src/team/index.ts +0 -23
- package/src/team/messages.ts +0 -203
- package/src/team/persistence.ts +0 -96
- package/src/team/registry.ts +0 -158
- package/src/team/tasks.ts +0 -211
|
@@ -2,6 +2,60 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.4.6] - 2026-08-14
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- **Memory-native brief block** -- Every task brief opens with a "You and
|
|
9
|
+
this workspace" block: the user profile (personal `user-profile`
|
|
10
|
+
observations), the latest ended session summary, and recent durable
|
|
11
|
+
long-term memories, all inside the existing token budget. Older callers
|
|
12
|
+
and fixtures without the block are unaffected.
|
|
13
|
+
- **Long-term memory self-maintenance (rule leg, no LLM required)** --
|
|
14
|
+
Explicit long-term requests (MCP `longTerm: true`, CLI add/promote)
|
|
15
|
+
auto-qualify on the spot instead of waiting for a manual review;
|
|
16
|
+
hook-captured and Git-derived candidates keep the review path. Stale
|
|
17
|
+
qualified/approved records auto-archive after 30 days without activity,
|
|
18
|
+
and a newer record auto-supersedes same-title records in the same scope
|
|
19
|
+
and kind. Maintenance runs in the existing durable lane at session start,
|
|
20
|
+
after each explicit promotion, then on a daily heartbeat. Approval stays
|
|
21
|
+
an explicit operator action.
|
|
22
|
+
- **`memorix purge`** -- Retires the current project's memories from
|
|
23
|
+
retrieval (`--all` for every project, `--yes` required outside a
|
|
24
|
+
terminal). Observations and long-term records are archived, never
|
|
25
|
+
hard-deleted, so the audit trail survives.
|
|
26
|
+
- **Eval coverage** -- New deterministic, offline exams pin the always-on
|
|
27
|
+
brief, long-term maintenance, profile parity, purge safety, git ingest
|
|
28
|
+
policy, media schema honesty, and server config defaults.
|
|
29
|
+
|
|
30
|
+
### Changed
|
|
31
|
+
- **Installed tool profile matches taught tools** -- `memorix setup` and
|
|
32
|
+
every plugin template now run `memorix serve --mode lite`, so the tools
|
|
33
|
+
taught in generated guidance (sessions, timeline, reasoning, retention)
|
|
34
|
+
actually exist. Repo guidance marks the full-only tools
|
|
35
|
+
(`promote`, `rules_sync`, `workspace_sync`) with `MEMORIX_MODE=full`.
|
|
36
|
+
- **Honest media schema** -- With the generation/transcription gates
|
|
37
|
+
closed, `memorix_media` no longer advertises `generate-image`,
|
|
38
|
+
`generate-video`, or `derive-audio` (or their parameters); agents see
|
|
39
|
+
only what the operator enabled.
|
|
40
|
+
- **Config that does something** -- `[server].port` and
|
|
41
|
+
`[server].dashboardPort` are now real startup defaults for `serve-http`
|
|
42
|
+
and `dashboard`; `git.ingest_on_commit` actually gates post-commit
|
|
43
|
+
ingestion and `git.max_diff_size` caps captured diff content. The
|
|
44
|
+
never-consumed `mcpServers` key was removed from `memorix.yml`
|
|
45
|
+
(unknown keys are ignored), and `[team]`/`[hooks]` are documented as
|
|
46
|
+
parsed-but-reserved.
|
|
47
|
+
|
|
48
|
+
### Fixed
|
|
49
|
+
- **Guidance hygiene** -- Generated agent guidance now teaches
|
|
50
|
+
store-the-underivable, dual-channel feedback, verify-before-use, the
|
|
51
|
+
ignore contract, user-profile capture, and session-end summaries.
|
|
52
|
+
- **Session search dedup** -- `memorix_search` demotes rows already shown
|
|
53
|
+
in the same session (duplicate rate 25% → 19% in the replay exam, hits
|
|
54
|
+
and token budget unchanged).
|
|
55
|
+
- **Dead code removal** -- Removed the superseded slash-REPL, the legacy
|
|
56
|
+
in-memory team layer, retired TUI components, and duplicate commands
|
|
57
|
+
(about 4,600 net lines), each verified unreferenced before deletion.
|
|
58
|
+
|
|
5
59
|
## [1.4.5] - 2026-08-14
|
|
6
60
|
|
|
7
61
|
### Added
|