feat(KB-052): refactor GitHub integration to use gh CLI
- Create gh-cli utility module with auth detection and command execution - Refactor GitHubClient to use gh CLI commands with REST API fallback - Refactor PR Monitor to use gh CLI for PR operations - Add listIssues() and getIssue() methods to GitHubClient - Remove in-app GitHubRateLimiter (gh CLI handles rate limiting) - Update all tests for gh CLI implementation - Update AGENTS.md and extension docs for gh CLI auth preference
This commit is contained in:
11
.changeset/refactor-github-gh-cli.md
Normal file
11
.changeset/refactor-github-gh-cli.md
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
"@dustinbyrne/kb": patch
|
||||
---
|
||||
|
||||
Refactor GitHub integration to use gh CLI
|
||||
|
||||
- All GitHub operations now prefer `gh` CLI authentication over `GITHUB_TOKEN`
|
||||
- Added `listIssues()` and `getIssue()` methods to `GitHubClient`
|
||||
- Removed in-app `GitHubRateLimiter` (gh CLI handles rate limiting)
|
||||
- REST API remains available as fallback when `GITHUB_TOKEN` is set
|
||||
- PR Monitor no longer requires `getGitHubToken` option
|
||||
Reference in New Issue
Block a user