{persistentProviderTrace ? (
Raw tracing on
) : null}
{showRun &&
{
if (navigateToRunOnInvoke && !confirmNavigationStart(agentActionStartedDirtyRef)) return;
agentAction.mutate("invoke");
}}
disabled={assignAndRunDisabled}
label={runLabel}
size={size}
/>}
{canRunWithProviderTrace && (
)}
{isError ? (
agentAction.mutate("clear_error")}
disabled={clearErrorDisabled}
size={size}
/>
) : (
(pauseConfirm ? setPauseConfirmOpen(true) : agentAction.mutate("pause"))}
onResume={() => agentAction.mutate("resume")}
disabled={pauseResumeDisabled}
size={size}
/>
)}
{pauseConfirm && (
{pauseConfirm.title}
{pauseConfirm.description}
Cancel
agentAction.mutate("pause")}>
Pause anyway
)}
{showStatus && (
)}
{children}
{!hideTerminate && (
)}
);
}