Skip to content

TodoList

TodoList(__namedParameters): ReactElement

Defined in: react/components/agent/todo-list.tsx:56

An agent task checklist: one row per task with a status glyph ( pending, in-progress, done, cancelled), the in-progress task emphasised and finished ones struck through. Pass title for a heading with a live progress count. A compact, read-only mirror of the agent’s plan — re-render it with new items as work advances.

<TodoList title="Plan" items={[
{ text: "Read the spec", status: "completed" },
{ text: "Implement", status: "in_progress" },
{ text: "Write tests" },
]} />

TodoListProps

ReactElement