@memoryrelay/plugin-memoryrelay-ai 0.12.11 → 0.13.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.
package/README.md CHANGED
@@ -8,7 +8,7 @@ AI-powered long-term memory for OpenClaw agents. Gives your AI assistant persist
8
8
  ## Features
9
9
 
10
10
  - **39 Tools** covering memories, entities, sessions, decisions, patterns, and projects
11
- - **6 Gateway Methods** for stats, debugging, and onboarding
11
+ - **8 Gateway Methods** for stats, debugging, and onboarding
12
12
  - **Smart Auto-Capture** - Tier-based privacy system with automatic filtering
13
13
  - **Daily Memory Stats** - Morning/evening summaries with growth metrics
14
14
  - **Debug & Monitoring** - Comprehensive logging, health checks, and performance metrics
@@ -19,6 +19,8 @@ AI-powered long-term memory for OpenClaw agents. Gives your AI assistant persist
19
19
  - **Pattern Library** - Create, search, and adopt reusable conventions across projects
20
20
  - **Session Tracking** - Track work sessions with summaries for continuity
21
21
  - **External Session IDs** - Multi-agent collaboration and conversation-spanning sessions
22
+ - **Stale Session Cleanup** - Background service automatically closes inactive sessions after a configurable timeout
23
+ - **Sender Identity Tagging** - Multi-agent traceability via auto-injected `sender_id` metadata
22
24
  - **Tool Group Filtering** - Enable only the tool groups you need
23
25
 
24
26
  ## Installation
@@ -73,6 +75,8 @@ openclaw gateway restart
73
75
  | `verbose` | boolean | `false` | Include request/response bodies in debug logs |
74
76
  | `logFile` | string | — | Optional file path for persistent debug logs |
75
77
  | `maxLogEntries` | number | `100` | Circular buffer size for in-memory logs |
78
+ | `sessionTimeoutMinutes` | number | `120` | Idle time before a session is automatically closed by the cleanup service |
79
+ | `sessionCleanupIntervalMinutes` | number | `30` | How often the background cleanup service checks for stale sessions |
76
80
 
77
81
  ## Smart Auto-Capture
78
82
 
@@ -194,6 +198,18 @@ For new projects, the agent is guided to call `project_register()` first.
194
198
  |------|-------------|
195
199
  | `memory_health` | Check API connectivity and health status |
196
200
 
201
+ ## Direct Commands
202
+
203
+ These slash commands bypass the LLM and execute immediately in the CLI:
204
+
205
+ | Command | Description |
206
+ |---------|-------------|
207
+ | `/memory-status` | Show connection status, tool counts, and memory stats |
208
+ | `/memory-stats` | Show memory growth, categories, and daily statistics |
209
+ | `/memory-health` | Run health check against the MemoryRelay API |
210
+ | `/memory-logs` | Show recent debug log entries |
211
+ | `/memory-metrics` | Show per-tool performance metrics (call count, success rate, latency) |
212
+
197
213
  ## Tool Group Filtering
198
214
 
199
215
  Only enable the groups you need:
@@ -271,6 +287,8 @@ When debug mode is enabled, each API call is logged with timestamp, tool name, d
271
287
  - **Agent Isolation** — Memories scoped per agent ID
272
288
  - **Channel Filtering** — Exclude sensitive channels from auto-recall
273
289
  - **Privacy Blocklist** — Auto-capture filters sensitive data (passwords, SSNs, credit cards, API keys)
290
+ - **Privacy Redaction Hooks** — Sensitive data is also redacted from messages (`before_message_write`) and tool results (`tool_result_persist`) before persistence
291
+ - **Sender Identity** — `memory_store`, `memory_batch_store`, and `decision_record` auto-inject `sender_id` from tool context into metadata for multi-agent traceability
274
292
  - **Never store secrets** — Do not store API keys, passwords, or tokens as memories
275
293
 
276
294
  ## Troubleshooting
@@ -304,7 +322,7 @@ openclaw gateway logs -f | grep memory-memoryrelay
304
322
  ### Auto-Recall Not Working
305
323
 
306
324
  1. Verify `autoRecall: true` in config
307
- 2. Check memories exist: `openclaw gateway call memory_list '{"limit": 10}'`
325
+ 2. Check memories exist: `openclaw gateway-call memory_list '{"limit": 10}'`
308
326
  3. Lower `recallThreshold` (try 0.1) for more results
309
327
  4. Check channel not in `excludeChannels`
310
328
 
@@ -313,6 +331,15 @@ openclaw gateway logs -f | grep memory-memoryrelay
313
331
  - `memory_batch_store`: May return 500 errors (use individual `memory_store` as workaround)
314
332
  - `memory_context`: Returns 405 Method Not Allowed (use `memory_recall` instead)
315
333
 
334
+ ## Skills
335
+
336
+ The plugin ships with 8 skills in `skills/` — 5 agent-facing and 3 developer-facing:
337
+
338
+ - **Agent-facing**: `memory-workflow`, `decision-tracking`, `pattern-management`, `project-orchestration`, `entity-and-context`
339
+ - **Developer-facing**: `codebase-navigation`, `testing-memoryrelay`, `release-process`
340
+
341
+ Skills are loaded via OpenClaw's skill system and provide guided workflows on top of the raw tools.
342
+
316
343
  ## Development
317
344
 
318
345
  ```bash