gather

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 7 Imported by: 0

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 ListOptions struct {
	All bool
	// TargetCount only applies when All is false. If zero, DefaultListTargetCount is used.
	TargetCount int
}

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
}

func Detail

func Detail(ctx context.Context, taskName string) (TaskDetail, error)

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

type TaskListItem = index.ListItem

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL