From fcd208e7dc648ae21ae6e9f0eee833fe35e8a667 Mon Sep 17 00:00:00 2001 From: JoannaaKL Date: Thu, 2 Oct 2025 09:28:33 +0200 Subject: [PATCH 1/2] Upgrade mcp-go --- go.mod | 2 +- go.sum | 4 ++-- pkg/github/__toolsnaps__/add_comment_to_pending_review.snap | 4 ++-- pkg/github/__toolsnaps__/add_issue_comment.snap | 4 ++-- pkg/github/__toolsnaps__/add_project_item.snap | 4 ++-- pkg/github/__toolsnaps__/add_sub_issue.snap | 4 ++-- pkg/github/__toolsnaps__/assign_copilot_to_issue.snap | 4 ++-- .../__toolsnaps__/create_and_submit_pull_request_review.snap | 4 ++-- pkg/github/__toolsnaps__/create_branch.snap | 4 ++-- pkg/github/__toolsnaps__/create_issue.snap | 4 ++-- pkg/github/__toolsnaps__/create_or_update_file.snap | 4 ++-- .../__toolsnaps__/create_pending_pull_request_review.snap | 4 ++-- pkg/github/__toolsnaps__/create_pull_request.snap | 4 ++-- pkg/github/__toolsnaps__/create_repository.snap | 4 ++-- pkg/github/__toolsnaps__/delete_file.snap | 4 ++-- .../__toolsnaps__/delete_pending_pull_request_review.snap | 4 ++-- pkg/github/__toolsnaps__/delete_project_item.snap | 4 ++-- pkg/github/__toolsnaps__/dismiss_notification.snap | 4 ++-- pkg/github/__toolsnaps__/fork_repository.snap | 4 ++-- pkg/github/__toolsnaps__/get_code_scanning_alert.snap | 4 ++-- pkg/github/__toolsnaps__/get_commit.snap | 4 ++-- pkg/github/__toolsnaps__/get_dependabot_alert.snap | 4 ++-- pkg/github/__toolsnaps__/get_file_contents.snap | 4 ++-- pkg/github/__toolsnaps__/get_issue.snap | 4 ++-- pkg/github/__toolsnaps__/get_issue_comments.snap | 4 ++-- pkg/github/__toolsnaps__/get_me.snap | 1 - pkg/github/__toolsnaps__/get_notification_details.snap | 4 ++-- pkg/github/__toolsnaps__/get_project.snap | 4 ++-- pkg/github/__toolsnaps__/get_project_field.snap | 4 ++-- pkg/github/__toolsnaps__/get_project_item.snap | 4 ++-- pkg/github/__toolsnaps__/get_pull_request.snap | 4 ++-- pkg/github/__toolsnaps__/get_pull_request_diff.snap | 4 ++-- pkg/github/__toolsnaps__/get_pull_request_files.snap | 4 ++-- .../__toolsnaps__/get_pull_request_review_comments.snap | 4 ++-- pkg/github/__toolsnaps__/get_pull_request_reviews.snap | 4 ++-- pkg/github/__toolsnaps__/get_pull_request_status.snap | 4 ++-- pkg/github/__toolsnaps__/get_release_by_tag.snap | 4 ++-- pkg/github/__toolsnaps__/get_tag.snap | 4 ++-- pkg/github/__toolsnaps__/get_team_members.snap | 4 ++-- pkg/github/__toolsnaps__/get_teams.snap | 4 ++-- pkg/github/__toolsnaps__/list_branches.snap | 4 ++-- pkg/github/__toolsnaps__/list_code_scanning_alerts.snap | 4 ++-- pkg/github/__toolsnaps__/list_commits.snap | 4 ++-- pkg/github/__toolsnaps__/list_dependabot_alerts.snap | 4 ++-- pkg/github/__toolsnaps__/list_issue_types.snap | 4 ++-- pkg/github/__toolsnaps__/list_issues.snap | 4 ++-- pkg/github/__toolsnaps__/list_notifications.snap | 4 ++-- pkg/github/__toolsnaps__/list_project_fields.snap | 4 ++-- pkg/github/__toolsnaps__/list_project_items.snap | 4 ++-- pkg/github/__toolsnaps__/list_projects.snap | 4 ++-- pkg/github/__toolsnaps__/list_pull_requests.snap | 4 ++-- pkg/github/__toolsnaps__/list_starred_repositories.snap | 4 ++-- pkg/github/__toolsnaps__/list_sub_issues.snap | 4 ++-- pkg/github/__toolsnaps__/list_tags.snap | 4 ++-- .../__toolsnaps__/manage_notification_subscription.snap | 4 ++-- .../manage_repository_notification_subscription.snap | 4 ++-- pkg/github/__toolsnaps__/mark_all_notifications_read.snap | 4 ++-- pkg/github/__toolsnaps__/merge_pull_request.snap | 4 ++-- pkg/github/__toolsnaps__/push_files.snap | 4 ++-- pkg/github/__toolsnaps__/remove_sub_issue.snap | 4 ++-- pkg/github/__toolsnaps__/reprioritize_sub_issue.snap | 4 ++-- pkg/github/__toolsnaps__/request_copilot_review.snap | 4 ++-- pkg/github/__toolsnaps__/search_code.snap | 4 ++-- pkg/github/__toolsnaps__/search_issues.snap | 4 ++-- pkg/github/__toolsnaps__/search_pull_requests.snap | 4 ++-- pkg/github/__toolsnaps__/search_repositories.snap | 4 ++-- pkg/github/__toolsnaps__/search_users.snap | 4 ++-- pkg/github/__toolsnaps__/star_repository.snap | 4 ++-- .../__toolsnaps__/submit_pending_pull_request_review.snap | 4 ++-- pkg/github/__toolsnaps__/unstar_repository.snap | 4 ++-- pkg/github/__toolsnaps__/update_issue.snap | 4 ++-- pkg/github/__toolsnaps__/update_pull_request.snap | 4 ++-- pkg/github/__toolsnaps__/update_pull_request_branch.snap | 4 ++-- 73 files changed, 143 insertions(+), 144 deletions(-) diff --git a/go.mod b/go.mod index 61b4b971a..9bcd6499d 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.23.7 require ( github.com/google/go-github/v74 v74.0.0 github.com/josephburnett/jd v1.9.2 - github.com/mark3labs/mcp-go v0.36.0 + github.com/mark3labs/mcp-go v0.41.1 github.com/migueleliasweb/go-github-mock v1.3.0 github.com/spf13/cobra v1.10.1 github.com/spf13/viper v1.20.1 diff --git a/go.sum b/go.sum index 184f3005d..0e4484b93 100644 --- a/go.sum +++ b/go.sum @@ -53,8 +53,8 @@ github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/mark3labs/mcp-go v0.36.0 h1:rIZaijrRYPeSbJG8/qNDe0hWlGrCJ7FWHNMz2SQpTis= -github.com/mark3labs/mcp-go v0.36.0/go.mod h1:T7tUa2jO6MavG+3P25Oy/jR7iCeJPHImCZHRymCn39g= +github.com/mark3labs/mcp-go v0.41.1 h1:w78eWfiQam2i8ICL7AL0WFiq7KHNJQ6UB53ZVtH4KGA= +github.com/mark3labs/mcp-go v0.41.1/go.mod h1:T7tUa2jO6MavG+3P25Oy/jR7iCeJPHImCZHRymCn39g= github.com/migueleliasweb/go-github-mock v1.3.0 h1:2sVP9JEMB2ubQw1IKto3/fzF51oFC6eVWOOFDgQoq88= github.com/migueleliasweb/go-github-mock v1.3.0/go.mod h1:ipQhV8fTcj/G6m7BKzin08GaJ/3B5/SonRAkgrk0zCY= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= diff --git a/pkg/github/__toolsnaps__/add_comment_to_pending_review.snap b/pkg/github/__toolsnaps__/add_comment_to_pending_review.snap index 08fa42df5..e6eda0ef2 100644 --- a/pkg/github/__toolsnaps__/add_comment_to_pending_review.snap +++ b/pkg/github/__toolsnaps__/add_comment_to_pending_review.snap @@ -5,6 +5,7 @@ }, "description": "Add review comment to the requester's latest pending pull request review. A pending review needs to already exist to call this (check with the user if not sure).", "inputSchema": { + "type": "object", "properties": { "body": { "description": "The text of the review comment", @@ -66,8 +67,7 @@ "path", "body", "subjectType" - ], - "type": "object" + ] }, "name": "add_comment_to_pending_review" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/add_issue_comment.snap b/pkg/github/__toolsnaps__/add_issue_comment.snap index 92eeb1ce8..b44acd6fa 100644 --- a/pkg/github/__toolsnaps__/add_issue_comment.snap +++ b/pkg/github/__toolsnaps__/add_issue_comment.snap @@ -5,6 +5,7 @@ }, "description": "Add a comment to a specific issue in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "body": { "description": "Comment content", @@ -28,8 +29,7 @@ "repo", "issue_number", "body" - ], - "type": "object" + ] }, "name": "add_issue_comment" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/add_project_item.snap b/pkg/github/__toolsnaps__/add_project_item.snap index 143c04eb9..ceaad9f08 100644 --- a/pkg/github/__toolsnaps__/add_project_item.snap +++ b/pkg/github/__toolsnaps__/add_project_item.snap @@ -5,6 +5,7 @@ }, "description": "Add a specific Project item for a user or org", "inputSchema": { + "type": "object", "properties": { "item_id": { "description": "The numeric ID of the issue or pull request to add to the project.", @@ -41,8 +42,7 @@ "project_number", "item_type", "item_id" - ], - "type": "object" + ] }, "name": "add_project_item" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/add_sub_issue.snap b/pkg/github/__toolsnaps__/add_sub_issue.snap index 2d462bcaf..79b6fb289 100644 --- a/pkg/github/__toolsnaps__/add_sub_issue.snap +++ b/pkg/github/__toolsnaps__/add_sub_issue.snap @@ -5,6 +5,7 @@ }, "description": "Add a sub-issue to a parent issue in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "issue_number": { "description": "The number of the parent issue", @@ -32,8 +33,7 @@ "repo", "issue_number", "sub_issue_id" - ], - "type": "object" + ] }, "name": "add_sub_issue" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/assign_copilot_to_issue.snap b/pkg/github/__toolsnaps__/assign_copilot_to_issue.snap index 2d61ccfbd..d738deb83 100644 --- a/pkg/github/__toolsnaps__/assign_copilot_to_issue.snap +++ b/pkg/github/__toolsnaps__/assign_copilot_to_issue.snap @@ -6,6 +6,7 @@ }, "description": "Assign Copilot to a specific issue in a GitHub repository.\n\nThis tool can help with the following outcomes:\n- a Pull Request created with source code changes to resolve the issue\n\n\nMore information can be found at:\n- https://docs.github.com/en/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot\n", "inputSchema": { + "type": "object", "properties": { "issueNumber": { "description": "Issue number", @@ -24,8 +25,7 @@ "owner", "repo", "issueNumber" - ], - "type": "object" + ] }, "name": "assign_copilot_to_issue" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/create_and_submit_pull_request_review.snap b/pkg/github/__toolsnaps__/create_and_submit_pull_request_review.snap index 85874cfc7..52b86731b 100644 --- a/pkg/github/__toolsnaps__/create_and_submit_pull_request_review.snap +++ b/pkg/github/__toolsnaps__/create_and_submit_pull_request_review.snap @@ -5,6 +5,7 @@ }, "description": "Create and submit a review for a pull request without review comments.", "inputSchema": { + "type": "object", "properties": { "body": { "description": "Review comment text", @@ -42,8 +43,7 @@ "pullNumber", "body", "event" - ], - "type": "object" + ] }, "name": "create_and_submit_pull_request_review" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/create_branch.snap b/pkg/github/__toolsnaps__/create_branch.snap index d5756fcc9..4b3f6e367 100644 --- a/pkg/github/__toolsnaps__/create_branch.snap +++ b/pkg/github/__toolsnaps__/create_branch.snap @@ -5,6 +5,7 @@ }, "description": "Create a new branch in a GitHub repository", "inputSchema": { + "type": "object", "properties": { "branch": { "description": "Name for new branch", @@ -27,8 +28,7 @@ "owner", "repo", "branch" - ], - "type": "object" + ] }, "name": "create_branch" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/create_issue.snap b/pkg/github/__toolsnaps__/create_issue.snap index d11c41c0e..448cbe37d 100644 --- a/pkg/github/__toolsnaps__/create_issue.snap +++ b/pkg/github/__toolsnaps__/create_issue.snap @@ -5,6 +5,7 @@ }, "description": "Create a new issue in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "assignees": { "description": "Usernames to assign to this issue", @@ -49,8 +50,7 @@ "owner", "repo", "title" - ], - "type": "object" + ] }, "name": "create_issue" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/create_or_update_file.snap b/pkg/github/__toolsnaps__/create_or_update_file.snap index 61adef72c..e56f23ba8 100644 --- a/pkg/github/__toolsnaps__/create_or_update_file.snap +++ b/pkg/github/__toolsnaps__/create_or_update_file.snap @@ -5,6 +5,7 @@ }, "description": "Create or update a single file in a GitHub repository. If updating, you must provide the SHA of the file you want to update. Use this tool to create or update a file in a GitHub repository remotely; do not use it for local file operations.", "inputSchema": { + "type": "object", "properties": { "branch": { "description": "Branch to create/update the file in", @@ -42,8 +43,7 @@ "content", "message", "branch" - ], - "type": "object" + ] }, "name": "create_or_update_file" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/create_pending_pull_request_review.snap b/pkg/github/__toolsnaps__/create_pending_pull_request_review.snap index 3eea5e6af..a86ba2c91 100644 --- a/pkg/github/__toolsnaps__/create_pending_pull_request_review.snap +++ b/pkg/github/__toolsnaps__/create_pending_pull_request_review.snap @@ -5,6 +5,7 @@ }, "description": "Create a pending review for a pull request. Call this first before attempting to add comments to a pending review, and ultimately submitting it. A pending pull request review means a pull request review, it is pending because you create it first and submit it later, and the PR author will not see it until it is submitted.", "inputSchema": { + "type": "object", "properties": { "commitID": { "description": "SHA of commit to review", @@ -27,8 +28,7 @@ "owner", "repo", "pullNumber" - ], - "type": "object" + ] }, "name": "create_pending_pull_request_review" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/create_pull_request.snap b/pkg/github/__toolsnaps__/create_pull_request.snap index 44142a79e..ec4e582b4 100644 --- a/pkg/github/__toolsnaps__/create_pull_request.snap +++ b/pkg/github/__toolsnaps__/create_pull_request.snap @@ -5,6 +5,7 @@ }, "description": "Create a new pull request in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "base": { "description": "Branch to merge into", @@ -45,8 +46,7 @@ "title", "head", "base" - ], - "type": "object" + ] }, "name": "create_pull_request" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/create_repository.snap b/pkg/github/__toolsnaps__/create_repository.snap index 6ed2dbf41..273ed503e 100644 --- a/pkg/github/__toolsnaps__/create_repository.snap +++ b/pkg/github/__toolsnaps__/create_repository.snap @@ -5,6 +5,7 @@ }, "description": "Create a new GitHub repository in your account or specified organization", "inputSchema": { + "type": "object", "properties": { "autoInit": { "description": "Initialize with README", @@ -29,8 +30,7 @@ }, "required": [ "name" - ], - "type": "object" + ] }, "name": "create_repository" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/delete_file.snap b/pkg/github/__toolsnaps__/delete_file.snap index 2588ea5c5..1fe872667 100644 --- a/pkg/github/__toolsnaps__/delete_file.snap +++ b/pkg/github/__toolsnaps__/delete_file.snap @@ -6,6 +6,7 @@ }, "description": "Delete a file from a GitHub repository", "inputSchema": { + "type": "object", "properties": { "branch": { "description": "Branch to delete the file from", @@ -34,8 +35,7 @@ "path", "message", "branch" - ], - "type": "object" + ] }, "name": "delete_file" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/delete_pending_pull_request_review.snap b/pkg/github/__toolsnaps__/delete_pending_pull_request_review.snap index 9aff7356c..ecd59ca72 100644 --- a/pkg/github/__toolsnaps__/delete_pending_pull_request_review.snap +++ b/pkg/github/__toolsnaps__/delete_pending_pull_request_review.snap @@ -5,6 +5,7 @@ }, "description": "Delete the requester's latest pending pull request review. Use this after the user decides not to submit a pending review, if you don't know if they already created one then check first.", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -23,8 +24,7 @@ "owner", "repo", "pullNumber" - ], - "type": "object" + ] }, "name": "delete_pending_pull_request_review" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/delete_project_item.snap b/pkg/github/__toolsnaps__/delete_project_item.snap index 0de1336a0..1b7daddaf 100644 --- a/pkg/github/__toolsnaps__/delete_project_item.snap +++ b/pkg/github/__toolsnaps__/delete_project_item.snap @@ -5,6 +5,7 @@ }, "description": "Delete a specific Project item for a user or org", "inputSchema": { + "type": "object", "properties": { "item_id": { "description": "The internal project item ID to delete from the project (not the issue or pull request ID).", @@ -32,8 +33,7 @@ "owner", "project_number", "item_id" - ], - "type": "object" + ] }, "name": "delete_project_item" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/dismiss_notification.snap b/pkg/github/__toolsnaps__/dismiss_notification.snap index 80646a802..b0d52c1d5 100644 --- a/pkg/github/__toolsnaps__/dismiss_notification.snap +++ b/pkg/github/__toolsnaps__/dismiss_notification.snap @@ -5,6 +5,7 @@ }, "description": "Dismiss a notification by marking it as read or done", "inputSchema": { + "type": "object", "properties": { "state": { "description": "The new state of the notification (read/done)", @@ -21,8 +22,7 @@ }, "required": [ "threadID" - ], - "type": "object" + ] }, "name": "dismiss_notification" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/fork_repository.snap b/pkg/github/__toolsnaps__/fork_repository.snap index 6e4d27823..7659160ec 100644 --- a/pkg/github/__toolsnaps__/fork_repository.snap +++ b/pkg/github/__toolsnaps__/fork_repository.snap @@ -5,6 +5,7 @@ }, "description": "Fork a GitHub repository to your account or specified organization", "inputSchema": { + "type": "object", "properties": { "organization": { "description": "Organization to fork to", @@ -22,8 +23,7 @@ "required": [ "owner", "repo" - ], - "type": "object" + ] }, "name": "fork_repository" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_code_scanning_alert.snap b/pkg/github/__toolsnaps__/get_code_scanning_alert.snap index eedc20b46..5e46fc0dc 100644 --- a/pkg/github/__toolsnaps__/get_code_scanning_alert.snap +++ b/pkg/github/__toolsnaps__/get_code_scanning_alert.snap @@ -5,6 +5,7 @@ }, "description": "Get details of a specific code scanning alert in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "alertNumber": { "description": "The number of the alert.", @@ -23,8 +24,7 @@ "owner", "repo", "alertNumber" - ], - "type": "object" + ] }, "name": "get_code_scanning_alert" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_commit.snap b/pkg/github/__toolsnaps__/get_commit.snap index 1c2ecc9a3..a3a671b8a 100644 --- a/pkg/github/__toolsnaps__/get_commit.snap +++ b/pkg/github/__toolsnaps__/get_commit.snap @@ -5,6 +5,7 @@ }, "description": "Get details for a commit from a GitHub repository", "inputSchema": { + "type": "object", "properties": { "include_diff": { "default": true, @@ -39,8 +40,7 @@ "owner", "repo", "sha" - ], - "type": "object" + ] }, "name": "get_commit" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_dependabot_alert.snap b/pkg/github/__toolsnaps__/get_dependabot_alert.snap index 76b5ef126..bbdb7514c 100644 --- a/pkg/github/__toolsnaps__/get_dependabot_alert.snap +++ b/pkg/github/__toolsnaps__/get_dependabot_alert.snap @@ -5,6 +5,7 @@ }, "description": "Get details of a specific dependabot alert in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "alertNumber": { "description": "The number of the alert.", @@ -23,8 +24,7 @@ "owner", "repo", "alertNumber" - ], - "type": "object" + ] }, "name": "get_dependabot_alert" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_file_contents.snap b/pkg/github/__toolsnaps__/get_file_contents.snap index 53f5a29e5..b2daa198e 100644 --- a/pkg/github/__toolsnaps__/get_file_contents.snap +++ b/pkg/github/__toolsnaps__/get_file_contents.snap @@ -5,6 +5,7 @@ }, "description": "Get the contents of a file or directory from a GitHub repository", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner (username or organization)", @@ -31,8 +32,7 @@ "required": [ "owner", "repo" - ], - "type": "object" + ] }, "name": "get_file_contents" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_issue.snap b/pkg/github/__toolsnaps__/get_issue.snap index eab2b8722..39104c7a4 100644 --- a/pkg/github/__toolsnaps__/get_issue.snap +++ b/pkg/github/__toolsnaps__/get_issue.snap @@ -5,6 +5,7 @@ }, "description": "Get details of a specific issue in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "issue_number": { "description": "The number of the issue", @@ -23,8 +24,7 @@ "owner", "repo", "issue_number" - ], - "type": "object" + ] }, "name": "get_issue" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_issue_comments.snap b/pkg/github/__toolsnaps__/get_issue_comments.snap index b28f45204..aebc5e71b 100644 --- a/pkg/github/__toolsnaps__/get_issue_comments.snap +++ b/pkg/github/__toolsnaps__/get_issue_comments.snap @@ -5,6 +5,7 @@ }, "description": "Get comments for a specific issue in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "issue_number": { "description": "Issue number", @@ -34,8 +35,7 @@ "owner", "repo", "issue_number" - ], - "type": "object" + ] }, "name": "get_issue_comments" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_me.snap b/pkg/github/__toolsnaps__/get_me.snap index 13b061741..d46b42955 100644 --- a/pkg/github/__toolsnaps__/get_me.snap +++ b/pkg/github/__toolsnaps__/get_me.snap @@ -5,7 +5,6 @@ }, "description": "Get details of the authenticated GitHub user. Use this when a request is about the user's own profile for GitHub. Or when information is missing to build other tool calls.", "inputSchema": { - "properties": {}, "type": "object" }, "name": "get_me" diff --git a/pkg/github/__toolsnaps__/get_notification_details.snap b/pkg/github/__toolsnaps__/get_notification_details.snap index 62bc6bf1b..755eed41a 100644 --- a/pkg/github/__toolsnaps__/get_notification_details.snap +++ b/pkg/github/__toolsnaps__/get_notification_details.snap @@ -5,6 +5,7 @@ }, "description": "Get detailed information for a specific GitHub notification, always call this tool when the user asks for details about a specific notification, if you don't know the ID list notifications first.", "inputSchema": { + "type": "object", "properties": { "notificationID": { "description": "The ID of the notification", @@ -13,8 +14,7 @@ }, "required": [ "notificationID" - ], - "type": "object" + ] }, "name": "get_notification_details" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_project.snap b/pkg/github/__toolsnaps__/get_project.snap index db060e427..716973062 100644 --- a/pkg/github/__toolsnaps__/get_project.snap +++ b/pkg/github/__toolsnaps__/get_project.snap @@ -5,6 +5,7 @@ }, "description": "Get Project for a user or org", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.", @@ -27,8 +28,7 @@ "project_number", "owner_type", "owner" - ], - "type": "object" + ] }, "name": "get_project" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_project_field.snap b/pkg/github/__toolsnaps__/get_project_field.snap index 65d6f86f1..6b3d3c457 100644 --- a/pkg/github/__toolsnaps__/get_project_field.snap +++ b/pkg/github/__toolsnaps__/get_project_field.snap @@ -5,6 +5,7 @@ }, "description": "Get Project field for a user or org", "inputSchema": { + "type": "object", "properties": { "field_id": { "description": "The field's id.", @@ -32,8 +33,7 @@ "owner", "project_number", "field_id" - ], - "type": "object" + ] }, "name": "get_project_field" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_project_item.snap b/pkg/github/__toolsnaps__/get_project_item.snap index 6f8f60935..332814f4b 100644 --- a/pkg/github/__toolsnaps__/get_project_item.snap +++ b/pkg/github/__toolsnaps__/get_project_item.snap @@ -5,6 +5,7 @@ }, "description": "Get a specific Project item for a user or org", "inputSchema": { + "type": "object", "properties": { "item_id": { "description": "The item's ID.", @@ -32,8 +33,7 @@ "owner", "project_number", "item_id" - ], - "type": "object" + ] }, "name": "get_project_item" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_pull_request.snap b/pkg/github/__toolsnaps__/get_pull_request.snap index cbcf1f425..7e8a8efe5 100644 --- a/pkg/github/__toolsnaps__/get_pull_request.snap +++ b/pkg/github/__toolsnaps__/get_pull_request.snap @@ -5,6 +5,7 @@ }, "description": "Get details of a specific pull request in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -23,8 +24,7 @@ "owner", "repo", "pullNumber" - ], - "type": "object" + ] }, "name": "get_pull_request" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_pull_request_diff.snap b/pkg/github/__toolsnaps__/get_pull_request_diff.snap index e054eab92..a8fbc7595 100644 --- a/pkg/github/__toolsnaps__/get_pull_request_diff.snap +++ b/pkg/github/__toolsnaps__/get_pull_request_diff.snap @@ -5,6 +5,7 @@ }, "description": "Get the diff of a pull request.", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -23,8 +24,7 @@ "owner", "repo", "pullNumber" - ], - "type": "object" + ] }, "name": "get_pull_request_diff" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_pull_request_files.snap b/pkg/github/__toolsnaps__/get_pull_request_files.snap index 148053b17..fe10062e9 100644 --- a/pkg/github/__toolsnaps__/get_pull_request_files.snap +++ b/pkg/github/__toolsnaps__/get_pull_request_files.snap @@ -5,6 +5,7 @@ }, "description": "Get the files changed in a specific pull request.", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -34,8 +35,7 @@ "owner", "repo", "pullNumber" - ], - "type": "object" + ] }, "name": "get_pull_request_files" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_pull_request_review_comments.snap b/pkg/github/__toolsnaps__/get_pull_request_review_comments.snap index 92996fec2..135815158 100644 --- a/pkg/github/__toolsnaps__/get_pull_request_review_comments.snap +++ b/pkg/github/__toolsnaps__/get_pull_request_review_comments.snap @@ -5,6 +5,7 @@ }, "description": "Get pull request review comments. They are comments made on a portion of the unified diff during a pull request review. These are different from commit comments and issue comments in a pull request.", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -23,8 +24,7 @@ "owner", "repo", "pullNumber" - ], - "type": "object" + ] }, "name": "get_pull_request_review_comments" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_pull_request_reviews.snap b/pkg/github/__toolsnaps__/get_pull_request_reviews.snap index 61dee53ee..4e5779f30 100644 --- a/pkg/github/__toolsnaps__/get_pull_request_reviews.snap +++ b/pkg/github/__toolsnaps__/get_pull_request_reviews.snap @@ -5,6 +5,7 @@ }, "description": "Get reviews for a specific pull request.", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -23,8 +24,7 @@ "owner", "repo", "pullNumber" - ], - "type": "object" + ] }, "name": "get_pull_request_reviews" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_pull_request_status.snap b/pkg/github/__toolsnaps__/get_pull_request_status.snap index 8ffebc3a4..ba6239e32 100644 --- a/pkg/github/__toolsnaps__/get_pull_request_status.snap +++ b/pkg/github/__toolsnaps__/get_pull_request_status.snap @@ -5,6 +5,7 @@ }, "description": "Get the status of a specific pull request.", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -23,8 +24,7 @@ "owner", "repo", "pullNumber" - ], - "type": "object" + ] }, "name": "get_pull_request_status" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_release_by_tag.snap b/pkg/github/__toolsnaps__/get_release_by_tag.snap index c96d3c30a..7e0089573 100644 --- a/pkg/github/__toolsnaps__/get_release_by_tag.snap +++ b/pkg/github/__toolsnaps__/get_release_by_tag.snap @@ -5,6 +5,7 @@ }, "description": "Get a specific release by its tag name in a GitHub repository", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -23,8 +24,7 @@ "owner", "repo", "tag" - ], - "type": "object" + ] }, "name": "get_release_by_tag" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_tag.snap b/pkg/github/__toolsnaps__/get_tag.snap index 42089f872..dc2c1891d 100644 --- a/pkg/github/__toolsnaps__/get_tag.snap +++ b/pkg/github/__toolsnaps__/get_tag.snap @@ -5,6 +5,7 @@ }, "description": "Get details about a specific git tag in a GitHub repository", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -23,8 +24,7 @@ "owner", "repo", "tag" - ], - "type": "object" + ] }, "name": "get_tag" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_team_members.snap b/pkg/github/__toolsnaps__/get_team_members.snap index 2d91bb5ea..633879592 100644 --- a/pkg/github/__toolsnaps__/get_team_members.snap +++ b/pkg/github/__toolsnaps__/get_team_members.snap @@ -5,6 +5,7 @@ }, "description": "Get member usernames of a specific team in an organization. Limited to organizations accessible with current credentials", "inputSchema": { + "type": "object", "properties": { "org": { "description": "Organization login (owner) that contains the team.", @@ -18,8 +19,7 @@ "required": [ "org", "team_slug" - ], - "type": "object" + ] }, "name": "get_team_members" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/get_teams.snap b/pkg/github/__toolsnaps__/get_teams.snap index 39ed4db35..534d60017 100644 --- a/pkg/github/__toolsnaps__/get_teams.snap +++ b/pkg/github/__toolsnaps__/get_teams.snap @@ -5,13 +5,13 @@ }, "description": "Get details of the teams the user is a member of. Limited to organizations accessible with current credentials", "inputSchema": { + "type": "object", "properties": { "user": { "description": "Username to get teams for. If not provided, uses the authenticated user.", "type": "string" } - }, - "type": "object" + } }, "name": "get_teams" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_branches.snap b/pkg/github/__toolsnaps__/list_branches.snap index 492b6d527..f002ac3ff 100644 --- a/pkg/github/__toolsnaps__/list_branches.snap +++ b/pkg/github/__toolsnaps__/list_branches.snap @@ -5,6 +5,7 @@ }, "description": "List branches in a GitHub repository", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -29,8 +30,7 @@ "required": [ "owner", "repo" - ], - "type": "object" + ] }, "name": "list_branches" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_code_scanning_alerts.snap b/pkg/github/__toolsnaps__/list_code_scanning_alerts.snap index 470f0d01f..e58020a9a 100644 --- a/pkg/github/__toolsnaps__/list_code_scanning_alerts.snap +++ b/pkg/github/__toolsnaps__/list_code_scanning_alerts.snap @@ -5,6 +5,7 @@ }, "description": "List code scanning alerts in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "The owner of the repository.", @@ -50,8 +51,7 @@ "required": [ "owner", "repo" - ], - "type": "object" + ] }, "name": "list_code_scanning_alerts" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_commits.snap b/pkg/github/__toolsnaps__/list_commits.snap index a802436c2..a6f9f264e 100644 --- a/pkg/github/__toolsnaps__/list_commits.snap +++ b/pkg/github/__toolsnaps__/list_commits.snap @@ -5,6 +5,7 @@ }, "description": "Get list of commits of a branch in a GitHub repository. Returns at least 30 results per page by default, but can return more if specified using the perPage parameter (up to 100).", "inputSchema": { + "type": "object", "properties": { "author": { "description": "Author username or email address to filter commits by", @@ -37,8 +38,7 @@ "required": [ "owner", "repo" - ], - "type": "object" + ] }, "name": "list_commits" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_dependabot_alerts.snap b/pkg/github/__toolsnaps__/list_dependabot_alerts.snap index 681d640b7..941a15549 100644 --- a/pkg/github/__toolsnaps__/list_dependabot_alerts.snap +++ b/pkg/github/__toolsnaps__/list_dependabot_alerts.snap @@ -5,6 +5,7 @@ }, "description": "List dependabot alerts in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "The owner of the repository.", @@ -39,8 +40,7 @@ "required": [ "owner", "repo" - ], - "type": "object" + ] }, "name": "list_dependabot_alerts" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_issue_types.snap b/pkg/github/__toolsnaps__/list_issue_types.snap index 93c3e51d9..84cb80683 100644 --- a/pkg/github/__toolsnaps__/list_issue_types.snap +++ b/pkg/github/__toolsnaps__/list_issue_types.snap @@ -5,6 +5,7 @@ }, "description": "List supported issue types for repository owner (organization).", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "The organization owner of the repository", @@ -13,8 +14,7 @@ }, "required": [ "owner" - ], - "type": "object" + ] }, "name": "list_issue_types" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_issues.snap b/pkg/github/__toolsnaps__/list_issues.snap index 5475988c2..99a01b926 100644 --- a/pkg/github/__toolsnaps__/list_issues.snap +++ b/pkg/github/__toolsnaps__/list_issues.snap @@ -5,6 +5,7 @@ }, "description": "List issues in a GitHub repository. For pagination, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter.", "inputSchema": { + "type": "object", "properties": { "after": { "description": "Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs.", @@ -64,8 +65,7 @@ "required": [ "owner", "repo" - ], - "type": "object" + ] }, "name": "list_issues" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_notifications.snap b/pkg/github/__toolsnaps__/list_notifications.snap index 92f25eb4c..bdc8d3687 100644 --- a/pkg/github/__toolsnaps__/list_notifications.snap +++ b/pkg/github/__toolsnaps__/list_notifications.snap @@ -5,6 +5,7 @@ }, "description": "Lists all GitHub notifications for the authenticated user, including unread notifications, mentions, review requests, assignments, and updates on issues or pull requests. Use this tool whenever the user asks what to work on next, requests a summary of their GitHub activity, wants to see pending reviews, or needs to check for new updates or tasks. This tool is the primary way to discover actionable items, reminders, and outstanding work on GitHub. Always call this tool when asked what to work on next, what is pending, or what needs attention in GitHub.", "inputSchema": { + "type": "object", "properties": { "before": { "description": "Only show notifications updated before the given time (ISO 8601 format)", @@ -42,8 +43,7 @@ "description": "Only show notifications updated after the given time (ISO 8601 format)", "type": "string" } - }, - "type": "object" + } }, "name": "list_notifications" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_project_fields.snap b/pkg/github/__toolsnaps__/list_project_fields.snap index 0a2180e2b..f9eb2824a 100644 --- a/pkg/github/__toolsnaps__/list_project_fields.snap +++ b/pkg/github/__toolsnaps__/list_project_fields.snap @@ -5,6 +5,7 @@ }, "description": "List Project fields for a user or org", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.", @@ -31,8 +32,7 @@ "owner_type", "owner", "project_number" - ], - "type": "object" + ] }, "name": "list_project_fields" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_project_items.snap b/pkg/github/__toolsnaps__/list_project_items.snap index 09b3267f0..b45b04d55 100644 --- a/pkg/github/__toolsnaps__/list_project_items.snap +++ b/pkg/github/__toolsnaps__/list_project_items.snap @@ -5,6 +5,7 @@ }, "description": "List Project items for a user or org", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.", @@ -35,8 +36,7 @@ "owner_type", "owner", "project_number" - ], - "type": "object" + ] }, "name": "list_project_items" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_projects.snap b/pkg/github/__toolsnaps__/list_projects.snap index 8de28989a..c51508ee9 100644 --- a/pkg/github/__toolsnaps__/list_projects.snap +++ b/pkg/github/__toolsnaps__/list_projects.snap @@ -5,6 +5,7 @@ }, "description": "List Projects for a user or org", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.", @@ -30,8 +31,7 @@ "required": [ "owner_type", "owner" - ], - "type": "object" + ] }, "name": "list_projects" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_pull_requests.snap b/pkg/github/__toolsnaps__/list_pull_requests.snap index fee7e2ff1..d3f843601 100644 --- a/pkg/github/__toolsnaps__/list_pull_requests.snap +++ b/pkg/github/__toolsnaps__/list_pull_requests.snap @@ -5,6 +5,7 @@ }, "description": "List pull requests in a GitHub repository. If the user specifies an author, then DO NOT use this tool and use the search_pull_requests tool instead.", "inputSchema": { + "type": "object", "properties": { "base": { "description": "Filter by base branch", @@ -64,8 +65,7 @@ "required": [ "owner", "repo" - ], - "type": "object" + ] }, "name": "list_pull_requests" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_starred_repositories.snap b/pkg/github/__toolsnaps__/list_starred_repositories.snap index b02563ae2..5c1fa6d5f 100644 --- a/pkg/github/__toolsnaps__/list_starred_repositories.snap +++ b/pkg/github/__toolsnaps__/list_starred_repositories.snap @@ -5,6 +5,7 @@ }, "description": "List starred repositories", "inputSchema": { + "type": "object", "properties": { "direction": { "description": "The direction to sort the results by.", @@ -37,8 +38,7 @@ "description": "Username to list starred repositories for. Defaults to the authenticated user.", "type": "string" } - }, - "type": "object" + } }, "name": "list_starred_repositories" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_sub_issues.snap b/pkg/github/__toolsnaps__/list_sub_issues.snap index 70640e270..3cda86168 100644 --- a/pkg/github/__toolsnaps__/list_sub_issues.snap +++ b/pkg/github/__toolsnaps__/list_sub_issues.snap @@ -5,6 +5,7 @@ }, "description": "List sub-issues for a specific issue in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "issue_number": { "description": "Issue number", @@ -31,8 +32,7 @@ "owner", "repo", "issue_number" - ], - "type": "object" + ] }, "name": "list_sub_issues" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/list_tags.snap b/pkg/github/__toolsnaps__/list_tags.snap index fcb9853fd..f125849cf 100644 --- a/pkg/github/__toolsnaps__/list_tags.snap +++ b/pkg/github/__toolsnaps__/list_tags.snap @@ -5,6 +5,7 @@ }, "description": "List git tags in a GitHub repository", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -29,8 +30,7 @@ "required": [ "owner", "repo" - ], - "type": "object" + ] }, "name": "list_tags" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/manage_notification_subscription.snap b/pkg/github/__toolsnaps__/manage_notification_subscription.snap index 0f7d91201..f5de4fe33 100644 --- a/pkg/github/__toolsnaps__/manage_notification_subscription.snap +++ b/pkg/github/__toolsnaps__/manage_notification_subscription.snap @@ -5,6 +5,7 @@ }, "description": "Manage a notification subscription: ignore, watch, or delete a notification thread subscription.", "inputSchema": { + "type": "object", "properties": { "action": { "description": "Action to perform: ignore, watch, or delete the notification subscription.", @@ -23,8 +24,7 @@ "required": [ "notificationID", "action" - ], - "type": "object" + ] }, "name": "manage_notification_subscription" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/manage_repository_notification_subscription.snap b/pkg/github/__toolsnaps__/manage_repository_notification_subscription.snap index 9d09a5817..6e9f5f8c6 100644 --- a/pkg/github/__toolsnaps__/manage_repository_notification_subscription.snap +++ b/pkg/github/__toolsnaps__/manage_repository_notification_subscription.snap @@ -5,6 +5,7 @@ }, "description": "Manage a repository notification subscription: ignore, watch, or delete repository notifications subscription for the provided repository.", "inputSchema": { + "type": "object", "properties": { "action": { "description": "Action to perform: ignore, watch, or delete the repository notification subscription.", @@ -28,8 +29,7 @@ "owner", "repo", "action" - ], - "type": "object" + ] }, "name": "manage_repository_notification_subscription" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/mark_all_notifications_read.snap b/pkg/github/__toolsnaps__/mark_all_notifications_read.snap index 5a1fe24a5..be563f0a7 100644 --- a/pkg/github/__toolsnaps__/mark_all_notifications_read.snap +++ b/pkg/github/__toolsnaps__/mark_all_notifications_read.snap @@ -5,6 +5,7 @@ }, "description": "Mark all notifications as read", "inputSchema": { + "type": "object", "properties": { "lastReadAt": { "description": "Describes the last point that notifications were checked (optional). Default: Now", @@ -18,8 +19,7 @@ "description": "Optional repository name. If provided with owner, only notifications for this repository are marked as read.", "type": "string" } - }, - "type": "object" + } }, "name": "mark_all_notifications_read" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/merge_pull_request.snap b/pkg/github/__toolsnaps__/merge_pull_request.snap index a5a1474cb..4a8693a9f 100644 --- a/pkg/github/__toolsnaps__/merge_pull_request.snap +++ b/pkg/github/__toolsnaps__/merge_pull_request.snap @@ -5,6 +5,7 @@ }, "description": "Merge a pull request in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "commit_message": { "description": "Extra detail for merge commit", @@ -40,8 +41,7 @@ "owner", "repo", "pullNumber" - ], - "type": "object" + ] }, "name": "merge_pull_request" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/push_files.snap b/pkg/github/__toolsnaps__/push_files.snap index 3ade75eeb..3e5cee87d 100644 --- a/pkg/github/__toolsnaps__/push_files.snap +++ b/pkg/github/__toolsnaps__/push_files.snap @@ -5,6 +5,7 @@ }, "description": "Push multiple files to a GitHub repository in a single commit", "inputSchema": { + "type": "object", "properties": { "branch": { "description": "Branch to push to", @@ -51,8 +52,7 @@ "branch", "files", "message" - ], - "type": "object" + ] }, "name": "push_files" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/remove_sub_issue.snap b/pkg/github/__toolsnaps__/remove_sub_issue.snap index a29020099..0703707b5 100644 --- a/pkg/github/__toolsnaps__/remove_sub_issue.snap +++ b/pkg/github/__toolsnaps__/remove_sub_issue.snap @@ -5,6 +5,7 @@ }, "description": "Remove a sub-issue from a parent issue in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "issue_number": { "description": "The number of the parent issue", @@ -28,8 +29,7 @@ "repo", "issue_number", "sub_issue_id" - ], - "type": "object" + ] }, "name": "remove_sub_issue" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/reprioritize_sub_issue.snap b/pkg/github/__toolsnaps__/reprioritize_sub_issue.snap index 43c258b33..c78174804 100644 --- a/pkg/github/__toolsnaps__/reprioritize_sub_issue.snap +++ b/pkg/github/__toolsnaps__/reprioritize_sub_issue.snap @@ -5,6 +5,7 @@ }, "description": "Reprioritize a sub-issue to a different position in the parent issue's sub-issue list.", "inputSchema": { + "type": "object", "properties": { "after_id": { "description": "The ID of the sub-issue to be prioritized after (either after_id OR before_id should be specified)", @@ -36,8 +37,7 @@ "repo", "issue_number", "sub_issue_id" - ], - "type": "object" + ] }, "name": "reprioritize_sub_issue" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/request_copilot_review.snap b/pkg/github/__toolsnaps__/request_copilot_review.snap index 1717ced01..544606ea9 100644 --- a/pkg/github/__toolsnaps__/request_copilot_review.snap +++ b/pkg/github/__toolsnaps__/request_copilot_review.snap @@ -5,6 +5,7 @@ }, "description": "Request a GitHub Copilot code review for a pull request. Use this for automated feedback on pull requests, usually before requesting a human reviewer.", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -23,8 +24,7 @@ "owner", "repo", "pullNumber" - ], - "type": "object" + ] }, "name": "request_copilot_review" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/search_code.snap b/pkg/github/__toolsnaps__/search_code.snap index 4ef40c5f8..3d49a774e 100644 --- a/pkg/github/__toolsnaps__/search_code.snap +++ b/pkg/github/__toolsnaps__/search_code.snap @@ -5,6 +5,7 @@ }, "description": "Fast and precise code search across ALL GitHub repositories using GitHub's native search engine. Best for finding exact symbols, functions, classes, or specific code patterns.", "inputSchema": { + "type": "object", "properties": { "order": { "description": "Sort order for results", @@ -36,8 +37,7 @@ }, "required": [ "query" - ], - "type": "object" + ] }, "name": "search_code" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/search_issues.snap b/pkg/github/__toolsnaps__/search_issues.snap index bf1982411..b7955dee6 100644 --- a/pkg/github/__toolsnaps__/search_issues.snap +++ b/pkg/github/__toolsnaps__/search_issues.snap @@ -5,6 +5,7 @@ }, "description": "Search for issues in GitHub repositories using issues search syntax already scoped to is:issue", "inputSchema": { + "type": "object", "properties": { "order": { "description": "Sort order", @@ -57,8 +58,7 @@ }, "required": [ "query" - ], - "type": "object" + ] }, "name": "search_issues" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/search_pull_requests.snap b/pkg/github/__toolsnaps__/search_pull_requests.snap index 811aa1322..204d6d0ea 100644 --- a/pkg/github/__toolsnaps__/search_pull_requests.snap +++ b/pkg/github/__toolsnaps__/search_pull_requests.snap @@ -5,6 +5,7 @@ }, "description": "Search for pull requests in GitHub repositories using issues search syntax already scoped to is:pr", "inputSchema": { + "type": "object", "properties": { "order": { "description": "Sort order", @@ -57,8 +58,7 @@ }, "required": [ "query" - ], - "type": "object" + ] }, "name": "search_pull_requests" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/search_repositories.snap b/pkg/github/__toolsnaps__/search_repositories.snap index f350c8e2b..e8257c15a 100644 --- a/pkg/github/__toolsnaps__/search_repositories.snap +++ b/pkg/github/__toolsnaps__/search_repositories.snap @@ -5,6 +5,7 @@ }, "description": "Find GitHub repositories by name, description, readme, topics, or other metadata. Perfect for discovering projects, finding examples, or locating specific repositories across GitHub.", "inputSchema": { + "type": "object", "properties": { "minimal_output": { "default": true, @@ -29,8 +30,7 @@ }, "required": [ "query" - ], - "type": "object" + ] }, "name": "search_repositories" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/search_users.snap b/pkg/github/__toolsnaps__/search_users.snap index 73ff7a43c..58e7acfa6 100644 --- a/pkg/github/__toolsnaps__/search_users.snap +++ b/pkg/github/__toolsnaps__/search_users.snap @@ -5,6 +5,7 @@ }, "description": "Find GitHub users by username, real name, or other profile information. Useful for locating developers, contributors, or team members.", "inputSchema": { + "type": "object", "properties": { "order": { "description": "Sort order", @@ -41,8 +42,7 @@ }, "required": [ "query" - ], - "type": "object" + ] }, "name": "search_users" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/star_repository.snap b/pkg/github/__toolsnaps__/star_repository.snap index 983ea6fcb..bc7303a22 100644 --- a/pkg/github/__toolsnaps__/star_repository.snap +++ b/pkg/github/__toolsnaps__/star_repository.snap @@ -5,6 +5,7 @@ }, "description": "Star a GitHub repository", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -18,8 +19,7 @@ "required": [ "owner", "repo" - ], - "type": "object" + ] }, "name": "star_repository" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/submit_pending_pull_request_review.snap b/pkg/github/__toolsnaps__/submit_pending_pull_request_review.snap index f3541922b..d421c3623 100644 --- a/pkg/github/__toolsnaps__/submit_pending_pull_request_review.snap +++ b/pkg/github/__toolsnaps__/submit_pending_pull_request_review.snap @@ -5,6 +5,7 @@ }, "description": "Submit the requester's latest pending pull request review, normally this is a final step after creating a pending review, adding comments first, unless you know that the user already did the first two steps, you should check before calling this.", "inputSchema": { + "type": "object", "properties": { "body": { "description": "The text of the review comment", @@ -37,8 +38,7 @@ "repo", "pullNumber", "event" - ], - "type": "object" + ] }, "name": "submit_pending_pull_request_review" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/unstar_repository.snap b/pkg/github/__toolsnaps__/unstar_repository.snap index 0bf52dc63..baca417fd 100644 --- a/pkg/github/__toolsnaps__/unstar_repository.snap +++ b/pkg/github/__toolsnaps__/unstar_repository.snap @@ -5,6 +5,7 @@ }, "description": "Unstar a GitHub repository", "inputSchema": { + "type": "object", "properties": { "owner": { "description": "Repository owner", @@ -18,8 +19,7 @@ "required": [ "owner", "repo" - ], - "type": "object" + ] }, "name": "unstar_repository" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/update_issue.snap b/pkg/github/__toolsnaps__/update_issue.snap index 5c3f0e638..f74103830 100644 --- a/pkg/github/__toolsnaps__/update_issue.snap +++ b/pkg/github/__toolsnaps__/update_issue.snap @@ -5,6 +5,7 @@ }, "description": "Update an existing issue in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "assignees": { "description": "New assignees", @@ -74,8 +75,7 @@ "owner", "repo", "issue_number" - ], - "type": "object" + ] }, "name": "update_issue" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/update_pull_request.snap b/pkg/github/__toolsnaps__/update_pull_request.snap index 25170ed5f..c5de85d1b 100644 --- a/pkg/github/__toolsnaps__/update_pull_request.snap +++ b/pkg/github/__toolsnaps__/update_pull_request.snap @@ -5,6 +5,7 @@ }, "description": "Update an existing pull request in a GitHub repository.", "inputSchema": { + "type": "object", "properties": { "base": { "description": "New base branch name", @@ -58,8 +59,7 @@ "owner", "repo", "pullNumber" - ], - "type": "object" + ] }, "name": "update_pull_request" } \ No newline at end of file diff --git a/pkg/github/__toolsnaps__/update_pull_request_branch.snap b/pkg/github/__toolsnaps__/update_pull_request_branch.snap index 60ec9c126..ccf1f1a18 100644 --- a/pkg/github/__toolsnaps__/update_pull_request_branch.snap +++ b/pkg/github/__toolsnaps__/update_pull_request_branch.snap @@ -5,6 +5,7 @@ }, "description": "Update the branch of a pull request with the latest changes from the base branch.", "inputSchema": { + "type": "object", "properties": { "expectedHeadSha": { "description": "The expected SHA of the pull request's HEAD ref", @@ -27,8 +28,7 @@ "owner", "repo", "pullNumber" - ], - "type": "object" + ] }, "name": "update_pull_request_branch" } \ No newline at end of file From 6834b6c416a6a76c52fb574318d16620108e5e49 Mon Sep 17 00:00:00 2001 From: JoannaaKL Date: Thu, 2 Oct 2025 09:33:44 +0200 Subject: [PATCH 2/2] Licenses update --- third-party-licenses.darwin.md | 2 +- third-party-licenses.linux.md | 2 +- third-party-licenses.windows.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/third-party-licenses.darwin.md b/third-party-licenses.darwin.md index a1239bdfc..394251ee5 100644 --- a/third-party-licenses.darwin.md +++ b/third-party-licenses.darwin.md @@ -23,7 +23,7 @@ Some packages may only be included on certain architectures or operating systems - [github.com/josephburnett/jd/v2](https://pkg.go.dev/github.com/josephburnett/jd/v2) ([MIT](https://github.com/josephburnett/jd/blob/v1.9.2/LICENSE)) - [github.com/josharian/intern](https://pkg.go.dev/github.com/josharian/intern) ([MIT](https://github.com/josharian/intern/blob/v1.0.0/license.md)) - [github.com/mailru/easyjson](https://pkg.go.dev/github.com/mailru/easyjson) ([MIT](https://github.com/mailru/easyjson/blob/v0.7.7/LICENSE)) - - [github.com/mark3labs/mcp-go](https://pkg.go.dev/github.com/mark3labs/mcp-go) ([MIT](https://github.com/mark3labs/mcp-go/blob/v0.36.0/LICENSE)) + - [github.com/mark3labs/mcp-go](https://pkg.go.dev/github.com/mark3labs/mcp-go) ([MIT](https://github.com/mark3labs/mcp-go/blob/v0.41.1/LICENSE)) - [github.com/migueleliasweb/go-github-mock/src/mock](https://pkg.go.dev/github.com/migueleliasweb/go-github-mock/src/mock) ([MIT](https://github.com/migueleliasweb/go-github-mock/blob/v1.3.0/LICENSE)) - [github.com/pelletier/go-toml/v2](https://pkg.go.dev/github.com/pelletier/go-toml/v2) ([MIT](https://github.com/pelletier/go-toml/blob/v2.2.3/LICENSE)) - [github.com/sagikazarmark/locafero](https://pkg.go.dev/github.com/sagikazarmark/locafero) ([MIT](https://github.com/sagikazarmark/locafero/blob/v0.9.0/LICENSE)) diff --git a/third-party-licenses.linux.md b/third-party-licenses.linux.md index a1239bdfc..394251ee5 100644 --- a/third-party-licenses.linux.md +++ b/third-party-licenses.linux.md @@ -23,7 +23,7 @@ Some packages may only be included on certain architectures or operating systems - [github.com/josephburnett/jd/v2](https://pkg.go.dev/github.com/josephburnett/jd/v2) ([MIT](https://github.com/josephburnett/jd/blob/v1.9.2/LICENSE)) - [github.com/josharian/intern](https://pkg.go.dev/github.com/josharian/intern) ([MIT](https://github.com/josharian/intern/blob/v1.0.0/license.md)) - [github.com/mailru/easyjson](https://pkg.go.dev/github.com/mailru/easyjson) ([MIT](https://github.com/mailru/easyjson/blob/v0.7.7/LICENSE)) - - [github.com/mark3labs/mcp-go](https://pkg.go.dev/github.com/mark3labs/mcp-go) ([MIT](https://github.com/mark3labs/mcp-go/blob/v0.36.0/LICENSE)) + - [github.com/mark3labs/mcp-go](https://pkg.go.dev/github.com/mark3labs/mcp-go) ([MIT](https://github.com/mark3labs/mcp-go/blob/v0.41.1/LICENSE)) - [github.com/migueleliasweb/go-github-mock/src/mock](https://pkg.go.dev/github.com/migueleliasweb/go-github-mock/src/mock) ([MIT](https://github.com/migueleliasweb/go-github-mock/blob/v1.3.0/LICENSE)) - [github.com/pelletier/go-toml/v2](https://pkg.go.dev/github.com/pelletier/go-toml/v2) ([MIT](https://github.com/pelletier/go-toml/blob/v2.2.3/LICENSE)) - [github.com/sagikazarmark/locafero](https://pkg.go.dev/github.com/sagikazarmark/locafero) ([MIT](https://github.com/sagikazarmark/locafero/blob/v0.9.0/LICENSE)) diff --git a/third-party-licenses.windows.md b/third-party-licenses.windows.md index 3bf2d852a..e206c70e4 100644 --- a/third-party-licenses.windows.md +++ b/third-party-licenses.windows.md @@ -24,7 +24,7 @@ Some packages may only be included on certain architectures or operating systems - [github.com/josephburnett/jd/v2](https://pkg.go.dev/github.com/josephburnett/jd/v2) ([MIT](https://github.com/josephburnett/jd/blob/v1.9.2/LICENSE)) - [github.com/josharian/intern](https://pkg.go.dev/github.com/josharian/intern) ([MIT](https://github.com/josharian/intern/blob/v1.0.0/license.md)) - [github.com/mailru/easyjson](https://pkg.go.dev/github.com/mailru/easyjson) ([MIT](https://github.com/mailru/easyjson/blob/v0.7.7/LICENSE)) - - [github.com/mark3labs/mcp-go](https://pkg.go.dev/github.com/mark3labs/mcp-go) ([MIT](https://github.com/mark3labs/mcp-go/blob/v0.36.0/LICENSE)) + - [github.com/mark3labs/mcp-go](https://pkg.go.dev/github.com/mark3labs/mcp-go) ([MIT](https://github.com/mark3labs/mcp-go/blob/v0.41.1/LICENSE)) - [github.com/migueleliasweb/go-github-mock/src/mock](https://pkg.go.dev/github.com/migueleliasweb/go-github-mock/src/mock) ([MIT](https://github.com/migueleliasweb/go-github-mock/blob/v1.3.0/LICENSE)) - [github.com/pelletier/go-toml/v2](https://pkg.go.dev/github.com/pelletier/go-toml/v2) ([MIT](https://github.com/pelletier/go-toml/blob/v2.2.3/LICENSE)) - [github.com/sagikazarmark/locafero](https://pkg.go.dev/github.com/sagikazarmark/locafero) ([MIT](https://github.com/sagikazarmark/locafero/blob/v0.9.0/LICENSE))