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:
parent
848b2e3faa
commit
584aecf266
@ -284,6 +284,9 @@ export function createConfigHandler(deps: ConfigHandlerDeps) {
|
|||||||
config.tools = {
|
config.tools = {
|
||||||
...(config.tools as Record<string, unknown>),
|
...(config.tools as Record<string, unknown>),
|
||||||
"grep_app_*": false,
|
"grep_app_*": false,
|
||||||
|
LspHover: false,
|
||||||
|
LspCodeActions: false,
|
||||||
|
LspCodeActionResolve: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (agentResult.librarian) {
|
if (agentResult.librarian) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user