transcript

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package transcript extracts a compact natural-language transcript from a Claude Code session log (JSONL), dropping tool traffic.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL