Versions in this module Expand all Collapse all v0 v0.3.2 May 4, 2026 v0.3.1 May 4, 2026 v0.3.0 May 4, 2026 Changes in this version + const IterationLatest + func FormatDuration(d time.Duration) string + func FormatTime(t time.Time) string + func IsTTY() bool + func ParseAnswerFlags(flags []string) (map[string]string, error) + func ParseAnswersFile(path string) (map[string]interface{}, error) + func ParseVarFlags(flags []string) (map[string]string, error) + func PrintError(w io.Writer, err error) + func PromptHumanAnswers(interaction *store.Interaction) (map[string]interface{}, error) + func RunDiagram(opts DiagramOptions, p *Printer) error + func RunEditor(ctx context.Context, opts EditorOptions, p *Printer) error + func RunInit(opts InitOptions, p *Printer) error + func RunInspect(opts InspectOptions, p *Printer) error + func RunReport(opts ReportOptions, p *Printer) error + func RunResumeWithFile(ctx context.Context, iterFile string, opts ResumeOptions, p *Printer) error + func RunRun(ctx context.Context, opts RunOptions, p *Printer) error + func RunValidate(path string, p *Printer) error + func StatusIcon(status string) string + func Version() string + type DiagramOptions struct + File string + View string + type DiagramResult struct + File string + Mermaid string + View string + WorkflowName string + type EditorOptions struct + Bind string + Dir string + NoBrowser bool + Port int + StoreDir string + type InitOptions struct + Dir string + type InitResult struct + Dir string + FilesCreated []string + FilesSkipped []string + type InspectOptions struct + Branch string + Events bool + ExecutionID string + Full bool + Iteration *int + ListNodes bool + LogTail int + Node string + RunID string + Section InspectSection + StoreDir string + type InspectSection string + const SectionAll + const SectionArtifacts + const SectionEvents + const SectionInteractions + const SectionLog + const SectionSummary + const SectionTools + const SectionTrace + type OutputFormat int + const OutputHuman + const OutputJSON + type Printer struct + Format OutputFormat + W io.Writer + func NewPrinter(format OutputFormat) *Printer + func (p *Printer) Blank() + func (p *Printer) Header(title string) + func (p *Printer) JSON(v interface{}) + func (p *Printer) KV(key, value string) + func (p *Printer) Line(format string, args ...interface{}) + func (p *Printer) Table(headers []string, rows [][]string) + type ReportOptions struct + Output string + RunID string + StoreDir string + type ResumeOptions struct + Answers map[string]string + AnswersFile string + Background bool + Executor runtime.NodeExecutor + Force bool + LogLevel string + RunID string + StoreDir string + type RunOptions struct + Background bool + BranchName string + Executor runtime.NodeExecutor + File string + LogLevel string + MergeInto string + NoInteractive bool + Recipe string + RunID string + StoreDir string + Timeout time.Duration + Vars map[string]string + type ValidateResult struct + CompileDiagnostics []string + EdgeCount int + File string + NodeCount int + ParseDiagnostics []string + Valid bool + WorkflowName string