Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBranchDeleted = errors.New("branch deleted") ErrBranchMissing = errors.New("branch missing") ErrBaseMissing = errors.New("base missing") ErrCommitMissing = errors.New("commit missing") ErrMergeBaseMissing = errors.New("merge-base missing") ErrGitNotRepo = errors.New("not a git repository") )
Functions ¶
This section is empty.
Types ¶
type ChangesStatus ¶
type ChangesStatus string
const ( ChangesStatusApplied ChangesStatus = "applied" ChangesStatusMissing ChangesStatus = "missing" )
type GetOptions ¶
type GetOptions struct{}
type ListOptions ¶
type ListResult ¶
type ListResult struct {
Tasks []TaskListItem
Errors []TaskLoadError
Workspaces []workspace.Entry
AvailableWorkspaces int
}
type Store ¶
type Store interface {
List(ctx context.Context, opts ListOptions) (ListResult, error)
Get(ctx context.Context, name string, opts GetOptions) (TaskView, error)
}
type TaskListItem ¶
type TaskListItem struct {
Name string
Title string
FollowUp string
BaseBranch string
BaseCommit string
TaskStatus task.TaskStatus
WorkerStatus task.WorkerStatus
Stage string
Workspace string
StartedAt time.Time
LastActive time.Time
ToolCalls int
ProgressDone int
ProgressTotal int
LastRunDurationMS int
LastError string
Changes Changes
}
type TaskLoadError ¶
type TaskView ¶
type TaskView struct {
Task *task.Task
BaseCommit string
State *task.State
ProgressMeta *task.Progress
Workflow *workflow.Workflow
TaskStatus task.TaskStatus
WorkerStatus task.WorkerStatus
Stage string
LastHistoryNS int64
LastRunMS int
Model string
Reasoning string
ProgressSteps []task.ProgressStep
TaskFiles []string
Changes Changes
Commits Commits
ConflictFiles []string
}
Click to show internal directories.
Click to hide internal directories.