memorix 1.3.3 → 1.3.4

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 (35) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cli/index.js +1162 -1098
  3. package/dist/index.d.ts +513 -0
  4. package/dist/index.js +14751 -14044
  5. package/dist/maintenance-runner.js +105 -52
  6. package/dist/media-video-runner.js +105 -52
  7. package/dist/memcode-runtime/CHANGELOG.md +14 -0
  8. package/dist/sdk.d.ts +5 -513
  9. package/dist/sdk.js +186 -75
  10. package/dist/vector-backfill-runner.js +105 -52
  11. package/docs/AGENT_OPERATOR_PLAYBOOK.md +4 -3
  12. package/package.json +1 -1
  13. package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
  14. package/plugins/codex/memorix/.codex-plugin/plugin.json +1 -1
  15. package/plugins/copilot/memorix/plugin.json +1 -1
  16. package/plugins/gemini/memorix/gemini-extension.json +1 -1
  17. package/plugins/omp/memorix/package.json +1 -1
  18. package/plugins/openclaw/memorix/.codex-plugin/plugin.json +1 -1
  19. package/plugins/pi/memorix/package.json +1 -1
  20. package/server.json +2 -2
  21. package/src/cli/commands/media.ts +10 -2
  22. package/src/cli/commands/serve-http.ts +7 -38
  23. package/src/cli/commands/serve-shared.ts +18 -46
  24. package/src/cli/commands/serve.ts +3 -41
  25. package/src/cli/commands/setup.ts +24 -21
  26. package/src/cli/mcp-root-path.ts +36 -0
  27. package/src/index.ts +37 -55
  28. package/src/media/asset-store.ts +74 -6
  29. package/src/media/attachment.ts +12 -9
  30. package/src/media/media-store.ts +38 -4
  31. package/src/media/video-jobs.ts +39 -14
  32. package/src/memory/observations.ts +21 -2
  33. package/src/orchestrate/adapters/spawn-helper.ts +2 -0
  34. package/src/server/tool-profile.ts +7 -4
  35. package/src/server.ts +6 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.3.4] - 2026-08-02
6
+
7
+ ### Fixed
8
+ - **Fail-closed project binding** -- Stdio and HTTP MCP servers no longer restore or keep writing a remembered project root. A launch without a reliable workspace now waits for an explicit root, MCP Roots, or `memorix_session_start`, preventing cross-project memory access.
9
+ - **Portable MCP Roots** -- File URI roots now remain POSIX paths on Linux/macOS and convert correctly on Windows, including drive-letter paths and UNC roots.
10
+ - **Atomic media attachments** -- A media retrieval observation and its asset link now commit in one SQLite transaction. If linking fails, no dangling observation survives. Completed video downloads also persist their local asset before a retryable attachment step.
11
+ - **Authoritative video cancellation** -- A cancellation that lands while a video worker is downloading or finishing can no longer be overwritten back to `completed`; MCP can cancel an existing job even when new MCP media generation is disabled.
12
+ - **Recoverable media cleanup** -- Files Windows cannot immediately release are visibly staged for retry, and media cleanup reports reclaimed or still-pending staged bytes instead of silently implying deletion succeeded.
13
+ - **Non-destructive Codex migration** -- Legacy Codex hook cleanup now preserves customized hook files instead of deleting a file merely because its commands begin with `memorix hook`.
14
+ - **One stdio runtime** -- Direct `node dist/index.js` invocation now delegates to `memorix serve`; importing the package no longer starts an MCP server as a side effect.
15
+
16
+ ### Changed
17
+ - **Bounded default MCP surface** -- The `micro` profile exposes nine tools: agent-ready context, retrieval, one explicit session recovery path, and one controlled media operation. Advanced tools remain opt-in through higher profiles.
18
+
5
19
  ## [1.3.3] - 2026-08-02
6
20
 
7
21
  ### Added