{persistentProviderTrace ? (
Raw tracing on
) : null}
{children}
{needsSetup ? (
) : showRun ? (
) : null}
{needsSetup ? null : isAgentError ? (
) : isPaused ? (
) : (
)}
{menuItems.map(({ label, icon: Icon, onSelect, disabled: itemDisabled }) => (
))}
{hideTerminate ? null : (
<>
>
)}
{showChat &&
}
{needsSetup ? (
) : (
)}
{pauseDialog}
);
}
return (