feat(cli): add pull request creation with AI-generated messages #2

Merged
Mplan merged 2 commits from feat/pr into main 2026-06-11 00:39:21 +08:00
Owner

Add a new gai pr subcommand 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 a callAI function that returns raw output (instead of pre-cleaned messages) to support structured PR responses.

Add a new `gai pr` subcommand 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 a `callAI` function that returns raw output (instead of pre-cleaned messages) to support structured PR responses.
Mplan added 1 commit 2026-06-11 00:25:16 +08:00
Mplan added 1 commit 2026-06-11 00:38:17 +08:00
Mplan merged commit 6ff541284e into main 2026-06-11 00:39:21 +08:00
Mplan deleted branch feat/pr 2026-06-11 00:39:21 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mplan/gai#2