Documentation
¶
Index ¶
- func GenerateHTMLReport(frames []Frame, out io.Writer) error
- func GenerateMarkdownReport(frames []Frame, out io.Writer) error
- func GenerateMarkdownReportWithANSI(frames []Frame, out io.Writer) error
- func GenerateXMLReport(frames []Frame, out io.Writer) error
- func GenerateXMLReportWithANSI(frames []Frame, out io.Writer) error
- type Frame
- type Recorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateHTMLReport ¶
GenerateHTMLReport creates an interactive HTML report from the recorded frames.
func GenerateMarkdownReport ¶
GenerateMarkdownReport creates a markdown report optimized for LLM consumption.
func GenerateMarkdownReportWithANSI ¶
GenerateMarkdownReportWithANSI creates a markdown report with ANSI codes preserved.
func GenerateXMLReport ¶
GenerateXMLReport creates an XML report optimized for LLM consumption.
Types ¶
type Frame ¶
type Frame struct {
Timestamp time.Duration `json:"timestamp"` // Time since session start.
Input string `json:"input"` // The user's input (keystrokes).
Output string `json:"output"` // The raw ANSI output from the application in response to the input.
}
Frame represents a single cause-and-effect step in the recorded session. It links a user's input to the resulting raw ANSI output from the application.
Click to show internal directories.
Click to hide internal directories.