Versions in this module Expand all Collapse all v0 v0.2.1 Jan 18, 2026 v0.2.0 Jan 3, 2026 Changes in this version + const MinGoVersion + const Version + func Validate(wf *Workflow) error + type CompileOptions struct + KeepSource bool + OutputDir string + OutputName string + SkipBuild bool + Verbose bool + func ApplyOptions(opts ...Option) *CompileOptions + func DefaultOptions() *CompileOptions + type CompileResult struct + BinaryPath string + SourcePath string + Workflows []*Workflow + func Compile(workflows []*Workflow, opts *CompileOptions) (*CompileResult, error) + func CompileFile(inputPath string, opts *CompileOptions) (*CompileResult, error) + func CompileFileWith(inputPath string, opts ...Option) (*CompileResult, error) + func CompileWith(workflows []*Workflow, opts ...Option) (*CompileResult, error) + type Option func(*CompileOptions) + func WithKeepSource() Option + func WithOutputDir(dir string) Option + func WithOutputName(name string) Option + func WithSkipBuild() Option + func WithVerbose() Option + type Step struct + Command string + If string + MaxTokens int + Model string + Name string + Output string + Prompt string + Type StepType + WaitFor string + WaitTimeout int + type StepBuilder struct + func LLMStep(name, prompt string) *StepBuilder + func LocalLLMStep(name, prompt string) *StepBuilder + func ShellStep(name, command string) *StepBuilder + func (b *StepBuilder) Build() *Step + func (b *StepBuilder) WaitFor(stepRef string) *StepBuilder + func (b *StepBuilder) WithCondition(condition string) *StepBuilder + func (b *StepBuilder) WithMaxTokens(tokens int) *StepBuilder + func (b *StepBuilder) WithModel(model string) *StepBuilder + func (b *StepBuilder) WithOutput(output string) *StepBuilder + func (b *StepBuilder) WithTimeout(seconds int) *StepBuilder + type StepType string + const StepTypeLLM + const StepTypeLocalLLM + const StepTypeShell + type Workflow struct + Name string + Steps []*Step + func LoadWorkflows(inputPath string) ([]*Workflow, error) + func NewWorkflow(name string) *Workflow + func (w *Workflow) AddStep(step *Step) *Workflow