@@ -166,19 +166,19 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
166166 // Define all available features with their default state (disabled)
167167 // Create toolsets
168168 repos := toolsets .NewToolset (ToolsetMetadataRepos .ID , ToolsetMetadataRepos .Description ).
169- // AddReadTools(
170- // toolsets.NewServerTool(SearchRepositories(getClient, t)),
171- // toolsets.NewServerTool(GetFileContents(getClient, getRawClient, t)),
172- // toolsets.NewServerTool(ListCommits(getClient, t)),
173- // toolsets.NewServerTool(SearchCode(getClient, t)),
174- // toolsets.NewServerTool(GetCommit(getClient, t)),
175- // toolsets.NewServerTool(ListBranches(getClient, t)),
176- // toolsets.NewServerTool(ListTags(getClient, t)),
177- // toolsets.NewServerTool(GetTag(getClient, t)),
178- // toolsets.NewServerTool(ListReleases(getClient, t)),
179- // toolsets.NewServerTool(GetLatestRelease(getClient, t)),
180- // toolsets.NewServerTool(GetReleaseByTag(getClient, t)),
181- // ).
169+ AddReadTools (
170+ toolsets .NewServerTool (SearchRepositories (getClient , t )),
171+ // toolsets.NewServerTool(GetFileContents(getClient, getRawClient, t)),
172+ // toolsets.NewServerTool(ListCommits(getClient, t)),
173+ toolsets .NewServerTool (SearchCode (getClient , t )),
174+ // toolsets.NewServerTool(GetCommit(getClient, t)),
175+ // toolsets.NewServerTool(ListBranches(getClient, t)),
176+ // toolsets.NewServerTool(ListTags(getClient, t)),
177+ // toolsets.NewServerTool(GetTag(getClient, t)),
178+ // toolsets.NewServerTool(ListReleases(getClient, t)),
179+ // toolsets.NewServerTool(GetLatestRelease(getClient, t)),
180+ // toolsets.NewServerTool(GetReleaseByTag(getClient, t)),
181+ ).
182182 // AddWriteTools(
183183 // toolsets.NewServerTool(CreateOrUpdateFile(getClient, t)),
184184 // toolsets.NewServerTool(CreateRepository(getClient, t)),
@@ -215,14 +215,14 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
215215 toolsets .NewServerPrompt (AssignCodingAgentPrompt (t )),
216216 toolsets .NewServerPrompt (IssueToFixWorkflowPrompt (t )),
217217 )
218- // users := toolsets.NewToolset(ToolsetMetadataUsers.ID, ToolsetMetadataUsers.Description).
219- // AddReadTools(
220- // toolsets.NewServerTool(SearchUsers(getClient, t)),
221- // )
222- // orgs := toolsets.NewToolset(ToolsetMetadataOrgs.ID, ToolsetMetadataOrgs.Description).
223- // AddReadTools(
224- // toolsets.NewServerTool(SearchOrgs(getClient, t)),
225- // )
218+ users := toolsets .NewToolset (ToolsetMetadataUsers .ID , ToolsetMetadataUsers .Description ).
219+ AddReadTools (
220+ toolsets .NewServerTool (SearchUsers (getClient , t )),
221+ )
222+ orgs := toolsets .NewToolset (ToolsetMetadataOrgs .ID , ToolsetMetadataOrgs .Description ).
223+ AddReadTools (
224+ toolsets .NewServerTool (SearchOrgs (getClient , t )),
225+ )
226226 // pullRequests := toolsets.NewToolset(ToolsetMetadataPullRequests.ID, ToolsetMetadataPullRequests.Description).
227227 // AddReadTools(
228228 // toolsets.NewServerTool(PullRequestRead(getClient, t, flags)),
@@ -363,8 +363,8 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
363363 tsg .AddToolset (repos )
364364 tsg .AddToolset (git )
365365 tsg .AddToolset (issues )
366- // tsg.AddToolset(orgs)
367- // tsg.AddToolset(users)
366+ tsg .AddToolset (orgs )
367+ tsg .AddToolset (users )
368368 // tsg.AddToolset(pullRequests)
369369 // tsg.AddToolset(actions)
370370 tsg .AddToolset (codeSecurity )
0 commit comments