@hasna/mementos 0.14.14 → 0.14.15

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/cli/index.js CHANGED
@@ -22390,7 +22390,7 @@ function registerIoCommands(program2) {
22390
22390
  if (!Array.isArray(memories)) {
22391
22391
  throw new Error("JSON file must contain an array of memories");
22392
22392
  }
22393
- const dedupeMode = opts.overwrite ? "merge" : "create";
22393
+ const dedupeMode = opts.overwrite ? "create" : "merge";
22394
22394
  let imported = 0;
22395
22395
  for (const mem of memories) {
22396
22396
  createMemory({ ...mem, source: mem.source || "imported" }, dedupeMode);
@@ -24549,7 +24549,7 @@ session_end = "bun ${script}"`));
24549
24549
  const { fileURLToPath: _ftu } = await import("url");
24550
24550
  const { dirname: _dir, join: _join } = await import("path");
24551
24551
  const { readFileSync: _rfs } = await import("fs");
24552
- const pkg = JSON.parse(_rfs(_join(_dir(_ftu(import.meta.url)), "../../../package.json"), "utf-8"));
24552
+ const pkg = JSON.parse(_rfs(_join(_dir(_ftu(import.meta.url)), "../../package.json"), "utf-8"));
24553
24553
  db.run("INSERT INTO feedback (message, email, category, version) VALUES (?, ?, ?, ?)", [
24554
24554
  message,
24555
24555
  opts.email || null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/mementos",
3
- "version": "0.14.14",
3
+ "version": "0.14.15",
4
4
  "description": "Universal memory system for AI agents - CLI + MCP server + library API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",