import type { ReactNode } from 'react'; export interface OrgNodeProps { name: string; /** The runtime behind the role — Claude, Codex, Cursor, Hermes. */ model?: string; /** Live nodes announce themselves with a word, never with the ring alone. */ live?: boolean; /** The word a live node announces. Required reading, not decoration. */ liveLabel?: string; icon?: ReactNode; className?: string; } export function OrgNode({ name, model, live = false, liveLabel = 'Active', icon, className, }: OrgNodeProps) { return (
{icon !== undefined && {icon}} {name} {model !== undefined && ( )} {live && {liveLabel}}
); }