OAuth
GET /api/oauth/github/authorize
Redirect to GitHub OAuth authorization page.GET /api/oauth/github/callback
OAuth callback handler. Exchanges code for token and stores credential.Repositories
POST /api/github/repos
Create a new repository.POST /api/github/repos/:owner/:repo/fork
Fork a repository.Issues
POST /api/github/repos/:owner/:repo/issues
Create an issue.PATCH /api/github/repos/:owner/:repo/issues/:number
Update an issue.POST /api/github/repos/:owner/:repo/issues/:number/comments
Add a comment to an issue.Pull Requests
POST /api/github/pulls
Create a pull request.PATCH /api/github/repos/:owner/:repo/pulls/:number
Update a pull request.POST /api/github/repos/:owner/:repo/pulls/:number/reviews
Create a review.POST /api/github/repos/:owner/:repo/pulls/:number/requested_reviewers
Request reviewers.PR Command Parser
GitHub webhook comments are parsed for commands:| Command | Action |
|---|---|
/review | Trigger agent code review |
/fix | Trigger agent to fix issues |
/approve | Approve the PR via agent |
/deploy | Trigger deployment workflow |