claude-discover 1.10.11 → 1.10.13
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/README.md +1 -1
- package/bin/proxy.mjs +5 -4
- package/out/main/main.js +354 -252
- package/out/renderer/assets/{index-6XP1VO90.css → index-3_oCekw8.css} +299 -186
- package/out/renderer/assets/index-DvnJGM5F.js +10591 -0
- package/out/renderer/assets/{vendors-Bl9fFxNt.js → vendors-C1ZLrYHz.js} +3544 -3254
- package/out/renderer/index.html +3 -3
- package/package.json +16 -9
- package/out/renderer/assets/index-DtJQFz1O.js +0 -5446
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ claude-discover
|
|
|
34
34
|
Your Claude sessions laid out on a daily, weekly, or monthly timeline. One glance tells you where your tokens went; the second finds the session that quietly spawned 100+ agents.
|
|
35
35
|
|
|
36
36
|
- **Sessions list**\
|
|
37
|
-
Filter and sort every session in the selected period. Warning badges flag the expensive habits: oversized context,
|
|
37
|
+
Filter and sort every session in the selected period. Warning badges flag the expensive habits: oversized context, a cache TTL (5m or 1h) that would have cost less, fast mode, marathon sessions - and more to come.
|
|
38
38
|
|
|
39
39
|
- **Session preview**
|
|
40
40
|
- **Conversation view**\
|
package/bin/proxy.mjs
CHANGED
|
@@ -192,10 +192,11 @@ export function dedupeRequest(body, seen = new Set()) {
|
|
|
192
192
|
// Inside a newly-seen value, array elements (content blocks, tool schemas, …) are deduped
|
|
193
193
|
// individually too, at any depth — one injected/updated element (e.g. a system-reminder)
|
|
194
194
|
// must not re-log its siblings. Primitive elements stay inline: a $ref would outweigh them.
|
|
195
|
-
const deep = v =>
|
|
196
|
-
Array.isArray(v) ? v.map(el => el && typeof el === 'object' ? dedupe(el) : el)
|
|
197
|
-
|
|
198
|
-
|
|
195
|
+
const deep = v => {
|
|
196
|
+
return Array.isArray(v) ? v.map(el => el && typeof el === 'object' ? dedupe(el) : el)
|
|
197
|
+
: v && typeof v === 'object' ? Object.fromEntries(Object.entries(v).map(([k, x]) => [k, deep(x)]))
|
|
198
|
+
: v
|
|
199
|
+
}
|
|
199
200
|
const out = { ...body }
|
|
200
201
|
if (out.system != null) out.system = dedupe(out.system)
|
|
201
202
|
if (out.tools != null) out.tools = dedupe(out.tools)
|