Versions in this module Expand all Collapse all v0 v0.2.7 Oct 28, 2026 Changes in this version + func InitialMessages(opts Options) ([]*schema.Message, error) + func ParseFlags(flags *flag.FlagSet, args []string, stderr io.Writer) error + type Loops struct + func NewLoops(ctx context.Context, env cli.Environment, opts Options, humanAvailable bool) (Loops, error) + func (f Loops) New() (*loop.Loop, error) + func (f Loops) StopCondition() loop.StopCondition + type Options struct + AskUser bool + AutoApprove bool + Debug bool + IterationTimeout time.Duration + MaxIterations int + MaxTokens int + Model string + OutputRecordPath string + Reflect string + StopCondition string + SystemPromptPath string + Temperature float64 + ToolsManifestPath string + TotalTimeout time.Duration + UserPrompt string + func (o *Options) AddFlags(flags *flag.FlagSet) + func (o Options) Validate() error + type Recording struct + func OpenRecording(path string, now time.Time) (*Recording, error) + func (r *Recording) Close() error + func (r *Recording) Path() string + func (r *Recording) Write(evt event.Event) + type Toolset struct + Executor loop.ToolExecutor + Gates map[string]pause.Handler + Infos []*schema.ToolInfo + func NewToolset(opts Options, humanAvailable bool) (Toolset, error)