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
@@ -56,6 +56,9 @@ export const getToolIcon = (toolName: string) => {
if (tool === 'question') {
return <Icon name="survey" className={iconClass} />;
}
if (tool === 'lsp') {
return <Icon name="scan-2" className={iconClass} />;
}
if (tool === 'plan_enter') {
return <Icon name="file-list-2" className={iconClass} />;
}