refactor(lsp): consolidate LSP tools - remove lsp_hover, lsp_code_actions, lsp_code_action_resolve - merge lsp_document_symbols + lsp_workspace_symbols into lsp_symbols with scope parameter - update all references in hooks, templates, and documentation

This commit is contained in:
justsisyphus
2026-01-14 17:30:04 +09:00
parent 0cfce83a63
commit 72fa8f2c65
12 changed files with 70 additions and 217 deletions
+2 -10
View File
@@ -1,15 +1,11 @@
import {
lsp_hover,
lsp_goto_definition,
lsp_find_references,
lsp_document_symbols,
lsp_workspace_symbols,
lsp_symbols,
lsp_diagnostics,
lsp_servers,
lsp_prepare_rename,
lsp_rename,
lsp_code_actions,
lsp_code_action_resolve,
lspManager,
} from "./lsp"
@@ -60,17 +56,13 @@ export function createBackgroundTools(manager: BackgroundManager, client: Openco
}
export const builtinTools: Record<string, ToolDefinition> = {
lsp_hover,
lsp_goto_definition,
lsp_find_references,
lsp_document_symbols,
lsp_workspace_symbols,
lsp_symbols,
lsp_diagnostics,
lsp_servers,
lsp_prepare_rename,
lsp_rename,
lsp_code_actions,
lsp_code_action_resolve,
ast_grep_search,
ast_grep_replace,
grep,