import { Badge } from "@/components/ui/badge"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import type { ArchitectureDocument } from "@/lib/types"; export function ArchitectureView({ architecture }: { architecture: ArchitectureDocument }) { return (
{architecture.title} Generated from the deployed fleet model and tracked channel/runtime definitions.
{architecture.overview.map((line) => ( {line} ))}
            {architecture.topologyDiagram}
          
{architecture.sections.map((section) => ( {section.title} {section.summary}
                  {section.diagram}
                
{section.configuredAgents.map((agentName) => ( {agentName} ))}

Runtime

{section.runtime.map((entry) => (

{entry.label}

{entry.value}

))}

Channels

{section.channels.map((entry) => (

{entry.label}

{entry.value}

))}

Notes

    {section.notes.map((note) => (
  • - {note}
  • ))}
))}
); }