Agent task list
Ordered agent task plan with status, summaries, and controlled detail disclosures.
Loading interactive example
Use AgentTaskList for a consumer-owned execution plan. Keep each closed task on one scan line when content fits, with visible status text. Wrap long content in narrow containers. Preserve blocked and failed tasks until the plan changes. Task details remain visible throughout the close animation. Reduced motion closes the panel immediately.
API
| Member | Type | Kind | Required | Default |
|---|---|---|---|---|
announcement | string | prop | No | undefined |
emptyMessage | string | prop | No | undefined |
expandedIds | string[] | binding | No | [] |
headingLevel | 1 | 2 | 3 | 4 | 5 | 6 | prop | No | 2 |
label | string | prop | Yes | |
onExpandedIdsChange | (ids: string[]) => void | callback | No | undefined |
tasks | readonly AgentTask[] | prop | Yes |
Examples
Source
Loading source