eust-w f1d71164ae 🐛 Render assistant Markdown and validated topology diagrams
Replace plain-text replies with react-markdown and GFM tables, lists,
code and safe links. Recognize complete topology fences, JSON fences and
standalone graph data in source order without promoting ordinary JSON.
Render escaped SVG elements with cycle-safe layouts, zoom, node details
and accessible data tables; show incomplete graphs as recoverable errors.

Preserve finish_reason=length, prevent truncated tool calls from executing,
and give concise topology replies a 4096-token budget. Tighten the prompt
to return bounded, closed diagrams rather than an exhaustive node dump.

Add parser, model-completion and isolated browser regression coverage.
Fix existing frontend type declarations exposed by the React types now
provided with react-markdown, without changing workflow execution.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-04 21:19:41 +08:00
..
2026-06-26 13:47:13 +08:00