Versions in this module Expand all Collapse all v0 v0.14.0 Oct 12, 2026 Changes in this version type Snapshot + func (s Snapshot) Clone() Snapshot v0.13.0 Sep 23, 2026 Changes in this version + func CheckCLI(r internalexec.Executor) error + func ParseShorthand(prompt string) (n int, rest string, ok bool) + func SeedPrompt(is Issue) string + func SlugTitle(is Issue) string + type Checks int + const ChecksFailing + const ChecksNone + const ChecksPassing + const ChecksPending + type Issue struct + Body string + Closed bool + Labels []string + Number int + Title string + URL string + func View(ctx context.Context, repoDir string, number int, r internalexec.Executor) (Issue, error) + type PR struct + Checks Checks + Number int + Review Review + State PRState + type PRState int + const PRClosed + const PRDraft + const PRMerged + const PRNone + const PROpen + type Review int + const ReviewApproved + const ReviewChangesRequested + const ReviewNone + type Snapshot struct + FetchedAt time.Time + Issues map[int]Issue + PRs map[string]PR + func Query(ctx context.Context, repoDir string, linked []int, r internalexec.Executor) (Snapshot, error) + type State struct + Checks Checks + HasPR bool + IssueClosed bool + IssueNumber int + IssueTitle string + Known bool + PRNumber int + PRState PRState + Review Review + func StateFor(snap Snapshot, known bool, branch string, issue int) State