import { AgentStep } from '@/types/agent'; import React from 'react'; interface StepCardProps { step: AgentStep; index: number; } export const StepCard: React.FC = ({ step, index }) => { return (
{/* Step Header */}
Step {index + 1}
{/* Step Image */} {step.image && (
{`Step

)} {/* Thought */}

💭 Thought

{step.thought}


{/* Actions */}

âš¡ Actions

    {step.actions.map((action, actionIndex) => (
  • → {action}
  • ))}

{/* Step Metadata Footer */}
Time {step.duration.toFixed(2)}s
In Tokens {step.inputTokensUsed}
Out Tokens {step.outputTokensUsed}
); };