@modusensus/dsh-mneme 0.7.9 → 0.7.10

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.
@@ -67,13 +67,24 @@ test("tab-first activation with hero-screen overlay fallback", () => {
67
67
  "a failed tab activation must open the fallback overlay"
68
68
  );
69
69
  assert.ok(
70
- /if \(!tab\) \{ resolve\(false\); return; \}/.test(clientSource),
70
+ /if \(candidates\.length === 0\) \{ resolve\(false\); return; \}/.test(clientSource),
71
71
  "activation must resolve false when the tab ring is absent (hero screen)"
72
72
  );
73
73
  assert.ok(
74
74
  /aria-selected.*true/.test(clientSource),
75
75
  "activation is only confirmed once the host marks the tab selected"
76
76
  );
77
+ // Same-labelled tabs from other plugins must never be activated by mistake:
78
+ // the click is only trusted once OUR explorer view actually rendered, and
79
+ // hidden tab panes are excluded before any click happens.
80
+ assert.ok(
81
+ /querySelector\("\.mneme-x"\) !== null/.test(clientSource),
82
+ "activation must verify the memory explorer rendered, not just the tab state"
83
+ );
84
+ assert.ok(
85
+ /offsetParent === null/.test(clientSource),
86
+ "hidden tab panes (settings dialogs etc.) must be excluded from activation"
87
+ );
77
88
  });
78
89
 
79
90
  // The fallback overlay reuses the full MemoryExplorer (three columns, graph,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modusensus/dsh-mneme",
3
- "version": "0.7.9",
3
+ "version": "0.7.10",
4
4
  "description": "Structured memory engine for DeepSeek Harness. Offline semantic search, entity-attribute-timeline, autoDream self-consolidation, and human-editable Markdown storage.",
5
5
  "license": "MIT",
6
6
  "repository": {