feat(cli): add pull request creation with AI-generated messages #2
Reference in New Issue
Block a user
Delete Branch "feat/pr"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a new
gai prsubcommand that generates pull request titles and descriptions using AI, then creates the PR via GitHub CLI (gh) or Gitea CLI (tea). This extends the existing commit-generation system by reusing retry logic and prompt infrastructure, and introduces acallAIfunction that returns raw output (instead of pre-cleaned messages) to support structured PR responses.