@hasna/mementos 0.10.12 → 0.10.13

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/dist/mcp/index.js CHANGED
@@ -10604,6 +10604,9 @@ server.tool("memory_context", "Get memories relevant to current context, filtere
10604
10604
  if (memories.length === 0) {
10605
10605
  return { content: [{ type: "text", text: "No memories in current context." }] };
10606
10606
  }
10607
+ for (const m of memories) {
10608
+ touchMemory(m.id);
10609
+ }
10607
10610
  const lines = memories.map((m) => `[${m.scope}/${m.category}] ${m.key}: ${m.value} (importance: ${m.importance})`);
10608
10611
  return { content: [{ type: "text", text: lines.join(`
10609
10612
  `) }] };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/mementos",
3
- "version": "0.10.12",
3
+ "version": "0.10.13",
4
4
  "description": "Universal memory system for AI agents - CLI + MCP server + library API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",