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
@@ -1796,6 +1796,11 @@ export const dict: Record<I18nKey, string> = {
'chat.toolPart.awaitingResponse': '等待回應...',
'chat.toolPart.noOutputProduced': '未產生輸出',
'chat.toolPart.output': '輸出',
'chat.toolPart.showRawJson': '顯示原始 JSON',
'chat.toolPart.showFormattedJson': '顯示格式化 JSON',
'chat.toolPart.copyOutput': '複製輸出',
'chat.toolPart.copiedOutput': '已複製輸出',
'chat.toolPart.copyOutputFailed': '複製輸出失敗',
'chat.toolPart.openSubtask': '開啟{type}子任務',
'chat.todo.total': '總計',
'chat.todo.inProgress': '進行中',