@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 +9 -0
- package/index.ts +4 -4
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
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
|
|
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/
|
|
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
|
|
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
|
|
121
|
+
await this.request<void>("DELETE", `/v1/memories/${id}`);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
async health(): Promise<{ status: string }> {
|
package/openclaw.plugin.json
CHANGED