mr-memory 2.9.5 → 2.9.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/index.ts +2 -8
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -235,11 +235,8 @@ const memoryRouterPlugin = {
235
235
  log(
236
236
  `memoryrouter: injected ${data.memories_found || 0} memories (${data.memory_tokens || 0} tokens)`,
237
237
  );
238
- // Return both fields for forward/backward compat:
239
- // - Old OpenClaw: ignores appendSystemPrompt, uses prependContext
240
- // - New OpenClaw (PR #25866): same content → uses appendSystemPrompt only
241
238
  const wrapped = wrapForInjection(data.context);
242
- return { appendSystemPrompt: wrapped, prependContext: wrapped };
239
+ return { appendSystemPrompt: wrapped };
243
240
  }
244
241
  } catch {
245
242
  // Silent fail on tool iterations — don't block the agent
@@ -341,11 +338,8 @@ const memoryRouterPlugin = {
341
338
  log(
342
339
  `memoryrouter: injected ${data.memories_found || 0} memories (${data.memory_tokens || 0} tokens)`,
343
340
  );
344
- // Return both fields for forward/backward compat:
345
- // - Old OpenClaw: ignores appendSystemPrompt, uses prependContext
346
- // - New OpenClaw (PR #25866): same content → uses appendSystemPrompt only
347
341
  const wrapped = wrapForInjection(data.context);
348
- return { appendSystemPrompt: wrapped, prependContext: wrapped };
342
+ return { prependContext: wrapped };
349
343
  }
350
344
  } catch (err) {
351
345
  log(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mr-memory",
3
- "version": "2.9.5",
3
+ "version": "2.9.7",
4
4
  "description": "MemoryRouter persistent memory plugin for OpenClaw — your AI remembers every conversation",
5
5
  "type": "module",
6
6
  "files": [