Documentation ¶ Overview ¶ Package transcript extracts a compact natural-language transcript from a Claude Code session log (JSONL), dropping tool traffic. Index ¶ func Text(path string, maxBytes int) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Text ¶ func Text(path string, maxBytes int) (string, error) Text returns the user/assistant natural-language turns of a transcript file as "role: text" blocks. Tool calls/results and other entry types are skipped. If the result exceeds maxBytes (>0), only the newest tail is kept. Types ¶ This section is empty. Source Files ¶ View all Source files transcript.go Click to show internal directories. Click to hide internal directories.