feat(sdk): Add mergePullRequest command for GitHub PR merging#217
Merged
homanp merged 1 commit intosuperagent-ai:mainfrom Aug 25, 2025
Merged
feat(sdk): Add mergePullRequest command for GitHub PR merging#217homanp merged 1 commit intosuperagent-ai:mainfrom
homanp merged 1 commit intosuperagent-ai:mainfrom
Conversation
|
@joedanz is attempting to deploy a commit to the Superagent Team on Vercel. A member of the Team first needs to authorize it. |
Collaborator
|
@joedanz this looks good, one comment, would be cool if we could generate the commit messages automatically? Similar to createPullRequest |
Contributor
Author
Good call, will do! |
Contributor
Author
|
Actually, this will be easier to complete after you merge #216 , that way we can keep similar patterns for Claude Code oAuth. Thanks! |
homanp
approved these changes
Aug 25, 2025
Collaborator
|
@joedanz thanks for this, merging! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces a new
mergePullRequestcommand to the VibeKit SDK, enabling programmatic merging of GitHub pull requests. This command completes the GitHub workflow capabilities alongside existingcreatePullRequestandpushToBranchcommands.Changes
mergePullRequestmethod to VibeKit SDKMergePullRequestOptions,MergePullRequestResult)Implementation
Key features:
Files Modified
packages/sdk/src/types.ts- Type definitionspackages/sdk/src/core/vibekit.ts- Core implementationpackages/sdk/src/index.ts- Public API exportsdocs/api-reference/merge-pull-request.mdx- API documentationdocs/docs.json- Documentation navigationdocs/sdk/github-integration.mdx- Usage examplesTesting
Breaking Changes
None