@memoryrelay/plugin-memoryrelay-ai 0.8.6 → 0.8.8
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/index.ts +11 -9
- package/openclaw.plugin.json +2 -2
- package/package.json +2 -3
package/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* OpenClaw Memory Plugin - MemoryRelay
|
|
3
|
-
* Version: 0.8.
|
|
3
|
+
* Version: 0.8.8 (OpenClaw Security Compliance)
|
|
4
4
|
*
|
|
5
5
|
* Long-term memory with vector search using MemoryRelay API.
|
|
6
6
|
* Provides auto-recall and auto-capture via lifecycle hooks.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* API: https://api.memoryrelay.net
|
|
10
10
|
* Docs: https://memoryrelay.ai
|
|
11
11
|
*
|
|
12
|
-
* ENHANCEMENTS (v0.8.
|
|
12
|
+
* ENHANCEMENTS (v0.8.8):
|
|
13
13
|
* - Removed fs.writeFile from export command (stdout only now)
|
|
14
14
|
* - No filesystem operations - passes OpenClaw security validation
|
|
15
15
|
* - Export usage: openclaw memoryrelay export > memories.json
|
|
@@ -834,13 +834,15 @@ export default async function plugin(api: OpenClawPluginApi): Promise<void> {
|
|
|
834
834
|
if (!apiKey) {
|
|
835
835
|
api.logger.error(
|
|
836
836
|
"memory-memoryrelay: Missing API key in config or MEMORYRELAY_API_KEY env var.\n\n" +
|
|
837
|
-
"REQUIRED:
|
|
838
|
-
|
|
839
|
-
'
|
|
840
|
-
'
|
|
841
|
-
"
|
|
837
|
+
"REQUIRED: Configure plugin via OpenClaw:\n\n" +
|
|
838
|
+
" openclaw config edit\n\n" +
|
|
839
|
+
'Navigate to plugins.entries.plugin-memoryrelay-ai.config and add:\n' +
|
|
840
|
+
' {\n' +
|
|
841
|
+
' "apiKey": "YOUR_API_KEY",\n' +
|
|
842
|
+
' "agentId": "YOUR_AGENT_ID"\n' +
|
|
843
|
+
' }\n\n' +
|
|
842
844
|
"Or set environment variable:\n" +
|
|
843
|
-
'export MEMORYRELAY_API_KEY="mem_prod_..."\n\n' +
|
|
845
|
+
' export MEMORYRELAY_API_KEY="mem_prod_..."\n\n' +
|
|
844
846
|
"Then restart: openclaw gateway restart\n\n" +
|
|
845
847
|
"Get your API key from: https://memoryrelay.ai",
|
|
846
848
|
);
|
|
@@ -863,7 +865,7 @@ export default async function plugin(api: OpenClawPluginApi): Promise<void> {
|
|
|
863
865
|
const verboseEnabled = cfg?.verbose || false;
|
|
864
866
|
const maxLogEntries = cfg?.maxLogEntries || 100;
|
|
865
867
|
|
|
866
|
-
// Note: logFile is deprecated in v0.8.
|
|
868
|
+
// Note: logFile is deprecated in v0.8.8 (removed for OpenClaw security compliance)
|
|
867
869
|
// All debug logs are in-memory only. Use gateway methods to access logs.
|
|
868
870
|
|
|
869
871
|
let debugLogger: DebugLogger | undefined;
|
package/openclaw.plugin.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"kind": "memory",
|
|
4
4
|
"name": "MemoryRelay AI",
|
|
5
5
|
"description": "AI memory service with sessions, decisions, patterns & projects (api.memoryrelay.net)",
|
|
6
|
-
"version": "0.8.
|
|
6
|
+
"version": "0.8.8",
|
|
7
7
|
"uiHints": {
|
|
8
8
|
"apiKey": {
|
|
9
9
|
"label": "MemoryRelay API Key",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
},
|
|
114
114
|
"logFile": {
|
|
115
115
|
"type": "string",
|
|
116
|
-
"description": "DEPRECATED (v0.8.
|
|
116
|
+
"description": "DEPRECATED (v0.8.8): File logging removed for OpenClaw security compliance. This option is ignored. Use gateway methods to access in-memory logs (coming in v0.9.0)."
|
|
117
117
|
},
|
|
118
118
|
"maxLogEntries": {
|
|
119
119
|
"type": "number",
|
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memoryrelay/plugin-memoryrelay-ai",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.8",
|
|
4
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
8
|
"test": "vitest run",
|
|
9
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')\""
|
|
10
|
+
"test:coverage": "vitest run --coverage"
|
|
12
11
|
},
|
|
13
12
|
"keywords": [
|
|
14
13
|
"openclaw",
|