Class TodoListComponent
java.lang.Object
ai.mindconnect.adminui.ui.component.TodoListComponent
- All Implemented Interfaces:
UiComponent
The agent's checklist for the current session — same items the LLM
sees in its prompt context via
{{ todo_list_md }}. Each item
renders with its status glyph (pending / in-progress / completed)
and a textual status description.
List is read-only from the UI side; the agent is what mutates it. The "Clear" header action lives on the containing page rather than inside this component because it's an out-of-band operator override.
-
Constructor Summary
ConstructorsConstructorDescriptionTodoListComponent(UUID sessionId, ai.mindconnect.agent.tools.todo.TodoList list) -
Method Summary
-
Constructor Details
-
TodoListComponent
-
-
Method Details
-
id
Description copied from interface:UiComponentThe DOM id this component renders with. Patch operations targeting this component (REPLACE / CLEAR / REMOVE) use this id, so it must match the id on the rootUiNodereturned byUiComponent.render().- Specified by:
idin interfaceUiComponent
-
render
public ai.mindconnect.ui.model.UiList render()Description copied from interface:UiComponentFull render — emit the component as aUiNode. Used both inside a page's full render and as the payload of a REPLACE patch.- Specified by:
renderin interfaceUiComponent
-