Session parsing, timeline generation, and HTML/video rendering
Find a file
Snider a6fb93408b feat(parser): Phase 1+2 — parse stats, truncation detection, session analytics
Phase 1: ParseTranscript now returns (*Session, *ParseStats, error).
ParseStats tracks TotalLines, SkippedLines, OrphanedToolCalls, and
Warnings (line numbers + previews for bad JSON, orphaned tool IDs,
truncated final line detection). All call sites updated.

Phase 2: New analytics.go with Analyse() and FormatAnalytics().
SessionAnalytics computes Duration, ActiveTime, ToolCounts, ErrorCounts,
SuccessRate, AvgLatency, MaxLatency, and token estimation.

Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 07:40:52 +00:00
analytics.go feat(parser): Phase 1+2 — parse stats, truncation detection, session analytics 2026-02-20 07:40:52 +00:00
analytics_test.go feat(parser): Phase 1+2 — parse stats, truncation detection, session analytics 2026-02-20 07:40:52 +00:00
bench_test.go feat(parser): Phase 1+2 — parse stats, truncation detection, session analytics 2026-02-20 07:40:52 +00:00
CLAUDE.md feat: extract go-session from core/go pkg/session 2026-02-19 16:09:12 +00:00
FINDINGS.md test(phase0): add comprehensive test suite — 51 tests, 90.9% coverage 2026-02-20 00:42:11 +00:00
go.mod test(phase0): add comprehensive test suite — 51 tests, 90.9% coverage 2026-02-20 00:42:11 +00:00
go.sum test(phase0): add comprehensive test suite — 51 tests, 90.9% coverage 2026-02-20 00:42:11 +00:00
html.go feat: extract go-session from core/go pkg/session 2026-02-19 16:09:12 +00:00
html_test.go test: add comprehensive Phase 0 test suite — 67 tests, 90.9% coverage 2026-02-20 05:01:28 +00:00
parser.go feat(parser): Phase 1+2 — parse stats, truncation detection, session analytics 2026-02-20 07:40:52 +00:00
parser_test.go feat(parser): Phase 1+2 — parse stats, truncation detection, session analytics 2026-02-20 07:40:52 +00:00
search.go feat(parser): Phase 1+2 — parse stats, truncation detection, session analytics 2026-02-20 07:40:52 +00:00
search_test.go test: add comprehensive Phase 0 test suite — 67 tests, 90.9% coverage 2026-02-20 05:01:28 +00:00
TODO.md docs: flesh out Phase 1+2 task specs for parser robustness and analytics 2026-02-20 07:35:23 +00:00
video.go feat: extract go-session from core/go pkg/session 2026-02-19 16:09:12 +00:00
video_test.go test: add comprehensive Phase 0 test suite — 67 tests, 90.9% coverage 2026-02-20 05:01:28 +00:00