feat: render LSP tool output in chat

Adds expandable LSP tool rows with scan icon and stable file path display
Adds formatted/raw JSON output toggle and copy action
Improves compact LSP input formatting
This commit is contained in:
Bohdan Triapitsyn
2026-06-03 17:15:52 +03:00
parent 8e2c7549ca
commit a3908232ae
15 changed files with 263 additions and 14 deletions
+33
View File
@@ -0,0 +1,33 @@
{
"$schema": "https://opencode.ai/config.json",
"lsp": {
"tailwindcss": {
"command": ["tailwindcss-language-server", "--stdio"],
"extensions": [".ts", ".tsx", ".js", ".jsx", ".css", ".html"]
},
"css": {
"command": ["vscode-css-language-server", "--stdio"],
"extensions": [".css", ".scss", ".less"]
},
"html": {
"command": ["vscode-html-language-server", "--stdio"],
"extensions": [".html"]
},
"json": {
"command": ["vscode-json-language-server", "--stdio"],
"extensions": [".json", ".jsonc"]
},
"mdx": {
"command": ["mdx-language-server", "--stdio"],
"extensions": [".mdx"]
},
"marksman": {
"command": ["marksman", "server"],
"extensions": [".md"]
},
"dockerfile": {
"command": ["docker-langserver", "--stdio"],
"extensions": ["Dockerfile", ".dockerfile"]
}
}
}