Commit graph

15 commits

Author SHA1 Message Date
Rafael Calleja
4f2fcf81d8 feat: add shell commands section to CSV and JSON export 2026-04-14 10:24:38 +02:00
Rafael Calleja
260cad9e08 feat: add Shell Commands breakdown panel to dashboard 2026-04-14 10:24:38 +02:00
Rafael Calleja
6d8c8643a0 feat: extract bash commands and add bashBreakdown to session summary 2026-04-14 10:24:38 +02:00
Rafael Calleja
45ce697eea fix: correct quote-handling alignment in extractBashCommands
Replace quoted strings with same-length spaces in stripQuotedStrings so
separator indices in the stripped string map correctly to the original.
Add test coverage for quoted separators and isBashTool.
2026-04-14 10:24:24 +02:00
Rafael Calleja
b75c2663b4 feat: add extractBashCommands with TDD tests
Implements bash command parsing utility that splits on &&, ;, and |
separators while respecting quoted strings. Includes isBashTool helper.
All 12 vitest tests pass.
2026-04-14 10:24:24 +02:00
AgentSeal
d20281514c feat: one-shot success rate per activity category
Detects edit/test/fix retry cycles (Edit -> Bash -> Edit) within each
turn. Shows 1-shot percentage in the By Activity panel for categories
that involve code edits. Updated screenshot and README.

Fixes #4
2026-04-14 01:14:34 -07:00
AgentSeal
74744f07bb fix: stop tool-result entries from splitting turns and inflating Conversation
Tool results in JSONL are type:"user" entries with no text content.
groupIntoTurns was flushing on every type:"user" entry, creating
phantom turns that got classified as Conversation. Now only flush
when the user entry contains actual text.

Fixes #7
2026-04-14 00:57:43 -07:00
AgentSeal
b04d1e0ff8 add LICENSE and CHANGELOG 2026-04-13 18:24:51 -07:00
AgentSeal
8b8c97e692 bump to 0.2.0 for npm publish 2026-04-13 17:59:47 -07:00
AgentSeal
0da57d1172 add Claude Desktop (code tab) session support
Scans ~/Library/Application Support/Claude/local-agent-mode-sessions/
for Desktop sessions in addition to ~/.claude/projects/. Same JSONL
format, just nested deeper. Cross-platform paths for macOS/Windows/Linux.
2026-04-13 17:58:19 -07:00
AgentSeal
f6cc68a7d4 support CLAUDE_CONFIG_DIR environment variable
Respects CLAUDE_CONFIG_DIR if set, falls back to ~/.claude.
Closes #3.
2026-04-13 17:52:27 -07:00
AgentSeal
490130e32e fix: add files field, slim package from 1.1MB to 40KB
Only ship dist/ to npm. Fixes bin path validation warning.
2026-04-13 15:20:46 -07:00
AgentSeal
ec074e75cf fix: use jsDelivr CDN for readme images
npm blocks raw.githubusercontent.com URLs. Switched to cdn.jsdelivr.net
which npm allows, same approach as ccusage.
2026-04-13 15:20:05 -07:00
AgentSeal
08d8c7528d fix: use absolute URLs for npm readme images
npm cannot resolve relative image paths. Switched to raw.githubusercontent
URLs so logo, dashboard screenshot, and menubar screenshot render on npmjs.com.
2026-04-13 15:18:11 -07:00
AgentSeal
00afed6930 v0.1.0 - initial release
Interactive TUI dashboard for Claude Code token observability.
13-category task classifier, per-project/model/tool breakdowns,
gradient bar charts, SwiftBar menu bar widget, CSV/JSON export.
2026-04-13 15:10:27 -07:00