Skip to content

Commit d218ebe

Browse files
Group reaction tools with granular registrations
Keep standalone reaction tool registrations next to the granular issue and pull request tools they belong with, so the default compound tool sections stay focused. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2c9410b commit d218ebe

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/github/tools.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,6 @@ func AllTools(t translations.TranslationHelperFunc) []inventory.ServerTool {
215215
ListIssueFields(t),
216216
IssueWrite(t),
217217
AddIssueComment(t),
218-
AddIssueReaction(t),
219-
AddIssueCommentReaction(t),
220218
SubIssueWrite(t),
221219

222220
// User tools
@@ -236,7 +234,6 @@ func AllTools(t translations.TranslationHelperFunc) []inventory.ServerTool {
236234
PullRequestReviewWrite(t),
237235
AddCommentToPendingReview(t),
238236
AddReplyToPullRequestComment(t),
239-
AddPullRequestReviewCommentReaction(t),
240237

241238
// Copilot tools
242239
AssignCopilotToIssue(t),
@@ -317,6 +314,8 @@ func AllTools(t translations.TranslationHelperFunc) []inventory.ServerTool {
317314
GranularRemoveSubIssue(t),
318315
GranularReprioritizeSubIssue(t),
319316
GranularSetIssueFields(t),
317+
AddIssueReaction(t),
318+
AddIssueCommentReaction(t),
320319

321320
// Granular pull request tools (feature-flagged, replace consolidated update_pull_request/pull_request_review_write)
322321
GranularUpdatePullRequestTitle(t),
@@ -330,6 +329,7 @@ func AllTools(t translations.TranslationHelperFunc) []inventory.ServerTool {
330329
GranularAddPullRequestReviewComment(t),
331330
GranularResolveReviewThread(t),
332331
GranularUnresolveReviewThread(t),
332+
AddPullRequestReviewCommentReaction(t),
333333
})
334334
}
335335

0 commit comments

Comments
 (0)