@memoryrelay/plugin-memoryrelay-ai 0.15.3 → 0.15.4

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.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -1324,7 +1324,7 @@ class MemoryRelayClient {
1324
1324
  async stats(): Promise<Stats> {
1325
1325
  const response = await this.request<{ data: Stats }>(
1326
1326
  "GET",
1327
- `/v1/stats?agent_id=${encodeURIComponent(this.agentId)}`,
1327
+ `/v1/agents/${encodeURIComponent(this.agentId)}/stats`,
1328
1328
  );
1329
1329
  return {
1330
1330
  total_memories: response.data?.total_memories ?? 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memoryrelay/plugin-memoryrelay-ai",
3
- "version": "0.15.3",
3
+ "version": "0.15.4",
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",