feat(webui): polish agent output and app discovery

This commit is contained in:
Xubin Ren
2026-07-22 22:42:31 +08:00
parent b189a37648
commit aa8387fb4d
87 changed files with 6225 additions and 2379 deletions
@@ -0,0 +1,7 @@
export function compactReasoningPreview(value: string): string {
return value
.replace(/\[([^\]]+)]\([^)]+\)/g, "$1")
.replace(/[*_#`~]+/g, "")
.replace(/\s+/g, " ")
.trim();
}