feat: docSymbols and workspaceSymbols tools

This commit is contained in:
adamdottv
2025-05-14 14:40:45 -05:00
parent 45c778b90d
commit 5ea989fb74
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),
}
}