Versions in this module Expand all Collapse all v0 v0.14.0 Jul 22, 2026 Changes in this version + func Cancel(request CancelRequest) error + func Continue(opts ContinueOptions) error + func RunWorker(root string, runID string, gate io.Reader) error + func Start(opts StartOptions) error + func Wait(request WaitRequest) error + type AgentOption struct + Agent string + Available bool + Model FieldOption + ReasoningEffort FieldOption + UnavailableReason string + type CancelRequest struct + ID string + Root string + Stdout io.Writer + type CapabilityOption struct + Reason string + Supported bool + type ContinueOptions struct + Env []string + Handle string + LookPath func(string) (string, error) + Prompt string + PromptFile string + Root string + Stderr io.Writer + Stdout io.Writer + VersionLookup func(path string, agent string) (string, error) + WorkDir string type OptionsRequest + VersionLookup func(path string, agent string) (string, error) type OptionsResponse + Agents []AgentOption + type RunRecord struct + Agent string + AnswerPath string + Attempt int + CompletedAt *time.Time + EventsPath string + ID string + LastActivityAt *time.Time + LastOutputAt *time.Time + LauncherPID int + LauncherStartIdentity string + LineagePath string + Mode string + Model string + Name string + NotResumable bool + PID int + ParentRunID string + PreviousRunID string + ProcessGroupID int + ProcessStartIdentity string + ProviderLogPath string + ProviderSessionID string + ProviderVersion string + ReasoningEffort string + RecoveryState string + Revision uint64 + Skill string + StartedAt time.Time + State string + StderrPath string + StdoutPath string + SupervisorPID int + SupervisorStartIdentity string + TerminalExitCode int + TerminalReason string + UpdatedAt time.Time + type Session struct + ActiveClaimKnown bool + ActiveRunID string + Agent string + CreatedAt time.Time + LastUsedAt time.Time + Model string + Name string + ProviderSessionID string + ReasoningEffort string + RunID string + State string + TargetPinned bool + type StartOptions struct + Agent string + Env []string + LookPath func(string) (string, error) + Model string + Prompt string + PromptFile string + ReasoningEffort string + Root string + Skill string + Stderr io.Writer + Stdout io.Writer + VersionLookup func(path string, agent string) (string, error) + WorkDir string + type WaitRequest struct + Context context.Context + ID string + Root string + Stdout io.Writer v0.12.1 Jul 4, 2026 v0.11.0 Jun 3, 2026 Changes in this version + const AgentAntigravity + const AgentClaude + const AgentCodex + const AgentRandom + const AntigravityPrintTimeout + const AntigravityPromptMaxBytes + const ExitConfig + const ExitNested + const ExitSigint + const ExitSigterm + const ExitTargetFailure + const ExitUnavailable + const ExitUsage + const MaxStdinPromptBytes + func BuildChildPrompt(project *config.ProjectConfig, target string, prompt string, skill string) ([]byte, error) + func ResolvePrompt(args []string, stdin io.Reader, readStdin bool) (string, error) + func Run(opts RunOptions) error + func WriteOptions(req OptionsRequest) error + type CallerInfo struct + Agent string + Known bool + type CommandFactory func(name string, args ...string) *exec.Cmd + type ExitError struct + Code int + Err error + Message string + func (e *ExitError) Error() string + func (e *ExitError) Unwrap() error + type FieldOption struct + AllowCustom bool + Configured string + OverrideSupported bool + Suggestions []string + type OptionsRequest struct + Env []string + JSON bool + LookPath func(string) (string, error) + Root string + Stdout io.Writer + type OptionsResponse struct + Caller CallerInfo + Random RandomInfo + Targets []TargetOption + func BuildOptions(req OptionsRequest) (*OptionsResponse, error) + type RandomChooser func([]string) (string, error) + type RandomInfo struct + Empty bool + ExcludesCaller bool + Pool []string + type RunOptions struct + Agent string + ChooseRandom RandomChooser + Env []string + LookPath func(string) (string, error) + Model string + NewCommand CommandFactory + PromptArgs []string + Quiet bool + ReadStdin bool + ReasoningEffort string + Root string + Skill string + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + type StreamingOption struct + AnswerText string + Progress string + type TargetOption struct + Agent string + DispatchCapable bool + Enabled bool + Installed bool + Model FieldOption + RandomEligible bool + RandomExclusionReason *string + ReasoningEffort FieldOption + Streaming StreamingOption + UnavailableReasons []string