feat(tui): render Mermaid diagrams as terminal images (#6320)

* feat(tui): render Mermaid diagrams as terminal images

* perf(tui): streamline Mermaid rendering and resource ownership

* fix(tui): clarify diagram navigation hints

* fix(tui): release viewer layout leases and retain retry targets

* docs(tui): keep Mermaid guide focused on usage
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-20 17:28:36 +08:00
1 parent 9b5d552f40
commit 9adbcc2cef
31 files changed
+1983 -21

No files matched your search

+6
View File
@@ -25,6 +25,12 @@ export const LOCAL_COMMANDS: TuiCommand[] = [
description: "Show context occupancy and recent model-call input tokens",
action: "usage",
},
{
command: "/diagrams",
title: "Mermaid diagrams",
description: "View, zoom and copy diagrams in this conversation (Ctrl+G)",
action: "diagrams",
},
{
command: "/diff",
title: "Last turn diff",