Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Todo List

Preview

  1. In progress: Inspect the current data flow25%
  2. Pending: Update the response schema
  3. Pending: Add coverage for edge cases
  4. Pending: Run checks and prepare the result

Install

Add it with your package manager, or copy the source manually.

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/todo-list

Import the shared styles once in your application.

TSUsage
import TodoList from '@/components/beui/agents/TodoList.vue'
import '@/components/beui/styles.css'

API Reference

items
TodoItem[]
Default—
title?
string
Default—
v-model:open?
boolean
Defaultundefined
defaultOpen?
boolean
Defaulttrue
collapseOnComplete?
boolean
Defaulttrue
maxHeight?
number
Default248
labels?
Labels

Override any built-in string. `{completed}` and `{total}` fill `progress`.

Default—
class?
string
Default—
@open-change?
(value: boolean) => void
Default—

Composition

Render the plan as message content when it belongs to a conversational agent run.

Message
└── MessageContent
    └── TodoList

Note: Agent Activity shows the chronological events occurring between tasks. Agent Loading States covers work before a durable plan is available. Tool Result presents the evidence produced by an active task.

How it works

An agent plan should explain what remains without pretending every internal thought is a task. Use a todo list for durable work items whose state matters to the person following the run.

Also on React Native. A plan whose marks morph as tasks finish.(opens in a new tab)

Updated