mr-memory 2.9.6 → 2.9.8

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
@@ -242,11 +242,8 @@ const memoryRouterPlugin = {
242
242
  log(
243
243
  `memoryrouter: injected ${data.memories_found || 0} memories (${data.memory_tokens || 0} tokens)`,
244
244
  );
245
- // Return both fields for forward/backward compat:
246
- // - Old OpenClaw: ignores appendSystemPrompt, uses prependContext
247
- // - New OpenClaw (PR #25866): same content → uses appendSystemPrompt only
248
245
  const wrapped = wrapForInjection(data.context);
249
- return { appendSystemPrompt: wrapped, prependContext: wrapped };
246
+ return { prependContext: wrapped };
250
247
  }
251
248
  } catch {
252
249
  // Silent fail on tool iterations — don't block the agent
@@ -348,11 +345,8 @@ const memoryRouterPlugin = {
348
345
  log(
349
346
  `memoryrouter: injected ${data.memories_found || 0} memories (${data.memory_tokens || 0} tokens)`,
350
347
  );
351
- // Return both fields for forward/backward compat:
352
- // - Old OpenClaw: ignores appendSystemPrompt, uses prependContext
353
- // - New OpenClaw (PR #25866): same content → uses appendSystemPrompt only
354
348
  const wrapped = wrapForInjection(data.context);
355
- return { appendSystemPrompt: wrapped, prependContext: wrapped };
349
+ return { prependContext: wrapped };
356
350
  }
357
351
  } catch (err) {
358
352
  log(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mr-memory",
3
- "version": "2.9.6",
3
+ "version": "2.9.8",
4
4
  "description": "MemoryRouter persistent memory plugin for OpenClaw — your AI remembers every conversation",
5
5
  "type": "module",
6
6
  "files": [