Documentation
¶
Overview ¶
Package crew decomposes a task description into parallel subtasks, creates one worktree per subtask, launches an agent in each via the session backend, and monitors them to completion.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentOutcome ¶
type AgentOutcome struct {
Index int `json:"index"`
Task Task `json:"task"`
Name string `json:"name"`
Branch string `json:"branch"`
Path string `json:"path"`
State string `json:"state"`
ExitCode *int `json:"exit_code,omitempty"`
Summary string `json:"summary,omitempty"`
DiffStat string `json:"diffstat,omitempty"`
}
AgentOutcome is the result for one crew agent.
type Deps ¶
type Deps struct {
Worktrees worktree.Manager
Sessions session.SessionBackend
Agent agent.Launcher
RepoRoot string
Log *zerolog.Logger
}
Deps are crew's collaborators.
type Options ¶
type Options struct {
Description string
Agents int
TasksFile string
Base string
Model string
Detach bool
Keep bool
}
Options configure a crew run.
Click to show internal directories.
Click to hide internal directories.