refactor(config): disable unused OpenCode built-in LSP tools

LspHover, LspCodeActions, LspCodeActionResolve are disabled globally as they are not needed when using oh-my-opencode's curated LSP tools.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
justsisyphus
2026-01-16 10:33:44 +09:00
parent 848b2e3faa
commit 584aecf266

View File

@@ -284,6 +284,9 @@ export function createConfigHandler(deps: ConfigHandlerDeps) {
config.tools = {
...(config.tools as Record<string, unknown>),
"grep_app_*": false,
LspHover: false,
LspCodeActions: false,
LspCodeActionResolve: false,
};
if (agentResult.librarian) {