@memoryrelay/plugin-memoryrelay-ai 0.8.4 → 0.8.5
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 +1 -1
package/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* OpenClaw Memory Plugin - MemoryRelay
|
|
3
|
-
* Version: 0.8.
|
|
3
|
+
* Version: 0.8.5 (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,6 +9,11 @@
|
|
|
9
9
|
* API: https://api.memoryrelay.net
|
|
10
10
|
* Docs: https://memoryrelay.ai
|
|
11
11
|
*
|
|
12
|
+
* ENHANCEMENTS (v0.8.5):
|
|
13
|
+
* - Removed fs.writeFile from export command (stdout only now)
|
|
14
|
+
* - No filesystem operations - passes OpenClaw security validation
|
|
15
|
+
* - Export usage: openclaw memoryrelay export > memories.json
|
|
16
|
+
*
|
|
12
17
|
* ENHANCEMENTS (v0.8.4):
|
|
13
18
|
* - Removed file logging feature to pass OpenClaw security validation
|
|
14
19
|
* - All debug logs now in-memory only (circular buffer)
|
|
@@ -858,7 +863,7 @@ export default async function plugin(api: OpenClawPluginApi): Promise<void> {
|
|
|
858
863
|
const verboseEnabled = cfg?.verbose || false;
|
|
859
864
|
const maxLogEntries = cfg?.maxLogEntries || 100;
|
|
860
865
|
|
|
861
|
-
// Note: logFile is deprecated in v0.8.
|
|
866
|
+
// Note: logFile is deprecated in v0.8.5 (removed for OpenClaw security compliance)
|
|
862
867
|
// All debug logs are in-memory only. Use gateway methods to access logs.
|
|
863
868
|
|
|
864
869
|
let debugLogger: DebugLogger | undefined;
|
|
@@ -3209,15 +3214,12 @@ export default async function plugin(api: OpenClawPluginApi): Promise<void> {
|
|
|
3209
3214
|
|
|
3210
3215
|
mem
|
|
3211
3216
|
.command("export")
|
|
3212
|
-
.description("Export all memories to JSON
|
|
3213
|
-
.
|
|
3214
|
-
.action(async (opts) => {
|
|
3217
|
+
.description("Export all memories to JSON (outputs to stdout)")
|
|
3218
|
+
.action(async () => {
|
|
3215
3219
|
try {
|
|
3216
|
-
console.log("Exporting memories...");
|
|
3217
3220
|
const memories = await client.export();
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
console.log(`Exported ${memories.length} memories to ${opts.output}`);
|
|
3221
|
+
console.log(JSON.stringify(memories, null, 2));
|
|
3222
|
+
console.error(`\n# Exported ${memories.length} memories. Redirect stdout to save: memoryrelay export > memories.json`);
|
|
3221
3223
|
} catch (err) {
|
|
3222
3224
|
console.error(`Export failed: ${String(err)}`);
|
|
3223
3225
|
}
|
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.5",
|
|
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.5): 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