Let agents see rendered diagrams and drop Mermaid support
This commit is contained in:
@@ -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)") {
|
||||
|
||||
Reference in New Issue
Block a user