feat: render interactive Mermaid diagrams

This commit is contained in:
lofyer
2026-08-13 00:30:47 +08:00
parent 86b63406c2
commit 40696d9ac7
13 changed files with 2016 additions and 27 deletions
+14
View File
@@ -120,6 +120,18 @@
{
"from": "node_modules/katex/LICENSE",
"to": "licenses/katex-MIT.txt"
},
{
"from": "node_modules/mermaid/LICENSE",
"to": "licenses/mermaid-MIT.txt"
},
{
"from": "node_modules/dompurify/LICENSE",
"to": "licenses/dompurify-Apache-2.0.txt"
},
{
"from": "node_modules/dompurify/LICENSE-MPL",
"to": "licenses/dompurify-MPL-2.0.txt"
}
],
"win": {
@@ -165,12 +177,14 @@
"@wecom/aibot-node-sdk": "^1.0.6",
"cross-spawn": "^7.0.6",
"dingtalk-stream": "^2.1.6-beta.1",
"dompurify": "^3.4.13",
"fflate": "^0.8.3",
"html-to-text": "^10.0.0",
"i18next": "^25.10.10",
"json5": "^2.2.3",
"katex": "^0.16.47",
"lucide-react": "^1.27.0",
"mermaid": "^11.16.1",
"onnxruntime-web": "^1.23.2",
"pdfjs-dist": "^6.2.108",
"ppu-paddle-ocr": "^6.4.0",