diff --git a/apps/web/src/components/chat/ChildThreadApprovals.tsx b/apps/web/src/components/chat/ChildThreadApprovals.tsx index 125e7be73338a..236f8d1f730e5 100644 --- a/apps/web/src/components/chat/ChildThreadApprovals.tsx +++ b/apps/web/src/components/chat/ChildThreadApprovals.tsx @@ -6,8 +6,9 @@ import { isAtomCommandInterrupted, squashAtomCommandFailure, } from "@t3tools/client-runtime/state/runtime"; -import { T, useGT, useMessages, Var } from "gt-react"; +import { T, useGT, useMessages } from "gt-react"; 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"; @@ -26,11 +27,15 @@ function ChildApproval({ entry }: { entry: ChildThreadApproval }) { aria-label={gt("Approval from {title}", { title: 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}
       
@@ -46,9 +51,9 @@ function ChildApproval({ entry }: { entry: ChildThreadApproval }) { {fullAccessOverrideExplanation(approval.fullAccessOverride, messages)}

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