memorix 1.6.2 → 1.7.0

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 (46) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/cli/index.js +2042 -1430
  3. package/dist/cli/memcode.js +0 -0
  4. package/dist/dashboard/static/app.js +293 -33
  5. package/dist/dashboard/static/index.html +17 -0
  6. package/dist/dashboard/static/style.css +310 -0
  7. package/dist/index.js +1669 -970
  8. package/dist/maintenance-runner.js +1061 -1017
  9. package/dist/media-audio-runner.js +1052 -1009
  10. package/dist/media-video-runner.js +1052 -1009
  11. package/dist/memcode-runtime/CHANGELOG.md +34 -0
  12. package/dist/sdk.js +2293 -1684
  13. package/dist/vector-backfill-runner.js +1050 -1007
  14. package/docs/ARCHITECTURE.md +3 -0
  15. package/docs/DASHBOARD.md +54 -0
  16. package/docs/README.md +2 -0
  17. package/package.json +1 -1
  18. package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
  19. package/plugins/codebuddy/memorix/.codebuddy-plugin/plugin.json +1 -1
  20. package/plugins/codex/memorix/.codex-plugin/plugin.json +1 -1
  21. package/plugins/copilot/memorix/plugin.json +1 -1
  22. package/plugins/gemini/memorix/gemini-extension.json +1 -1
  23. package/plugins/omp/memorix/package.json +1 -1
  24. package/plugins/openclaw/memorix/.codex-plugin/plugin.json +1 -1
  25. package/plugins/pi/memorix/package.json +1 -1
  26. package/server.json +2 -2
  27. package/src/cli/commands/background.ts +17 -3
  28. package/src/cli/commands/cleanup.ts +13 -114
  29. package/src/cli/commands/memory.ts +12 -43
  30. package/src/cli/commands/operator-shared.ts +12 -8
  31. package/src/cli/commands/serve-http.ts +25 -7
  32. package/src/cli/commands/serve-shared.ts +49 -6
  33. package/src/cli/commands/serve.ts +4 -0
  34. package/src/dashboard/maintenance.ts +303 -0
  35. package/src/dashboard/server.ts +100 -2
  36. package/src/dashboard/static/index.html +17 -0
  37. package/src/dashboard/static/style.css +310 -0
  38. package/src/memory/cleanup.ts +143 -0
  39. package/src/memory/deduplication.ts +178 -0
  40. package/src/memory/session.ts +13 -3
  41. package/src/project/launch-root.ts +115 -0
  42. package/src/runtime/isolated-maintenance.ts +12 -1
  43. package/src/server.ts +50 -51
  44. package/src/store/obs-store.ts +2 -2
  45. package/src/store/sqlite-db.ts +2 -0
  46. package/src/store/sqlite-store.ts +19 -4
@@ -4,6 +4,40 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [1.7.0] - 2026-08-18
8
+
9
+ ### Added
10
+ - **Preview-first Dashboard maintenance** -- the Observations page now offers
11
+ project-scoped Cleanup, Consolidate, and Deduplicate previews, while the
12
+ Retention page can preview and archive canonical retention candidates. Every
13
+ mutation shows its candidate set before confirmation.
14
+ - **Shared maintenance execution** -- Dashboard, CLI, and MCP use the same
15
+ cleanup and deduplication planners/executors instead of maintaining separate
16
+ mutation logic.
17
+
18
+ ### Changed
19
+ - **Fail-closed maintenance actions** -- execution requires a signed,
20
+ project-bound preview and rejects stale candidate sets with a refreshable
21
+ conflict instead of applying a partial plan.
22
+ - **Conservative cleanup noise detection** -- normal engineering terms such as
23
+ compatibility, handoff, sandbox, and version are no longer treated as noise;
24
+ only explicit fixture markers and tool receipts are opt-in archive candidates.
25
+ - **Dashboard documentation** -- added the canonical Dashboard maintenance,
26
+ scope, and safety contract to the public documentation map.
27
+
28
+ ## [1.6.3] - 2026-08-18
29
+
30
+ ### Fixed
31
+ - **Safe home-directory boundaries** -- project binding and SQLite now share
32
+ the same effective `HOME`/`USERPROFILE` resolution on Windows, so an agent
33
+ launched from a user directory is rejected consistently and cannot create a
34
+ decoy `~/memorix.db`. Contributed by
35
+ [@RaviTharuma](https://github.com/RaviTharuma) in #230, with a maintainer
36
+ compatibility follow-up for Windows environment resolution.
37
+ - **Fast first session on large stores** -- `memorix_session_start` uses a
38
+ bounded newest-first slice while the remaining hydration work continues in
39
+ the background, keeping first contact responsive on large projects.
40
+
7
41
  ## [1.6.2] - 2026-08-18
8
42
 
9
43
  ### Changed