Skip to content

Agent Task ​

Last updated

Demo ​

agent-task/demo.vue

Current task

Awaiting approval
task-20261006-001

Review the requested action before continuing.

Display a task, execution state, identifier and waiting reason. Use it for running, awaiting approval, completed, failed or idle tasks. No percentage is invented when progress is unknown, and busy does not imply completion.

Props ​

PropertyDescriptionTypeDefault
titleRegion titlestringRequired
statePresentation stateYlfAgentStateRequired
statusLabelLocalized, truthful task statusstringRequired
taskIdOptional wrapping monospace identifierstring—
descriptionCurrent status or waiting reasonstring—

Slots ​

NameDescription
defaultAdditional task information
actionsApplication-controlled details, interruption or approval actions

The application must explicitly handle approval and interruption. Cards have no default actions and closing a card never implies approval. Use unknown and backend status text for unfamiliar model states. See agent components.