feat: docSymbols and workspaceSymbols tools

This commit is contained in:
adamdottv 2025-05-14 14:40:45 -05:00
commit 5ea989fb74
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
6 changed files with 370 additions and 0 deletions

View file

@ -35,6 +35,8 @@ func PrimaryAgentTools(
tools.NewDiagnosticsTool(lspClients),
tools.NewDefinitionTool(lspClients),
tools.NewReferencesTool(lspClients),
tools.NewDocSymbolsTool(lspClients),
tools.NewWorkspaceSymbolsTool(lspClients),
NewAgentTool(sessions, messages, lspClients),
}, mcpTools...,
)
@ -48,5 +50,7 @@ func TaskAgentTools(lspClients map[string]*lsp.Client) []tools.BaseTool {
tools.NewViewTool(lspClients),
tools.NewDefinitionTool(lspClients),
tools.NewReferencesTool(lspClients),
tools.NewDocSymbolsTool(lspClients),
tools.NewWorkspaceSymbolsTool(lspClients),
}
}