refactor(lsp): remove lsp_servers - duplicates OpenCode's LspServers
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
33666245d8
commit
848b2e3faa
@ -1,6 +1,5 @@
|
|||||||
import {
|
import {
|
||||||
lsp_diagnostics,
|
lsp_diagnostics,
|
||||||
lsp_servers,
|
|
||||||
lsp_prepare_rename,
|
lsp_prepare_rename,
|
||||||
lsp_rename,
|
lsp_rename,
|
||||||
lspManager,
|
lspManager,
|
||||||
@ -54,7 +53,6 @@ export function createBackgroundTools(manager: BackgroundManager, client: Openco
|
|||||||
|
|
||||||
export const builtinTools: Record<string, ToolDefinition> = {
|
export const builtinTools: Record<string, ToolDefinition> = {
|
||||||
lsp_diagnostics,
|
lsp_diagnostics,
|
||||||
lsp_servers,
|
|
||||||
lsp_prepare_rename,
|
lsp_prepare_rename,
|
||||||
lsp_rename,
|
lsp_rename,
|
||||||
ast_grep_search,
|
ast_grep_search,
|
||||||
|
|||||||
@ -3,4 +3,5 @@ export * from "./constants"
|
|||||||
export * from "./config"
|
export * from "./config"
|
||||||
export * from "./client"
|
export * from "./client"
|
||||||
export * from "./utils"
|
export * from "./utils"
|
||||||
export * from "./tools"
|
// NOTE: lsp_servers removed - duplicates OpenCode's built-in LspServers
|
||||||
|
export { lsp_diagnostics, lsp_prepare_rename, lsp_rename } from "./tools"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user