Skip to main content

Module sessions

Module sessions 

Source
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§

AuditResult
Audit results: classify commands against current rippy config.
SessionCommand
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 CommandBreakdown format for the suggest engine.