Documentation
¶
Overview ¶
Package transcript provides best-effort JSONL readers for provider transcript files (Event.Session.TranscriptPath). Formats are provider-specific and unversioned upstream; entries always retain the raw line so consumers lose nothing when shapes drift. Capture/dedup pipelines are out of scope (DESIGN.md §11) — this package is parsing primitives only.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
Index int
Type string // provider's line type ("user", "assistant", "summary", ...)
Role string // message role when present
Text string // concatenated text content when extractable
Raw json.RawMessage
}
Entry is one transcript line, normalized best-effort.
Click to show internal directories.
Click to hide internal directories.