{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "progress",
  "type": "registry:ui",
  "title": "Progress",
  "description": "Native progress indicator",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "agent",
    "ui",
    "react"
  ],
  "docs": "https://agent-ui-27t.pages.dev/docs/progress",
  "files": [
    {
      "path": "packages/react/src/progress.tsx",
      "type": "registry:ui",
      "target": "@ui/progress.tsx",
      "content": "import * as React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface ProgressProps extends Omit<React.ProgressHTMLAttributes<HTMLProgressElement>, \"value\" | \"max\"> {\n  value?: number;\n  max?: number;\n}\n\nexport const Progress = React.forwardRef<HTMLProgressElement, ProgressProps>(\n  ({ value, max = 100, className, ...props }, ref) => {\n    const safeMax = Number.isFinite(max) && max > 0 ? max : 100;\n    const safeValue = value === undefined || !Number.isFinite(value) ? undefined : Math.max(0, Math.min(value, safeMax));\n    return (\n      <progress\n        ref={ref}\n        data-agent-id=\"progress\"\n        value={safeValue}\n        max={safeMax}\n        aria-label={props[\"aria-label\"] ?? \"Progress\"}\n        className={cn(\n          \"block h-2 w-full overflow-hidden rounded-full border-0 bg-muted accent-primary [&::-webkit-progress-bar]:rounded-full [&::-webkit-progress-bar]:bg-muted [&::-webkit-progress-value]:rounded-full [&::-webkit-progress-value]:bg-primary [&::-moz-progress-bar]:rounded-full [&::-moz-progress-bar]:bg-primary\",\n          className\n        )}\n        {...props}\n      />\n    );\n  }\n);\nProgress.displayName = \"Progress\";\n"
    }
  ]
}