Skip to main content

Crate hindsight

Crate hindsight 

Source
Expand description

Claude Hindsight library

Provides JSONL parsing and session analysis for Claude Code transcripts.

Re-exports§

pub use analyzer::build_simple_tree;
pub use analyzer::TreeNode;
pub use error::HindsightError;
pub use error::Result;
pub use parser::parse_session;
pub use parser::ExecutionNode;
pub use parser::Session;
pub use storage::discover_sessions;
pub use storage::initialize_index;
pub use storage::refresh_index;
pub use storage::SessionFile;
pub use storage::SessionIndex;

Modules§

agents
Agent & Skill discovery and parsing
analyzer
Execution tree analysis
api
API layer for web dashboard
config
Configuration management for Hindsight
error
Error types for Claude Hindsight
otel
OTLP JSON parser and extractor for Claude Code telemetry.
parser
JSONL transcript parser for Claude Code sessions
pricing
Model-aware pricing for Claude API usage.
search
Search engine for Claude Code sessions
server
Axum HTTP server for the Hindsight web dashboard
storage
Session storage and indexing
tui
Interactive terminal UI
watcher
File watching utilities for real-time session monitoring