@memoryrelay/plugin-memoryrelay-ai 0.6.0 → 0.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.
@@ -2,25 +2,36 @@
2
2
  "id": "plugin-memoryrelay-ai",
3
3
  "kind": "memory",
4
4
  "name": "MemoryRelay AI",
5
- "description": "AI memory service using MemoryRelay API (api.memoryrelay.net)",
6
- "version": "0.5.3",
5
+ "description": "AI memory service with sessions, decisions, patterns & projects (api.memoryrelay.net)",
6
+ "version": "0.7.0",
7
7
  "uiHints": {
8
8
  "apiKey": {
9
9
  "label": "MemoryRelay API Key",
10
10
  "sensitive": true,
11
11
  "placeholder": "mem_prod_...",
12
- "help": "API key from memoryrelay.io (or use ${MEMORYRELAY_API_KEY})"
12
+ "help": "API key from memoryrelay.ai (or use ${MEMORYRELAY_API_KEY} env var)"
13
13
  },
14
14
  "agentId": {
15
15
  "label": "Agent ID",
16
16
  "placeholder": "iris",
17
- "help": "Unique identifier for this agent in MemoryRelay"
17
+ "help": "Unique identifier for this agent in MemoryRelay (or use ${MEMORYRELAY_AGENT_ID} env var)"
18
18
  },
19
19
  "apiUrl": {
20
20
  "label": "API URL",
21
21
  "placeholder": "https://api.memoryrelay.net",
22
22
  "advanced": true,
23
- "help": "MemoryRelay API endpoint"
23
+ "help": "MemoryRelay API endpoint (or use ${MEMORYRELAY_API_URL} env var)"
24
+ },
25
+ "defaultProject": {
26
+ "label": "Default Project",
27
+ "placeholder": "my-api",
28
+ "help": "Default project slug for scoping sessions, decisions, and memories"
29
+ },
30
+ "enabledTools": {
31
+ "label": "Enabled Tools",
32
+ "placeholder": "memory,entity,agent,session,decision,pattern,project,health",
33
+ "advanced": true,
34
+ "help": "Comma-separated list of tool groups to enable (default: all)"
24
35
  },
25
36
  "autoCapture": {
26
37
  "label": "Auto-Capture",
@@ -29,6 +40,11 @@
29
40
  "autoRecall": {
30
41
  "label": "Auto-Recall",
31
42
  "help": "Automatically inject relevant memories into context"
43
+ },
44
+ "excludeChannels": {
45
+ "label": "Exclude Channels",
46
+ "help": "List of channel IDs to skip auto-recall (e.g., ['whatsapp:group_123', 'telegram:456'])",
47
+ "advanced": true
32
48
  }
33
49
  },
34
50
  "configSchema": {
@@ -38,17 +54,25 @@
38
54
  "apiKey": {
39
55
  "type": "string",
40
56
  "minLength": 1,
41
- "description": "MemoryRelay API key (required, get from https://memoryrelay.ai)"
57
+ "description": "MemoryRelay API key (optional, can use MEMORYRELAY_API_KEY env var)"
42
58
  },
43
59
  "agentId": {
44
60
  "type": "string",
45
61
  "minLength": 1,
46
- "description": "Unique agent identifier (required)"
62
+ "description": "Unique agent identifier (optional, can use MEMORYRELAY_AGENT_ID env var or agent name)"
47
63
  },
48
64
  "apiUrl": {
49
65
  "type": "string",
50
66
  "default": "https://api.memoryrelay.net"
51
67
  },
68
+ "defaultProject": {
69
+ "type": "string",
70
+ "description": "Default project slug for scoping sessions, decisions, and memories"
71
+ },
72
+ "enabledTools": {
73
+ "type": "string",
74
+ "description": "Comma-separated tool groups to enable: memory, entity, agent, session, decision, pattern, project, health, or 'all' (default: all)"
75
+ },
52
76
  "autoCapture": {
53
77
  "type": "boolean",
54
78
  "default": false
@@ -59,11 +83,23 @@
59
83
  },
60
84
  "recallLimit": {
61
85
  "type": "number",
62
- "default": 5
86
+ "default": 5,
87
+ "minimum": 1,
88
+ "maximum": 20
63
89
  },
64
90
  "recallThreshold": {
65
91
  "type": "number",
66
- "default": 0.3
92
+ "default": 0.3,
93
+ "minimum": 0,
94
+ "maximum": 1
95
+ },
96
+ "excludeChannels": {
97
+ "type": "array",
98
+ "items": {
99
+ "type": "string"
100
+ },
101
+ "default": [],
102
+ "description": "List of channel IDs to exclude from auto-recall"
67
103
  }
68
104
  },
69
105
  "required": []
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "@memoryrelay/plugin-memoryrelay-ai",
3
- "version": "0.6.0",
4
- "description": "OpenClaw memory plugin for MemoryRelay API - long-term memory with semantic search",
3
+ "version": "0.7.0",
4
+ "description": "OpenClaw memory plugin for MemoryRelay API - sessions, decisions, patterns, projects & semantic search",
5
5
  "type": "module",
6
6
  "main": "index.ts",
7
7
  "scripts": {
8
- "postinstall": "node -e \"console.log('\\n⚠️ CONFIGURATION REQUIRED\\n\\nAdd config after installation:\\n\\ncat ~/.openclaw/openclaw.json | jq \\'.plugins.entries.\\\"plugin-memoryrelay-ai\\\".config = {\\\"apiKey\\\": \\\"YOUR_KEY\\\", \\\"agentId\\\": \\\"YOUR_AGENT\\\"}\\' > /tmp/config.json && mv /tmp/config.json ~/.openclaw/openclaw.json\\n\\nThen restart: openclaw gateway restart\\n\\nGet your API key from: https://memoryrelay.ai\\n')\""
8
+ "test": "vitest run",
9
+ "test:watch": "vitest",
10
+ "test:coverage": "vitest run --coverage",
11
+ "postinstall": "node -e \"console.log('\\n⚠️ CONFIGURATION REQUIRED\\n\\nAdd config after installation:\\n\\ncat ~/.openclaw/openclaw.json | jq \\'.plugins.entries.\\\"plugin-memoryrelay-ai\\\".config = {\\\"apiKey\\\": \\\"YOUR_KEY\\\", \\\"agentId\\\": \\\"YOUR_AGENT\\\"}\\' > /tmp/config.json && mv /tmp/config.json ~/.openclaw/openclaw.json\\n\\nOr use environment variables:\\nexport MEMORYRELAY_API_KEY=\\\"mem_prod_...\\\"\\nexport MEMORYRELAY_AGENT_ID=\\\"your-agent\\\"\\n\\nThen restart: openclaw gateway restart\\n\\nGet your API key from: https://memoryrelay.ai\\n')\""
9
12
  },
10
13
  "keywords": [
11
14
  "openclaw",
@@ -30,10 +33,14 @@
30
33
  "peerDependencies": {
31
34
  "openclaw": ">=2026.2.0"
32
35
  },
36
+ "devDependencies": {
37
+ "vitest": "^1.2.0",
38
+ "@vitest/coverage-v8": "^1.2.0"
39
+ },
33
40
  "openclaw": {
34
41
  "id": "plugin-memoryrelay-ai",
35
42
  "extensions": [
36
- "./"
43
+ "./index.ts"
37
44
  ]
38
45
  },
39
46
  "files": [