Thanks to visit codestin.com
Credit goes to docs.polylane.com

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 ลบสิ่งที่ API ของ GitHub อนุญาตให้ลบ สิ่งต่อไปนี้ยังคงอยู่จนกว่าคุณจะลบด้วยตัวเอง:

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

GitHub เชื่อมต่อผ่านการติดตั้งแอป การยกเลิกการเชื่อมต่อจึงเกิดขึ้นฝั่ง GitHub: ถอนการติดตั้งแอป Polylane จาก GitHub Apps ที่ติดตั้งไว้ ของคุณ 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