+ {phase === "rejected" + ? `${displayName} — Rejected` + : phase === "processing" || phase === "complete" + ? `${displayName} — Approved` + : `Approve: ${displayName}`} +
+ {phase === "processing" ? ( +Action completed
+ ) : phase === "rejected" ? ( +Action was cancelled
+ ) : ( ++ Requires your approval to proceed +
+ )} + {mcpServer && ( ++ via {mcpServer} +
+ )} +{toolDescription}
+Parameters
+ {phase === "pending" && isEditing ? ( +
+ {JSON.stringify(args, null, 2)}
+
+ )}
+