{
  "component": {
    "id": "agent-task-list",
    "name": "Agent task list",
    "tier": "pro",
    "exampleId": "agent-task-list",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/agent-task-list-demo.tsx",
    "exportName": "AgentTaskListDemo",
    "sha256": "38d09f18f8c6fc947a81f73bd4c1a286576e9a9bf4c3c1d7522c701e9887fc07",
    "helperImports": [],
    "directComponentImports": [
      "agent-task-list"
    ],
    "sampleBoundary": "Existing local demo fixture with fictional data and callbacks. No live service, customer data, access key, or Pro source is included."
  },
  "install": {
    "command": "npx shadcn@latest add @tidal-pro/agent-task-list",
    "registryUrl": "https://tidalui.com/r/pro/agent-task-list.json",
    "namespace": "@tidal-pro",
    "access": "pro",
    "sourceDelivery": "server-gated",
    "requiresAuthorization": true,
    "tokenSource": "local-env",
    "tokenEnvName": "TIDALUI_TOKEN",
    "cli": {
      "package": "shadcn",
      "requested": "latest"
    }
  },
  "installPlan": [
    {
      "order": 1,
      "kind": "primary",
      "dependency": "@tidal-pro/agent-task-list",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/agent-task-list",
      "registryUrl": "https://tidalui.com/r/pro/agent-task-list.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/agent-task-list.tsx",
    "exports": [
      "TidalAgentTask",
      "TidalAgentTaskList",
      "TidalAgentTaskStatus"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/agent-task-list.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [],
    "registry": [],
    "additionalRegistry": [],
    "installClosure": [
      "agent-task-list"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/agent-task-list.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/agent-task-list.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [
      "src/agent-task-list-demo.css"
    ],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { useState } from \"react\";\n\nimport { TidalAgentTaskList, type TidalAgentTask, type TidalAgentTaskStatus } from \"./components/ui/agent-task-list\";\n\nimport \"./components/ui/agent-task-list.css\";\n\n\n\nconst tidalExampleStyles = \".agent-task-demo {\\n  display: grid;\\n  width: 100%;\\n  max-width: 920px;\\n  min-width: 0;\\n  gap: 10px;\\n  margin-inline: auto;\\n}\\n.agent-task-demo > footer {\\n  margin: 0;\\n  padding: 0;\\n  border: 0;\\n  color: var(--t-muted);\\n  font-size: 11px;\\n  line-height: 1.45;\\n  text-align: center;\\n}\";\n\nconst initialTasks: readonly TidalAgentTask[] = [\n  {\n    id: \"brief\",\n    title: \"Read the sample project brief\",\n    status: \"completed\",\n    assignee: \"Ava\",\n    detail: \"The goals and constraints are ready for the run.\",\n  },\n  {\n    id: \"interface\",\n    title: \"Draft the settings interface\",\n    status: \"active\",\n    assignee: \"Noah\",\n    dependsOn: [\"brief\"],\n    description: \"Preparing the responsive form and review state.\",\n  },\n  {\n    id: \"copy\",\n    title: \"Review empty-state copy\",\n    status: \"blocked\",\n    assignee: \"Mila\",\n    dependsOn: [\"interface\"],\n    blockedReason: \"Waiting for the interface draft.\",\n  },\n  {\n    id: \"qa\",\n    title: \"Check the phone layout\",\n    status: \"queued\",\n    dependsOn: [\"interface\"],\n  },\n];\n\nexport function AgentTaskListDemo() {\n  const [tasks, setTasks] = useState(initialTasks),\n    [filter, setFilter] = useState<\"all\" | TidalAgentTaskStatus>(\"all\"),\n    [expanded, setExpanded] = useState<readonly string[]>([\"interface\"]),\n    [status, setStatus] = useState(\n      \"Sample tasks. Changes stay in this preview.\",\n    );\n  return (\n    <div className=\"agent-task-demo\">\n      <TidalAgentTaskList\n        title=\"Run tasks\"\n        description=\"Inspect the work queued for this sample run.\"\n        tasks={tasks}\n        filter={filter}\n        onFilterChange={setFilter}\n        expandedIds={expanded}\n        onExpandedChange={setExpanded}\n        onCancel={(task) => {\n          setTasks((current) =>\n            current.map((item) =>\n              item.id === task.id ? { ...item, status: \"cancelled\" } : item,\n            ),\n          );\n          setStatus(`${task.title} was cancelled locally.`);\n        }}\n        onRetry={(task) => {\n          setTasks((current) =>\n            current.map((item) =>\n              item.id === task.id ? { ...item, status: \"queued\" } : item,\n            ),\n          );\n          setStatus(`${task.title} returned to the local queue.`);\n        }}\n      />\n      <footer>{status}</footer>\n    </div>\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <style>{tidalExampleStyles}</style>\n      <AgentTaskListDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/agent-task-list.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "tasks",
      "type": "inferred-from-existing-demo",
      "initial": "initialTasks",
      "setter": "setTasks",
      "proposalCanBeRejected": false
    }
  ],
  "events": [
    {
      "name": "onCancel",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onExpandedChange",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onFilterChange",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onRetry",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    }
  ],
  "nativeForm": {
    "participates": false,
    "names": [],
    "expectedFormData": {},
    "submitBehavior": "No form submit is present in the existing demo.",
    "resetBehavior": "No reset control is present in the existing demo.",
    "disabledBehavior": "Disabled controls remain excluded from successful native form submission.",
    "readOnlyBehavior": "Read-only controls retain their value and remain inspectable by the consumer."
  },
  "accessibility": {
    "labelSource": "Consumer-provided label remains required where the component API requires one.",
    "semantics": "Preserve the component's native element and the semantics demonstrated by the source fixture.",
    "keyboard": [
      "Tab and Shift+Tab",
      "Enter or Space for native activation",
      "Arrow keys where the component exposes a composite control"
    ],
    "focusReturn": "Preserve browser focus order and visible focus.",
    "errorAnnouncement": "The existing error or alert path remains consumer-owned and should be announced by the rendered semantics.",
    "reducedMotion": "Verify prefers-reduced-motion with the existing component transition path.",
    "forcedColors": "Verify visible borders, text, and focus in forced-colors mode."
  },
  "responsive": {
    "widths": [
      320,
      390,
      768,
      1260
    ],
    "shortViewport": "Check the example at a 300px viewport height with keyboard or portal content visible.",
    "overflow": "The page should not gain horizontal overflow; component-local scrolling must remain intentional.",
    "touchTargetMinPx": 44,
    "coarseInputFontPx": 16
  },
  "errors": [
    {
      "fixture": "Exercise the existing demo's error, empty, loading, or invalid fixture.",
      "visibleResult": "The consumer-visible result must remain explicit and must not be replaced by a silent console error.",
      "focusResult": "Focus must remain on the triggering control or move to the announced error according to the native pattern.",
      "ownership": "Consumer-owned sample state only; no network request or customer data is used."
    }
  ],
  "verification": {
    "commands": [
      "npx tsc --noEmit",
      "npx vite build"
    ],
    "lockfile": "Use the consumer project's committed lockfile.",
    "browser": [
      "Chromium 1260x800",
      "Chromium 390x844",
      "Keyboard and reduced-motion pass"
    ]
  },
  "validation": {
    "consumerFixture": {
      "tsc": "pass",
      "viteBuild": "pass",
      "resourceModel": "Generated usage plus only the component files and CSS delivered by the primary item and listed registry dependencies."
    },
    "registryArtifact": "server-gated"
  },
  "exceptions": []
}
