Versions in this module Expand all Collapse all v0 v0.1.0 Nov 4, 2026 Changes in this version + func Argv(j jobs.Job, workdir, prompt string) []string + func Cancel(ctx context.Context, db *store.Store, data, id string) error + func OwnerStart() (time.Time, error) + func Preamble(r store.Run, last *store.Run, data string, memoryLines ...string) string + func ProcessStart(pid int) (time.Time, error) + func RecoverClaimed(ctx context.Context, j jobs.Job, r *store.Run) error + func RemoveWorktree(ctx context.Context, repo string, r store.Run) error + func TeardownGroup(pid int, c clock.Clock, grace time.Duration) + func WorktreeChanges(ctx context.Context, path string) (string, error) + type Runner struct + Clock clock.Clock + ConfigDir string + DB *store.Store + DataDir string + Grace time.Duration + JobsDir string + Observe func(store.Run) + func (x Runner) Run(ctx context.Context, j jobs.Job, r store.Run, approved bool) (store.Run, error)