// Inline transcript card asking the operator to confirm or deny one or more // write tool calls the model has proposed. Renders below the assistant // message that emitted them; the auto-loop is paused until the user picks. import { ShieldAlert } from "lucide-react" import type { ToolCall } from "@crema/llm-ui" import { formatToolCallArgs } from "~/lib/admin-tools" import { Button } from "~/components/ui/button" export function ConfirmCard({ calls, onConfirm, onDeny, busy, }: { calls: ToolCall[] onConfirm: () => void onDeny: () => void busy?: boolean }) { return (
Confirm write{calls.length > 1 ? "s" : ""}
) }