{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "z-agent-progress",
  "title": "Z Agent Progress",
  "dependencies": [],
  "devDependencies": [],
  "registryDependencies": [
    "https://ui.orchid.ai/r/orchid-foundation.json",
    "https://ui.orchid.ai/r/orchid-theme.json"
  ],
  "files": [
    {
      "path": "registry/ui/orchid/spectrum/atoms/z-agent-progress/z-agent-progress.tsx",
      "content": "\"use client\";\nimport { cn } from \"../../../lib/ui-utils\";\nimport { type ReactNode } from 'react';\nexport type ProgressStep = {\n    id: string;\n    label: string;\n    status: 'pending' | 'in-progress' | 'complete' | 'error';\n    children?: ReactNode;\n};\ntype ZAgentProgressProps = {\n    steps: ProgressStep[];\n    isComplete: boolean;\n    className?: string;\n};\nexport function ZAgentProgress({ steps, className }: ZAgentProgressProps) {\n    return (<div className={cn('not-prose text-neutral w-full', className)}>\n      <div className=\"relative border-l-2 border-neutral-subtle/30 pl-4 ml-1\">\n        {steps.map((step, index) => (<ProgressStepItem key={step.id} step={step} isLast={index === steps.length - 1}/>))}\n      </div>\n    </div>);\n}\nfunction ProgressStepItem({ step, isLast }: {\n    step: ProgressStep;\n    isLast: boolean;\n}) {\n    return (<div className={cn('relative', !isLast && 'pb-2')}>\n      \n      <div className={cn('absolute -left-[17px] top-1.5 size-2 rounded-full', step.status === 'complete' && 'bg-[var(--color-success)]', step.status === 'in-progress' && 'bg-ai animate-pulse-size', step.status === 'error' && 'bg-[var(--color-danger)]', step.status === 'pending' && 'bg-neutral-subtle/50')}/>\n\n      \n      <span className={cn('text-copy-sm', step.status === 'complete' && 'text-neutral-subtle', step.status === 'in-progress' && 'text-neutral', step.status === 'error' && 'text-danger', step.status === 'pending' && 'text-neutral-subtle/50')}>\n        {step.label}\n      </span>\n    </div>);\n}\nexport default ZAgentProgress;\n",
      "type": "registry:ui",
      "target": "@ui/orchid/spectrum/atoms/z-agent-progress/z-agent-progress.tsx"
    }
  ],
  "type": "registry:ui"
}