@memoryrelay/plugin-memoryrelay-ai 0.15.5 → 0.15.6
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 +6 -5
- 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.15.
|
|
3
|
+
* Version: 0.15.6
|
|
4
4
|
*
|
|
5
5
|
* Long-term memory with vector search using MemoryRelay API.
|
|
6
6
|
* Provides auto-recall and auto-capture via lifecycle hooks.
|
|
@@ -711,7 +711,7 @@ class MemoryRelayClient {
|
|
|
711
711
|
headers: {
|
|
712
712
|
"Content-Type": "application/json",
|
|
713
713
|
Authorization: `Bearer ${this.apiKey}`,
|
|
714
|
-
"User-Agent": "openclaw-memory-memoryrelay/0.15.
|
|
714
|
+
"User-Agent": "openclaw-memory-memoryrelay/0.15.6",
|
|
715
715
|
},
|
|
716
716
|
body: body ? JSON.stringify(body) : undefined,
|
|
717
717
|
},
|
|
@@ -883,9 +883,10 @@ class MemoryRelayClient {
|
|
|
883
883
|
}
|
|
884
884
|
|
|
885
885
|
async list(limit: number = 20, offset: number = 0): Promise<Memory[]> {
|
|
886
|
+
const cappedLimit = Math.min(limit, 100);
|
|
886
887
|
const response = await this.request<{ data: Memory[] }>(
|
|
887
888
|
"GET",
|
|
888
|
-
`/v1/memories?limit=${
|
|
889
|
+
`/v1/memories?limit=${cappedLimit}&offset=${offset}&agent_id=${encodeURIComponent(this.agentId)}`,
|
|
889
890
|
);
|
|
890
891
|
return response.data || [];
|
|
891
892
|
}
|
|
@@ -4508,7 +4509,7 @@ export default async function plugin(api: OpenClawPluginApi): Promise<void> {
|
|
|
4508
4509
|
});
|
|
4509
4510
|
|
|
4510
4511
|
api.logger.info?.(
|
|
4511
|
-
`memory-memoryrelay: plugin v0.15.
|
|
4512
|
+
`memory-memoryrelay: plugin v0.15.6 loaded (${Object.values(TOOL_GROUPS).flat().length} tools, autoRecall: ${cfg?.autoRecall}, autoCapture: ${autoCaptureConfig.enabled ? autoCaptureConfig.tier : 'off'}, debug: ${debugEnabled})`,
|
|
4512
4513
|
);
|
|
4513
4514
|
|
|
4514
4515
|
// ========================================================================
|
|
@@ -5604,7 +5605,7 @@ export default async function plugin(api: OpenClawPluginApi): Promise<void> {
|
|
|
5604
5605
|
description: "Show how to update the MemoryRelay plugin to the latest version",
|
|
5605
5606
|
requireAuth: true,
|
|
5606
5607
|
handler: async (_ctx) => {
|
|
5607
|
-
const currentVersion = "0.15.
|
|
5608
|
+
const currentVersion = "0.15.6";
|
|
5608
5609
|
const lines: string[] = [
|
|
5609
5610
|
"MemoryRelay Plugin Update",
|
|
5610
5611
|
"━".repeat(50),
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"id": "plugin-memoryrelay-ai",
|
|
3
3
|
"kind": "memory",
|
|
4
4
|
"name": "MemoryRelay AI",
|
|
5
|
-
"description": "MemoryRelay v0.15.
|
|
6
|
-
"version": "0.15.
|
|
5
|
+
"description": "MemoryRelay v0.15.6 - Long-term memory with 42 tools, 17 commands, V2 async, sessions, decisions, patterns & projects (api.memoryrelay.net)",
|
|
6
|
+
"version": "0.15.6",
|
|
7
7
|
"uiHints": {
|
|
8
8
|
"apiKey": {
|
|
9
9
|
"label": "MemoryRelay API Key",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memoryrelay/plugin-memoryrelay-ai",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.6",
|
|
4
4
|
"description": "OpenClaw memory plugin for MemoryRelay API - 42 tools, 17 commands, V2 async, sessions, decisions, patterns, projects & semantic search",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|