claude-code-memory-explorer 0.9.1 → 0.11.0
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/lib/net-guard.js +267 -0
- package/lib/open-editor.js +267 -0
- package/package.json +5 -3
- package/public/app.js +510 -48
- package/public/index.html +20 -2
- package/public/style.css +607 -32
- package/server.js +550 -45
package/public/index.html
CHANGED
|
@@ -32,6 +32,10 @@
|
|
|
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="Analyze memory with Claude" onclick="openAnalysisModal()">
|
|
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>
|
|
@@ -54,7 +59,7 @@
|
|
|
54
59
|
<div class="budget-bar" id="budgetBar">
|
|
55
60
|
<div class="budget-label">
|
|
56
61
|
<span>Memory sources</span>
|
|
57
|
-
<span class="mono" id="budgetText">0
|
|
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="
|
|
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>
|
|
@@ -145,6 +150,19 @@
|
|
|
145
150
|
</div>
|
|
146
151
|
</div>
|
|
147
152
|
|
|
153
|
+
<!-- Analysis modal -->
|
|
154
|
+
<div class="modal-overlay" id="analysisModal" onclick="if(event.target===this)closeModal('analysisModal')">
|
|
155
|
+
<div class="modal modal-wide">
|
|
156
|
+
<div class="modal-header">
|
|
157
|
+
<h3>Claude analysis</h3>
|
|
158
|
+
<button class="modal-close" onclick="closeModal('analysisModal')">✕</button>
|
|
159
|
+
</div>
|
|
160
|
+
<div class="modal-body">
|
|
161
|
+
<div id="analysisSection"></div>
|
|
162
|
+
</div>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
|
|
148
166
|
<!-- Help modal -->
|
|
149
167
|
<div class="modal-overlay" id="helpModal" onclick="if(event.target===this)toggleHelpModal()">
|
|
150
168
|
<div class="modal">
|