Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions pkg/github/__toolsnaps__/add_pull_request_review_comment.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"annotations": {
"destructiveHint": false,
"openWorldHint": true,
"title": "Add Pull Request Review Comment"
},
"description": "Add a review comment to the current user's pending pull request review.",
"inputSchema": {
"properties": {
"body": {
"description": "The comment body",
"type": "string"
},
"line": {
"description": "The line number in the diff to comment on (optional)",
"type": "number"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"path": {
"description": "The relative path of the file to comment on",
"type": "string"
},
"pullNumber": {
"description": "The pull request number",
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
},
"side": {
"description": "The side of the diff to comment on (optional)",
"enum": [
"LEFT",
"RIGHT"
],
"type": "string"
},
"startLine": {
"description": "The start line of a multi-line comment (optional)",
"type": "number"
},
"startSide": {
"description": "The start side of a multi-line comment (optional)",
"enum": [
"LEFT",
"RIGHT"
],
"type": "string"
},
"subjectType": {
"description": "The subject type of the comment",
"enum": [
"FILE",
"LINE"
],
"type": "string"
}
},
"required": [
"owner",
"repo",
"pullNumber",
"path",
"body",
"subjectType"
],
"type": "object"
},
"name": "add_pull_request_review_comment"
}
41 changes: 41 additions & 0 deletions pkg/github/__toolsnaps__/add_sub_issue.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"annotations": {
"destructiveHint": false,
"openWorldHint": true,
"title": "Add Sub-Issue"
},
"description": "Add a sub-issue to a parent issue.",
"inputSchema": {
"properties": {
"issue_number": {
"description": "The parent issue number",
"minimum": 1,
"type": "number"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"replace_parent": {
"description": "If true, reparent the sub-issue if it already has a parent",
"type": "boolean"
},
"repo": {
"description": "Repository name",
"type": "string"
},
"sub_issue_id": {
"description": "The ID of the sub-issue to add. ID is not the same as issue number",
"type": "number"
}
},
"required": [
"owner",
"repo",
"issue_number",
"sub_issue_id"
],
"type": "object"
},
"name": "add_sub_issue"
}
33 changes: 6 additions & 27 deletions pkg/github/__toolsnaps__/create_issue.snap
Original file line number Diff line number Diff line change
@@ -1,35 +1,18 @@
{
"annotations": {
"title": "Open new issue",
"readOnlyHint": false
"destructiveHint": false,
"openWorldHint": true,
"title": "Create Issue"
},
"description": "Create a new issue in a GitHub repository.",
"description": "Create a new issue in a GitHub repository with a title and optional body.",
"inputSchema": {
"properties": {
"assignees": {
"description": "Usernames to assign to this issue",
"items": {
"type": "string"
},
"type": "array"
},
"body": {
"description": "Issue body content",
"description": "Issue body content (optional)",
"type": "string"
},
"labels": {
"description": "Labels to apply to this issue",
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"description": "Milestone number",
"type": "number"
},
"owner": {
"description": "Repository owner",
"description": "Repository owner (username or organization)",
"type": "string"
},
"repo": {
Expand All @@ -39,10 +22,6 @@
"title": {
"description": "Issue title",
"type": "string"
},
"type": {
"description": "Type of this issue",
"type": "string"
}
},
"required": [
Expand Down
49 changes: 49 additions & 0 deletions pkg/github/__toolsnaps__/create_pull_request_review.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"annotations": {
"destructiveHint": false,
"openWorldHint": true,
"title": "Create Pull Request Review"
},
"description": "Create a review on a pull request. If event is provided, the review is submitted immediately; otherwise a pending review is created.",
"inputSchema": {
"properties": {
"body": {
"description": "The review body text (optional)",
"type": "string"
},
"commitID": {
"description": "The SHA of the commit to review (optional, defaults to latest)",
"type": "string"
},
"event": {
"description": "The review action to perform. If omitted, creates a pending review.",
"enum": [
"APPROVE",
"REQUEST_CHANGES",
"COMMENT"
],
"type": "string"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"pullNumber": {
"description": "The pull request number",
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
}
},
"required": [
"owner",
"repo",
"pullNumber"
],
"type": "object"
},
"name": "create_pull_request_review"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"annotations": {
"destructiveHint": true,
"openWorldHint": true,
"title": "Delete Pending Pull Request Review"
},
"description": "Delete a pending pull request review.",
"inputSchema": {
"properties": {
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"pullNumber": {
"description": "The pull request number",
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
}
},
"required": [
"owner",
"repo",
"pullNumber"
],
"type": "object"
},
"name": "delete_pending_pull_request_review"
}
37 changes: 37 additions & 0 deletions pkg/github/__toolsnaps__/remove_sub_issue.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"annotations": {
"destructiveHint": true,
"openWorldHint": true,
"title": "Remove Sub-Issue"
},
"description": "Remove a sub-issue from a parent issue.",
"inputSchema": {
"properties": {
"issue_number": {
"description": "The parent issue number",
"minimum": 1,
"type": "number"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"repo": {
"description": "Repository name",
"type": "string"
},
"sub_issue_id": {
"description": "The ID of the sub-issue to remove. ID is not the same as issue number",
"type": "number"
}
},
"required": [
"owner",
"repo",
"issue_number",
"sub_issue_id"
],
"type": "object"
},
"name": "remove_sub_issue"
}
45 changes: 45 additions & 0 deletions pkg/github/__toolsnaps__/reprioritize_sub_issue.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"annotations": {
"destructiveHint": false,
"openWorldHint": true,
"title": "Reprioritize Sub-Issue"
},
"description": "Reprioritize (reorder) a sub-issue relative to other sub-issues.",
"inputSchema": {
"properties": {
"after_id": {
"description": "The ID of the sub-issue to place this after (either after_id OR before_id should be specified)",
"type": "number"
},
"before_id": {
"description": "The ID of the sub-issue to place this before (either after_id OR before_id should be specified)",
"type": "number"
},
"issue_number": {
"description": "The parent issue number",
"minimum": 1,
"type": "number"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"repo": {
"description": "Repository name",
"type": "string"
},
"sub_issue_id": {
"description": "The ID of the sub-issue to reorder. ID is not the same as issue number",
"type": "number"
}
},
"required": [
"owner",
"repo",
"issue_number",
"sub_issue_id"
],
"type": "object"
},
"name": "reprioritize_sub_issue"
}
40 changes: 40 additions & 0 deletions pkg/github/__toolsnaps__/request_pull_request_reviewers.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"annotations": {
"destructiveHint": false,
"openWorldHint": true,
"title": "Request Pull Request Reviewers"
},
"description": "Request reviewers for a pull request.",
"inputSchema": {
"properties": {
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"pullNumber": {
"description": "The pull request number",
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
},
"reviewers": {
"description": "GitHub usernames to request reviews from",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"owner",
"repo",
"pullNumber",
"reviewers"
],
"type": "object"
},
"name": "request_pull_request_reviewers"
}
Loading
Loading