Versions in this module Expand all Collapse all v0 v0.1.0 Apr 24, 2026 Changes in this version + type Comment struct + Author string + Body string + ID string + Timestamp string + type CreatePRInput struct + Description string + Draft bool + Reviewers []string + SourceBranch string + TargetBranch string + Title string + type Host interface + CommentPR func(ctx context.Context, id, text, replyTo string) error + CreatePR func(ctx context.Context, in CreatePRInput) (*PR, error) + CurrentUser func(ctx context.Context) (string, error) + GetBuildStatus func(ctx context.Context, sha string) (string, error) + GetPR func(ctx context.Context, id string) (*PR, error) + GetReviewers func(ctx context.Context, id string) ([]string, error) + ListPRs func(ctx context.Context, state string, mine bool) ([]*PR, error) + MergePR func(ctx context.Context, id string) (string, error) + UpdatePR func(ctx context.Context, id, title, description string, addReviewers []string) error + func Detect(remoteURL string, cfg *config.Config) (Host, error) + func DetectFromCWD(remoteName string, cfg *config.Config) (Host, string, error) + type PR struct + Approvals []string + Blockers []string + CIState string + Description string + Draft bool + HeadSHA string + ID string + LastComment *Comment + Reviewers []string + SourceBranch string + State string + TargetBranch string + Title string + URL string