diff --git a/agent/uis/open-code/plan/index.tsx b/agent/uis/open-code/plan/index.tsx index d6bbce3..2b524ee 100644 --- a/agent/uis/open-code/plan/index.tsx +++ b/agent/uis/open-code/plan/index.tsx @@ -1,4 +1,7 @@ import "./index.css"; +import { motion } from "framer-motion"; +import { ChevronDown } from "lucide-react"; +import { useState } from "react"; interface PlanProps { toolCallId: string; @@ -8,41 +11,66 @@ interface PlanProps { } export default function Plan(props: PlanProps) { + const [isExpanded, setIsExpanded] = useState(false); + return ( -
- {index + 1}. {step} -
- ))} -- {step} -
- ))} -- {step} -
- ))} -+ {index + 1}. {step} +
+ ))} ++ {step} +
+ ))} ++ {step} +
+ ))} +