mr-memory 2.11.6 → 2.11.7

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/package.json +1 -1
  2. package/upload.ts +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mr-memory",
3
- "version": "2.11.6",
3
+ "version": "2.11.7",
4
4
  "description": "MemoryRouter persistent memory plugin for OpenClaw — your AI remembers every conversation",
5
5
  "type": "module",
6
6
  "files": [
package/upload.ts CHANGED
@@ -351,8 +351,15 @@ export async function runUpload(params: {
351
351
  totalFailed += batchFailed;
352
352
 
353
353
  if (batchFailed > 0) {
354
- const errHint = result.errors?.[0] ? ` (${result.errors[0].slice(0, 80)})` : "";
354
+ const errHint = result.errors?.[0] ? ` (${result.errors[0].slice(0, 120)})` : "";
355
355
  console.log(`⚠ ${batchStored} stored, ${batchFailed} skipped${errHint}`);
356
+ // Show detailed error diagnostics (up to 5 per batch)
357
+ if (result.errors && result.errors.length > 1) {
358
+ for (const err of result.errors.slice(0, 5)) {
359
+ console.log(` → ${err.slice(0, 200)}`);
360
+ }
361
+ if (result.errors.length > 5) console.log(` → ... and ${result.errors.length - 5} more`);
362
+ }
356
363
  } else {
357
364
  console.log(`✓ ${batchStored} stored`);
358
365
  }