import type { AgentNode } from '../../types'; import { SubagentNode } from './SubagentNode'; interface SubagentTreeProps { tree: AgentNode[]; sessionId: string; } export function SubagentTree({ tree, sessionId }: SubagentTreeProps) { if (tree.length === 0) { return (
no agents found in state.json
); } return (
{tree.map((node) => ( ))}
); }