git
Give agents access to your GitHub repositories for code search, pull request context, and codebase understanding. Agents can browse files, understand your architecture, and provide more accurate answers grounded in your actual code.

連接

從終端機連接GitHub。傳入--help可查看GitHub接受的旗標。

Terminal
polylane integration connect --type github

中斷連接

中斷連接會停止所有同步與檢查,並刪除Polylane持有的憑證。 Polylane會移除GitHub的API允許它移除的東西。以下項目會留下,直到你自行移除:

  • polylane/onboarding/* branch and Set up Polylane PR
  • autofix branches and PRs
  • check runs on past commits

GitHub是透過應用程式安裝連接的,所以中斷連接在GitHub那一側進行:從你的已安裝的GitHub Apps解除安裝Polylane應用程式。Polylane會收到通知並移除這個整合。

工具

14

代理可以在對話串中執行的操作。

Api
Read any GitHub REST endpoint that lacks a dedicated tool
Fetch Files
Fetch file contents from a GitHub repository
Search Github
Search across GitHub repositories, code, issues, pull requests, users, commits, and topics
Commits
Read commits in a GitHub repository (list/getDiff)
Pull Requests
Read pull requests in a GitHub repository (list/get)
Create Pull Request
Create or update a GitHub pull request
Merge Pull Request
Merge a pull request
Close Pull Request
Close a pull request Polylane opened
Create Issue
Create or update a GitHub issue
Workflow Runs
Read GitHub Actions workflow runs (list/get)
Create Branch
Create a new branch in a repository
Get Pull Request Diff
Get the diff for a pull request
Create Review Comment
Create or update a pull request review comment
Submit Review
Submit a review for a pull request