Component libraryAgent task list
Agent task list
ProInspect consumer-owned queued, active, blocked, cancelled, completed and failed tasks within an agent run.
npx shadcn@latest add @tidal-pro/agent-task-listInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/agent-task-list.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Usage
Complete example source · Dependency and asset manifest
Loading the complete example…
API & behavior
Consumer-owned unique task IDs, exact queued/active/blocked/cancelled/completed/failed status, descriptions, assignees, known dependencies, blocked reasons and detail content. Controlled status filter and expansion callbacks receive native click events. Task toggles are described by localized status, and known dependencies display their task titles. Optional Cancel is shown only for queued/active tasks and Retry only for blocked/cancelled/failed tasks; consumers own all state and effects. getTaskActionProps resolves once per visible task per render, native handlers run first for enabled actions, prevention stops proposals, disabled and aria-disabled=true resolve to native disabled, and explicit false remains enabled. Arrow Up/Down/Home/End move among visible detail toggles with IME/modifier guards and list-only reveal. Removed, filtered or newly disabled focused controls recover only from the exact source/body to the same task toggle, nearest visible toggle or labelled root. Cleanup-aware root/toggle/action refs, h2-h5 headings, numeric ReactNode detail slots, 100-task validation, empty/error states, 44px actions, 16px coarse controls, 180/320/390 responsive layouts, RTL, forced colors and reduced motion are supported. The component never schedules, executes, cancels or retries a task by itself.
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.