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