"use client"; // A compact popover listing the FULL topology taxonomy grouped by category // (Traditional, Organic, Dynamic, Federated, Novel, Traditional/Future Gov). // Executable kinds (the ones the cm-topology engine runs) get a "runnable" badge. import { useState } from "react"; import { ChevronDown } from "lucide-react"; import { TOPOLOGY_CATEGORIES, topologyById } from "@/lib/topologies"; const mono = "'JetBrains Mono', ui-monospace, monospace"; export function TopologySelector({ value, onChange, label = "TOPOLOGY", }: { value: string; onChange: (id: string) => void; label?: string; }) { const [open, setOpen] = useState(false); const current = topologyById(value); return (
{open ? ( <> ); })}
))} ) : null} ); }