Class TodoListComponent

java.lang.Object
ai.mindconnect.adminui.ui.component.TodoListComponent
All Implemented Interfaces:
UiComponent

public final class TodoListComponent extends Object implements 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 Details

    • TodoListComponent

      public TodoListComponent(UUID sessionId, ai.mindconnect.agent.tools.todo.TodoList list)
  • Method Details

    • id

      public String id()
      Description copied from interface: UiComponent
      The 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 root UiNode returned by UiComponent.render().
      Specified by:
      id in interface UiComponent
    • render

      public ai.mindconnect.ui.model.UiList render()
      Description copied from interface: UiComponent
      Full render — emit the component as a UiNode. Used both inside a page's full render and as the payload of a REPLACE patch.
      Specified by:
      render in interface UiComponent