Skip to main content

Module transcript

Module transcript 

Source
Expand description

Shared transcript formatting for /history (spec-068 §13.6).

TranscriptFormatter is the single source of truth for rendering a bounded slice of conversation history into role-prefixed, tool-collapsed text. Both the flat-text channels (CLI, Telegram, Discord, Slack) and the TUI backfill path reuse it — neither implements its own formatting.

Structs§

TranscriptEntry
One formattable entry in a bounded transcript slice.
TranscriptFormatter
Formats bounded TranscriptEntry slices into role-prefixed, tool-collapsed text.

Enums§

TranscriptRole
Role of a TranscriptEntry, decoupled from zeph_llm::provider::Role so this crate does not depend on zeph-llm (see the crate-level DRY/dependency note in lib.rs).