memorylake-openclaw 0.0.15-beta.1 → 1.0.0

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 +5 -4
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -366,10 +366,12 @@ class PlatformProvider implements MemoryLakeProvider {
366
366
  if (options.threshold != null) body.threshold = options.threshold;
367
367
  if (options.rerank != null) body.rerank = options.rerank;
368
368
 
369
+
369
370
  const resp = await this.http
370
371
  .post(`${this.basePath}/search`, { json: body })
371
372
  .json<ApiResponse>();
372
373
  if (!resp.success) throw new Error(resp.message ?? "search failed");
374
+
373
375
  return normalizeSearchResults(resp.data);
374
376
  }
375
377
 
@@ -475,14 +477,13 @@ class PlatformProvider implements MemoryLakeProvider {
475
477
 
476
478
  async listConflicts(memoryIds: string[], userId: string): Promise<ConflictItem[]> {
477
479
  if (memoryIds.length === 0) return [];
478
- const searchParams: Record<string, string | string[]> = {
480
+ const searchParams: Record<string, string> = {
479
481
  resolved: "false",
480
- memory_ids: memoryIds,
482
+ memory_ids: memoryIds.join(","),
481
483
  };
482
484
  const resp = await this.http
483
485
  .get(this.conflictsPath, {
484
- searchParams,
485
- headers: { "X-User-ID": userId },
486
+ searchParams
486
487
  })
487
488
  .json<ApiResponse<ConflictListResponse>>();
488
489
  if (!resp.success) throw new Error(resp.message ?? "list conflicts failed");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memorylake-openclaw",
3
- "version": "0.0.15-beta.1",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
5
  "description": "MemoryLake memory backend for OpenClaw",
6
6
  "license": "MIT",