Expand description
Parse Claude Code session files (JSONL) for Bash command history.
Extracts tool calls and user decisions (allow/deny) from session transcripts,
producing CommandBreakdown data compatible with the suggestion engine.
Structs§
- Audit
Result - Audit results: classify commands against current rippy config.
- Session
Command - A single Bash command extracted from a session with the user’s decision.
Functions§
- audit_
commands - Classify session commands against the current rippy config.
- filter_
auto_ allowed - Filter out commands that CC permissions or rippy config already auto-allow.
- parse_
project_ sessions - Find and parse all session files for the current project.
- parse_
session_ file - Parse a single JSONL session file for Bash tool commands.
- print_
audit - Print audit results to stdout.
- to_
breakdowns - Convert session commands to
CommandBreakdownformat for the suggest engine.