@@ -197,23 +197,23 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
197197 // AddReadTools(
198198 // toolsets.NewServerTool(GetRepositoryTree(getClient, t)),
199199 // )
200- // issues := toolsets.NewToolset(ToolsetMetadataIssues.ID, ToolsetMetadataIssues.Description).
201- // AddReadTools(
202- // toolsets.NewServerTool(IssueRead(getClient, getGQLClient, t, flags)),
203- // toolsets.NewServerTool(SearchIssues(getClient, t)),
204- // toolsets.NewServerTool(ListIssues(getGQLClient, t)),
205- // toolsets.NewServerTool(ListIssueTypes(getClient, t)),
206- // toolsets.NewServerTool(GetLabel(getGQLClient, t)),
207- // ).
208- // AddWriteTools(
209- // toolsets.NewServerTool(IssueWrite(getClient, getGQLClient, t)),
210- // toolsets.NewServerTool(AddIssueComment(getClient, t)),
211- // toolsets.NewServerTool(AssignCopilotToIssue(getGQLClient, t)),
212- // toolsets.NewServerTool(SubIssueWrite(getClient, t)),
213- // ).AddPrompts(
214- // toolsets.NewServerPrompt(AssignCodingAgentPrompt(t)),
215- // toolsets.NewServerPrompt(IssueToFixWorkflowPrompt(t)),
216- // )
200+ issues := toolsets .NewToolset (ToolsetMetadataIssues .ID , ToolsetMetadataIssues .Description ).
201+ AddReadTools (
202+ toolsets .NewServerTool (IssueRead (getClient , getGQLClient , t , flags )),
203+ toolsets .NewServerTool (SearchIssues (getClient , t )),
204+ toolsets .NewServerTool (ListIssues (getGQLClient , t )),
205+ toolsets .NewServerTool (ListIssueTypes (getClient , t )),
206+ // toolsets.NewServerTool(GetLabel(getGQLClient, t)),
207+ ).
208+ AddWriteTools (
209+ toolsets .NewServerTool (IssueWrite (getClient , getGQLClient , t )),
210+ toolsets .NewServerTool (AddIssueComment (getClient , t )),
211+ toolsets .NewServerTool (AssignCopilotToIssue (getGQLClient , t )),
212+ toolsets .NewServerTool (SubIssueWrite (getClient , t )),
213+ ).AddPrompts (
214+ toolsets .NewServerPrompt (AssignCodingAgentPrompt (t )),
215+ toolsets .NewServerPrompt (IssueToFixWorkflowPrompt (t )),
216+ )
217217 // users := toolsets.NewToolset(ToolsetMetadataUsers.ID, ToolsetMetadataUsers.Description).
218218 // AddReadTools(
219219 // toolsets.NewServerTool(SearchUsers(getClient, t)),
@@ -361,7 +361,7 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
361361 tsg .AddToolset (contextTools )
362362 // tsg.AddToolset(repos)
363363 // tsg.AddToolset(git)
364- // tsg.AddToolset(issues)
364+ tsg .AddToolset (issues )
365365 // tsg.AddToolset(orgs)
366366 // tsg.AddToolset(users)
367367 // tsg.AddToolset(pullRequests)
0 commit comments