export

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MarkdownExporter

type MarkdownExporter struct {
	// contains filtered or unexported fields
}

MarkdownExporter exports sessions to markdown format

func NewMarkdownExporter

func NewMarkdownExporter(opts ...MarkdownOption) *MarkdownExporter

NewMarkdownExporter creates a new markdown exporter

func (*MarkdownExporter) Export

func (e *MarkdownExporter) Export(w io.Writer, session *models.Session, turns []models.Turn, projectPath string) error

Export writes the session and turns to markdown format

type MarkdownOption

type MarkdownOption func(*MarkdownExporter)

MarkdownOption configures the markdown exporter

func WithRawJSON

func WithRawJSON(include bool) MarkdownOption

WithRawJSON includes raw JSON in the export

func WithThinking

func WithThinking(include bool) MarkdownOption

WithThinking includes thinking blocks in the export

func WithToolResults

func WithToolResults(include bool) MarkdownOption

WithToolResults includes tool results in the export

Jump to

Keyboard shortcuts

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