TodoWriteResult#
Build extensions, choose hooks, and manage request-scoped state. See the guide.
- class zett_agent.extensions.todo.TodoWriteResult(*, todos, in_progress_index, in_progress, completed)[source]#
Validated list state returned to the model after each update.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Fields#
todos(required)Complete ordered list after this update.
in_progress_index(required)Zero-based index of the single in_progress task, or null when every task is completed
in_progress(required)The single in_progress task, or null when every task is completed
completed(required)Whether every task in the list is completed