Let agents see rendered diagrams and drop Mermaid support

This commit is contained in:
Ian Gulliver
2026-10-21 15:41:51 -07:00
parent ab91285dd4
commit 056c3d202a
18 changed files with 506 additions and 980 deletions
+1 -1
View File
@@ -542,7 +542,7 @@ private struct Attachments: View {
InlineView(inlines: [.link(href: src, [.text(caption.isEmpty ? src : caption)])], ctx: MDContext(taskId: taskId))
}
case .diagram:
DiagramView(source: a.mermaid ?? "")
BoxDiagramView(source: a.diagram ?? "")
case .task:
let id = a.taskId ?? ""
Button("task \(id)") {