mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 19:43:15 +00:00
* feat: add get_pr_review_comments tool for authenticated GitHub API access The agent was asking users to paste PR review comments because it had no tool to fetch them with auth. This adds get_pr_review_comments, which uses the GitHub App installation token to fetch all three comment types (thread comments, inline review comments, review submissions) from private repos. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * u * u --------- Co-authored-by: Forge Agent <agent@forge.ai> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Palash Shah <palash@langchain.dev> Co-authored-by: Palash Shah <35114859+Palashio@users.noreply.github.com> Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
53 lines
1.6 KiB
Python
53 lines
1.6 KiB
Python
from .commit_and_open_pr import commit_and_open_pr
|
|
from .fetch_url import fetch_url
|
|
from .get_branch_name import get_branch_name
|
|
from .get_pr_review_comments import get_pr_review_comments
|
|
from .github_comment import github_comment
|
|
from .github_review import (
|
|
create_pr_review,
|
|
dismiss_pr_review,
|
|
get_pr_review,
|
|
list_pr_review_comments,
|
|
list_pr_reviews,
|
|
submit_pr_review,
|
|
update_pr_review,
|
|
)
|
|
from .http_request import http_request
|
|
from .linear_comment import linear_comment
|
|
from .linear_create_issue import linear_create_issue
|
|
from .linear_delete_issue import linear_delete_issue
|
|
from .linear_get_issue import linear_get_issue
|
|
from .linear_get_issue_comments import linear_get_issue_comments
|
|
from .linear_list_teams import linear_list_teams
|
|
from .linear_update_issue import linear_update_issue
|
|
from .list_repos import list_repos
|
|
from .slack_read_thread_messages import slack_read_thread_messages
|
|
from .slack_thread_reply import slack_thread_reply
|
|
from .web_search import web_search
|
|
|
|
__all__ = [
|
|
"commit_and_open_pr",
|
|
"create_pr_review",
|
|
"dismiss_pr_review",
|
|
"fetch_url",
|
|
"get_branch_name",
|
|
"get_pr_review",
|
|
"get_pr_review_comments",
|
|
"github_comment",
|
|
"http_request",
|
|
"linear_comment",
|
|
"list_pr_review_comments",
|
|
"list_pr_reviews",
|
|
"linear_create_issue",
|
|
"linear_delete_issue",
|
|
"linear_get_issue",
|
|
"linear_get_issue_comments",
|
|
"linear_list_teams",
|
|
"linear_update_issue",
|
|
"list_repos",
|
|
"slack_read_thread_messages",
|
|
"slack_thread_reply",
|
|
"submit_pr_review",
|
|
"update_pr_review",
|
|
"web_search",
|
|
]
|