claude-code-memory-explorer 0.10.0 → 0.11.1

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/public/index.html CHANGED
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Claude Code Memory</title>
6
+ <title>Memory Diagnoser</title>
7
7
  <link rel="preconnect" href="https://fonts.googleapis.com">
8
8
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9
9
  <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Playfair+Display:wght@400;500;600&display=swap" rel="stylesheet">
@@ -25,13 +25,17 @@
25
25
  <div class="topbar">
26
26
  <div class="topbar-logo">
27
27
  <div class="logo-mark"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M3 5v4c0 1.66 4.03 3 9 3s9-1.34 9-3V5"/><path d="M3 9v4c0 1.66 4.03 3 9 3s9-1.34 9-3V9"/><path d="M3 13v4c0 1.66 4.03 3 9 3s9-1.34 9-3v-4"/></svg></div>
28
- <span class="logo-text">Memory</span>
28
+ <span class="logo-text">Memory Diagnoser</span>
29
29
  </div>
30
30
  <div class="spacer"></div>
31
31
  <div class="topbar-project" id="projectBtn" onclick="changeProject()">
32
32
  <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 19a2 2 0 01-2 2H4a2 2 0 01-2-2V5a2 2 0 012-2h5l2 3h9a2 2 0 012 2z"/></svg>
33
33
  <span id="projectName">Loading...</span>
34
34
  </div>
35
+ <button class="topbar-btn" id="analyzeBtn" title="Memory health — Claude analysis" onclick="openHealthView()">
36
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l1.9 5.7L19.6 10l-5.7 1.9L12 17.6l-1.9-5.7L4.4 10l5.7-1.9z"/><path d="M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z"/></svg>
37
+ <span>Analyze</span>
38
+ </button>
35
39
  <button class="topbar-btn" id="refreshBtn" title="Refresh (r)" onclick="refreshData()">
36
40
  <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="23 4 23 10 17 10"/><path d="M20.49 15a9 9 0 11-2.12-9.36L23 10"/></svg>
37
41
  </button>
@@ -44,6 +48,7 @@
44
48
  </button>
45
49
  <button class="topbar-btn" id="helpBtn" title="Keyboard shortcuts (?)" onclick="toggleHelpModal()">
46
50
  <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/><circle cx="12" cy="17" r="0.5" fill="currentColor"/></svg>
51
+ <kbd>?</kbd>
47
52
  </button>
48
53
  <a class="topbar-btn" href="https://github.com/NikiforovAll/claude-code-memory" target="_blank" rel="noopener" title="GitHub">
49
54
  <svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"/></svg>
@@ -51,10 +56,10 @@
51
56
  </div>
52
57
 
53
58
  <!-- Size bar -->
54
- <div class="budget-bar" id="budgetBar">
59
+ <div class="budget-bar" id="budgetBar" onclick="_toggleFootprint()" title="Click to highlight the files that count toward the memory footprint">
55
60
  <div class="budget-label">
56
61
  <span>Memory sources</span>
57
- <span class="mono" id="budgetText">0 lines</span>
62
+ <span class="mono" id="budgetText">0 chars</span>
58
63
  </div>
59
64
  <div class="budget-track">
60
65
  <div class="budget-segments" id="budgetSegments"></div>
@@ -82,7 +87,7 @@
82
87
  <!-- Summary stats -->
83
88
  <div class="summary-bar" id="summaryBar">
84
89
  <div class="summary-card"><span class="sc-value" id="statFiles">-</span><span class="sc-label">Files</span></div>
85
- <div class="summary-card"><span class="sc-value" id="statLines">-</span><span class="sc-label">Lines</span></div>
90
+ <div class="summary-card"><span class="sc-value" id="statChars">-</span><span class="sc-label">Chars</span></div>
86
91
  <div class="summary-card"><span class="sc-value" id="statBytes">-</span><span class="sc-label">Bytes</span></div>
87
92
  <div class="summary-card"><span class="sc-value" id="statAlways">-</span><span class="sc-label">Always loaded</span></div>
88
93
  </div>
@@ -149,7 +154,7 @@
149
154
  <div class="modal-overlay" id="helpModal" onclick="if(event.target===this)toggleHelpModal()">
150
155
  <div class="modal">
151
156
  <div class="modal-header">
152
- <h3>Memory Explorer</h3>
157
+ <h3>Memory Diagnoser</h3>
153
158
  <button class="modal-close" onclick="toggleHelpModal()">&#10005;</button>
154
159
  </div>
155
160
  <div class="modal-body">