memorix 1.0.6 → 1.0.7

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.
@@ -21,6 +21,13 @@
21
21
  <span class="brand-text">Memorix</span>
22
22
  </div>
23
23
 
24
+ <!-- Mode Badge — shows standalone vs control-plane, port, MCP endpoint -->
25
+ <div id="mode-badge" class="mode-badge" style="display:none;">
26
+ <span id="mode-badge-label" class="mode-badge-label"></span>
27
+ <span id="mode-badge-port" class="mode-badge-port"></span>
28
+ <span id="mode-badge-mcp" class="mode-badge-mcp" style="display:none;"></span>
29
+ </div>
30
+
24
31
  <!-- Project Switcher (custom dropdown) -->
25
32
  <div class="project-switcher" id="project-switcher">
26
33
  <button class="project-trigger" id="project-trigger" title="Switch project">
@@ -39,7 +46,7 @@
39
46
  </div>
40
47
  </div>
41
48
 
42
- <div class="sidebar-section-label">CORE</div>
49
+ <div class="sidebar-section-label" data-section="core">CORE</div>
43
50
  <div class="sidebar-nav">
44
51
  <button class="nav-btn active" data-page="dashboard">
45
52
  <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
@@ -76,7 +83,7 @@
76
83
  <span class="nav-label">Observations</span>
77
84
  </button>
78
85
  </div>
79
- <div class="sidebar-section-label">HEALTH</div>
86
+ <div class="sidebar-section-label" data-section="health">HEALTH</div>
80
87
  <div class="sidebar-nav">
81
88
  <button class="nav-btn" data-page="retention">
82
89
  <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
@@ -98,7 +105,7 @@
98
105
  <span class="nav-label">Identity</span>
99
106
  </button>
100
107
  </div>
101
- <div class="sidebar-section-label">COLLABORATION</div>
108
+ <div class="sidebar-section-label" data-section="collaboration">COLLABORATION</div>
102
109
  <div class="sidebar-nav">
103
110
  <button class="nav-btn" data-page="sessions">
104
111
  <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
@@ -231,6 +231,52 @@ body {
231
231
  filter: drop-shadow(0 0 14px rgba(208, 188, 255, 0.5));
232
232
  }
233
233
 
234
+ /* Mode Badge — shows standalone vs control-plane, port, MCP endpoint */
235
+ .mode-badge {
236
+ display: flex;
237
+ align-items: center;
238
+ gap: 6px;
239
+ padding: 4px 12px;
240
+ margin: 0 20px 12px;
241
+ border-radius: var(--radius-sm);
242
+ font-size: 11px;
243
+ font-weight: 600;
244
+ letter-spacing: 0.3px;
245
+ background: var(--bg-elevated);
246
+ border: 1px solid var(--border-subtle);
247
+ color: var(--text-secondary);
248
+ flex-wrap: wrap;
249
+ }
250
+ .mode-badge-label {
251
+ padding: 1px 6px;
252
+ border-radius: 3px;
253
+ font-size: 10px;
254
+ text-transform: uppercase;
255
+ letter-spacing: 0.5px;
256
+ }
257
+ .mode-badge-label.control-plane {
258
+ background: rgba(103, 80, 164, 0.15);
259
+ color: var(--accent-purple);
260
+ }
261
+ .mode-badge-label.standalone {
262
+ background: rgba(180, 160, 120, 0.12);
263
+ color: var(--accent-amber);
264
+ }
265
+ .mode-badge-port {
266
+ color: var(--text-muted);
267
+ font-family: 'JetBrains Mono', monospace;
268
+ font-size: 10px;
269
+ }
270
+ .mode-badge-mcp {
271
+ color: var(--accent-blue);
272
+ font-family: 'JetBrains Mono', monospace;
273
+ font-size: 10px;
274
+ cursor: pointer;
275
+ }
276
+ .mode-badge-mcp:hover {
277
+ text-decoration: underline;
278
+ }
279
+
234
280
  .brand-text {
235
281
  font-size: 16px;
236
282
  font-weight: 700;