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