Skip to main content

Module jsonl

Module jsonl 

Source
Expand description

JSONL transcript parsing for Claude Code sessions.

Parses Claude Code’s .jsonl transcript files into the universal Conversation format. This is the input adapter for standalone (non-pulse-null) usage — e.g., when recall-echo is used as a Claude Code hook.

Structs§

HookInput
What a SessionEnd hook tells us about the session that just ended.

Functions§

is_jsonl_transcript
Whether a file is a JSON Lines transcript, as Claude Code writes them.
parse_transcript
Parse a Claude Code JSONL transcript into a Conversation.
read_hook_input