Versions in this module Expand all Collapse all v0 v0.1.0 Oct 15, 2023 Changes in this version + type Author struct + Email string + Handle string + Token string + type Comment struct + Author Author + Body string + Branch string + ChangeID string + DiffHunk string + FilePath string + ID int64 + PRNumber int + Position int + URL string + func (c Comment) String() string + type GithubClient struct + func NewGithubClient(ctx context.Context, log *zap.Logger, self Author, repo Repository) (*GithubClient, error) + func (gc *GithubClient) CommentOnIssue(issueNumber int, comment string) error + func (gc *GithubClient) ListOpenComments(options ListCommentOptions) ([]Comment, error) + func (gc *GithubClient) ListOpenIssues(options ListIssueOptions) ([]Issue, error) + func (gc *GithubClient) OpenCodeChangeRequest(req llm.CodeChangeRequest, res llm.CodeChangeResponse, fromBranch string) (id, url string, err error) + func (gc *GithubClient) RemoveLabelFromIssue(issueNumber int, label string) error + func (gc *GithubClient) RespondToComment(prNumber int, commentID int64, comment string) error + type Issue struct + Author Author + Body string + Number int + Subject string + URL string + func (i Issue) String() string + type IssueBody struct + BaseBranch string + FilePaths []string + PromptBody string + func ParseIssueBody(body string) IssueBody + type ListCommentOptions struct + Handles []string + type ListIssueOptions struct + Handles []string + Labels []string + type LocalGitClient struct + func NewLocalGitClient(log *zap.Logger, self Author, repo Repository, debugDir string) (*LocalGitClient, error) + func (gc *LocalGitClient) CheckoutRemoteBranch(branchName string) (err error) + func (gc *LocalGitClient) FinishCommit(message string) error + func (gc *LocalGitClient) GetLocalFile(path string) (llm.File, error) + func (gc *LocalGitClient) ParseIssueAndStartCommit(issue Issue) (llm.CodeChangeRequest, error) + func (gc *LocalGitClient) PushBranch(branchName string) (err error) + func (gc *LocalGitClient) ReplaceOrAddLocalFile(newFile llm.File) error + func (gc *LocalGitClient) StartCommit() error + type Repository struct + HostDomain string + LocalPath string + Name string + Owner Author + func (repo Repository) HTTPS() string + func (repo Repository) SSH() string