- {isExecuting ? (
-
- ) : isCompleted ? (
-
- ) : isCancelled || isFailed ? (
-
- ) : (
-
- )}
+ {statusPresentation.icon}
{editorAgentToolLabel(toolCall.toolName)}
- {statusLabel}
+
+ {statusPresentation.label}
+
{displayError ? (
{displayError}
@@ -122,6 +152,9 @@ function ToolCallView({
focusResource(resourceId) : undefined
+ }
onContextMenu={
onRightClickMenu
? (event) =>