checkoutcmder

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package checkoutcmder provides the checkout subcommand: a conversation export primitive. It renders a captured session (or a single turn) from the trace surface as Markdown or JSONL, to stdout or a file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export added in v0.16.0

func Export(ctx context.Context, query skill.Querier, opts ExportOptions) (string, error)

Export renders a captured session (or single turn) from the trace surface in the requested format. It is the testable seam behind the checkout command: callers supply any skill.Querier.

func NewCheckoutCmd

func NewCheckoutCmd() *cobra.Command

NewCheckoutCmd builds the checkout export command.

Types

type ExportOptions added in v0.16.0

type ExportOptions struct {
	SessionID string
	TraceID   string // when non-empty, export only this turn
	Format    string // formatMarkdown ("md") or formatJSONL ("jsonl")
}

ExportOptions configures a conversation export.

Jump to

Keyboard shortcuts

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