@memoryrelay/plugin-memoryrelay-ai 0.2.2 → 0.2.3

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/README.md CHANGED
@@ -396,6 +396,15 @@ MIT © 2026 MemoryRelay
396
396
 
397
397
  ## Changelog
398
398
 
399
+ ### v0.2.3 (2026-02-13)
400
+
401
+ **Critical Fix:**
402
+ - Fixed API endpoint paths - removed duplicate `/memories` segment
403
+ - Changed `/v1/memories/memories` → `/v1/memories`
404
+ - Changed `/v1/memories/memories/{id}` → `/v1/memories/{id}`
405
+ - Fixed 405 Method Not Allowed errors
406
+ - All CRUD operations now work correctly
407
+
399
408
  ### v0.2.2 (2026-02-13)
400
409
 
401
410
  **Critical Fix:**
package/index.ts CHANGED
@@ -80,7 +80,7 @@ class MemoryRelayClient {
80
80
  }
81
81
 
82
82
  async store(content: string, metadata?: Record<string, string>): Promise<Memory> {
83
- return this.request<Memory>("POST", "/v1/memories/memories", {
83
+ return this.request<Memory>("POST", "/v1/memories", {
84
84
  content,
85
85
  metadata,
86
86
  agent_id: this.agentId,
@@ -94,7 +94,7 @@ class MemoryRelayClient {
94
94
  ): Promise<SearchResult[]> {
95
95
  const response = await this.request<{ data: SearchResult[] }>(
96
96
  "POST",
97
- "/v1/memories/memories/search",
97
+ "/v1/memories/search",
98
98
  {
99
99
  query,
100
100
  limit,
@@ -114,11 +114,11 @@ class MemoryRelayClient {
114
114
  }
115
115
 
116
116
  async get(id: string): Promise<Memory> {
117
- return this.request<Memory>("GET", `/v1/memories/memories/${id}`);
117
+ return this.request<Memory>("GET", `/v1/memories/${id}`);
118
118
  }
119
119
 
120
120
  async delete(id: string): Promise<void> {
121
- await this.request<void>("DELETE", `/v1/memories/memories/${id}`);
121
+ await this.request<void>("DELETE", `/v1/memories/${id}`);
122
122
  }
123
123
 
124
124
  async health(): Promise<{ status: string }> {
@@ -3,7 +3,7 @@
3
3
  "kind": "memory",
4
4
  "name": "MemoryRelay AI",
5
5
  "description": "AI memory service using MemoryRelay API (api.memoryrelay.net)",
6
- "version": "0.2.2",
6
+ "version": "0.2.3",
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.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "OpenClaw memory plugin for MemoryRelay API - long-term memory with semantic search",
5
5
  "type": "module",
6
6
  "main": "index.ts",