@vedtechsolutions/engram-mcp 1.0.15 → 1.0.16

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/dist/hook.js +1 -0
  2. package/package.json +1 -1
package/dist/hook.js CHANGED
@@ -6472,6 +6472,7 @@ ${distillLines}`
6472
6472
  if (m.memory.tags.includes("pre-compact")) continue;
6473
6473
  if (m.memory.tags.includes("session-narrative")) continue;
6474
6474
  if (m.memory.tags.includes("milestone") || m.memory.content.startsWith("Session milestone")) continue;
6475
+ if (state.active_project && m.memory.encoding_context?.project && m.memory.encoding_context.project !== state.active_project && (m.memory.type === "episodic" || m.memory.type === "semantic" && m.memory.domains.length > 0)) continue;
6475
6476
  const isFailure = m.memory.type === "episodic" && isEpisodicData(m.memory.type_data) && m.memory.type_data.outcome === "negative";
6476
6477
  const prefix = m.somatic_marker ? "[ENGRAM GUT]" : isFailure ? "[ENGRAM CAUTION]" : "[ENGRAM CONTEXT]";
6477
6478
  const outcomeHint = m.memory.type === "episodic" && (m.somatic_marker || isFailure) ? getEpisodicOutcomeHint(m.memory) : "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vedtechsolutions/engram-mcp",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Cognitive memory system for AI — persistent, cross-session learning via MCP",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",