"use client"; import { RefreshCwIcon, TargetIcon } from "lucide-react"; import { useI18n } from "@/core/i18n/hooks"; import type { GoalState } from "@/core/threads"; import { cn } from "@/lib/utils"; import { getGoalContinuationDisplay } from "./goal-status-helpers"; import { Tooltip } from "./tooltip"; export function GoalStatus({ className, goal, }: { className?: string; goal: GoalState; }) { const { t } = useI18n(); const continuation = getGoalContinuationDisplay(goal); return (