diff --git a/apps/web/src/components/chat/ChildThreadApprovals.tsx b/apps/web/src/components/chat/ChildThreadApprovals.tsx index 5a7cb3074b4a6..06e52b358038d 100644 --- a/apps/web/src/components/chat/ChildThreadApprovals.tsx +++ b/apps/web/src/components/chat/ChildThreadApprovals.tsx @@ -7,6 +7,7 @@ import { squashAtomCommandFailure, } from "@t3tools/client-runtime/state/runtime"; import { useState } from "react"; +import { ShieldQuestionIcon } from "lucide-react"; import { useEnvironmentScope } from "../../state/session"; import { childThreadApprovalsAtom, threadEnvironment } from "../../state/threads"; import { useAtomCommand } from "../../state/use-atom-command"; @@ -23,7 +24,13 @@ function ChildApproval({ entry }: { entry: ChildThreadApproval }) { aria-label={`Approval from ${entry.title}`} className="rounded-lg border border-border bg-background p-3 text-xs" > -

Approval needed from {entry.title}

+
+ +
+

Your approval is needed

+

{entry.title}

+
+
         {approval.detail || approval.requestKind}
       
@@ -39,9 +46,9 @@ function ChildApproval({ entry }: { entry: ChildThreadApproval }) { {fullAccessOverrideExplanation(approval.fullAccessOverride)}

) : null} -
+
{option.warning ? : null} - + {option.label} @@ -79,7 +87,7 @@ export const ComposerPendingApprovalActions = memo(function ComposerPendingAppro