Agent state

TaskList

AI-generated plan with recursive subtasks. Each row shows status icon, title, assignee, and duration — running rows tint acid green so the eye lands on the active task first.

Sourcesrc/components/ai/task-list.tsx

All five statuses

pending, running, done, error, skipped — all in one list.

Task plan
5 tasks
  • Research competitors
    4.20s
  • Draft outline@writer-01
  • Generate diagrams
    Image model returned 500.
  • Run spellcheck
  • Publish

Nested subtasks

Collapsible subtask trees. Running children inherit the green tint.

Task plan
3 tasks
  • Research phase
    8.40s
    • Scrape competitor sites
      3.20s
    • Extract pricing tables
      5.20s
  • Synthesis@writer
    • Compare features
      1.80s
    • Draft intro
    • Add citations
  • Review