Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultListTargetCount = 10
DefaultListTargetCount is the minimum number of tasks shown by default. Closed tasks are used to fill up to this number (unless All is set).
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListOptions ¶
type TaskDetail ¶
type TaskDetail struct {
Task *task.Task
State *task.State
ProgressMeta *task.Progress
Workflow *workflow.Workflow
TaskStatus task.TaskStatus
WorkerStatus task.WorkerStatus
Stage string
LastHistory int64 // unix nanos (for consumers that want stable sorts)
LastRunMS int
Model string
Reasoning string
ProgressSteps []task.ProgressStep
TaskFiles []string
LinesAdded int
LinesRemoved int
CommitsBehind int
ConflictFiles []string
IntegratedReason string
}
type TaskListData ¶
type TaskListData struct {
Items []TaskListItem
Workspaces []workspace.Entry
AvailableWorkspaces int
}
func List ¶
func List(ctx context.Context, opts ListOptions) (TaskListData, error)
type TaskListItem ¶
Click to show internal directories.
Click to hide internal directories.