git
GitHub
GitHub
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 GitHub App على مؤسستك.
يُربط GitHub عبر OAuth بتثبيت Polylane GitHub App. لا رموز تديرها، وأنت تختار بالضبط المستودعات التي يستطيع Polylane رؤيتها.
الإعداد
- انقر Connect GitHub. تُعاد توجيهك إلى GitHub لتثبيت Polylane GitHub App.
- اختر المؤسسة أو الحساب الذي تريد تثبيته عليه.
- امنح الوصول إلى كل المستودعات أو اختر مستودعات محددة. يمكنك تغيير هذا الاختيار في GitHub لاحقاً.
- وافق على التثبيت. تُعاد إلى Polylane وتبدأ مستودعاتك في المزامنة.
ما يستطيع الوكلاء فعله
- البحث في الكود وقراءة الملفات عبر المستودعات التي تمنحها
- جلب سياق pull request وcommit أثناء التحقيقات
- فتح طلبات pull request للإصلاحات التلقائية، دائماً لتراجعها أنت
الفصل
أزل Polylane GitHub App من مؤسستك على GitHub تحت Settings → GitHub Apps، أو افصله من Polylane.
فصل
يوقف الفصل كل مزامنة وفحص ويحذف بيانات الاعتماد التي احتفظ بها 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 المثبّتة لديك. يُبلَّغ 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