Add org chart image export support

This commit is contained in:
dotta 2026-03-20 05:51:33 -05:00
parent 53249c00cf
commit b20675b7b5
6 changed files with 469 additions and 17 deletions

View file

@ -87,10 +87,9 @@ export function generateReadme(
lines.push("");
}
// Org chart as Mermaid diagram
const mermaid = generateOrgChartMermaid(manifest.agents);
if (mermaid) {
lines.push(mermaid);
// Org chart image (generated during export as images/org-chart.png)
if (manifest.agents.length > 0) {
lines.push("![Org Chart](images/org-chart.png)");
lines.push("");
}