@memoryrelay/plugin-memoryrelay-ai 0.15.6 → 0.16.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/README.md +2 -3
  2. package/index.ts +472 -4849
  3. package/openclaw.plugin.json +41 -3
  4. package/package.json +1 -1
  5. package/skills/decision-tracking/SKILL.md +1 -1
  6. package/skills/entity-and-context/SKILL.md +1 -1
  7. package/skills/memory-workflow/SKILL.md +1 -1
  8. package/src/client/memoryrelay-client.ts +816 -0
  9. package/src/context/namespace-router.ts +19 -0
  10. package/src/context/request-context.ts +39 -0
  11. package/src/context/session-resolver.ts +93 -0
  12. package/src/filters/content-patterns.ts +32 -0
  13. package/src/filters/noise-patterns.ts +33 -0
  14. package/src/filters/non-interactive.ts +30 -0
  15. package/src/hooks/activity.ts +51 -0
  16. package/src/hooks/agent-end.ts +48 -0
  17. package/src/hooks/before-agent-start.ts +109 -0
  18. package/src/hooks/before-prompt-build.ts +46 -0
  19. package/src/hooks/compaction.ts +51 -0
  20. package/src/hooks/privacy.ts +44 -0
  21. package/src/hooks/session-lifecycle.ts +47 -0
  22. package/src/hooks/subagent.ts +62 -0
  23. package/src/pipelines/capture/content-strip.ts +14 -0
  24. package/src/pipelines/capture/dedup.ts +17 -0
  25. package/src/pipelines/capture/index.ts +13 -0
  26. package/src/pipelines/capture/message-filter.ts +16 -0
  27. package/src/pipelines/capture/store.ts +33 -0
  28. package/src/pipelines/capture/trigger-gate.ts +21 -0
  29. package/src/pipelines/capture/truncate.ts +16 -0
  30. package/src/pipelines/recall/format.ts +30 -0
  31. package/src/pipelines/recall/index.ts +12 -0
  32. package/src/pipelines/recall/rank.ts +40 -0
  33. package/src/pipelines/recall/scope-resolver.ts +20 -0
  34. package/src/pipelines/recall/search.ts +43 -0
  35. package/src/pipelines/recall/trigger-gate.ts +17 -0
  36. package/src/pipelines/runner.ts +25 -0
  37. package/src/pipelines/types.ts +157 -0
  38. package/src/tools/agent-tools.ts +127 -0
  39. package/src/tools/decision-tools.ts +309 -0
  40. package/src/tools/entity-tools.ts +215 -0
  41. package/src/tools/health-tools.ts +42 -0
  42. package/src/tools/memory-tools.ts +690 -0
  43. package/src/tools/pattern-tools.ts +250 -0
  44. package/src/tools/project-tools.ts +444 -0
  45. package/src/tools/session-tools.ts +195 -0
  46. package/src/tools/v2-tools.ts +228 -0
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Persistent memory, architectural decisions, reusable patterns, and project orchestration for AI agents.
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/@memoryrelay/plugin-memoryrelay-ai.svg)](https://www.npmjs.com/package/@memoryrelay/plugin-memoryrelay-ai)
8
- [![OpenClaw Compatible](https://img.shields.io/badge/OpenClaw-2026.2.26+-blue.svg)](https://openclaw.ai)
8
+ [![OpenClaw Compatible](https://img.shields.io/badge/OpenClaw-2026.2.0+-blue.svg)](https://openclaw.ai)
9
9
 
10
10
  ## Why MemoryRelay?
11
11
 
@@ -23,7 +23,7 @@ MemoryRelay is designed for engineering teams managing complex, long-running pro
23
23
  | Auto-capture with privacy tiers | Yes (off/conservative/smart/aggressive) | Basic | No |
24
24
  | V2 Async Storage | Yes | No | No |
25
25
  | Direct commands | 17 | ~5 | 0 |
26
- | Lifecycle hooks | 13 | 0 | 0 |
26
+ | Lifecycle hooks | 14 | 0 | 0 |
27
27
  | Tools | 42 | ~10 | 0 |
28
28
 
29
29
  ## Quick Start
@@ -382,7 +382,6 @@ Then inspect with `/memory-logs` or `/memory-metrics` to identify slow or failin
382
382
  ### Known Limitations
383
383
 
384
384
  - `memory_batch_store`: May return 500 errors on large batches (use individual `memory_store` as workaround)
385
- - `memory_context`: Returns 405 Method Not Allowed on some API versions (use `memory_recall` instead)
386
385
 
387
386
  ## Development
388
387