INNER CODE UNIT · Python
clear_activity
ApodexAI/FrontierAgent · apodex/tui/app.py:666
def clear_activity(self, *, reset_checkpoint: bool = True) -> None:
self.activity.clear_records()
if reset_checkpoint:
self.sink.clear_saved_activity()
self._tools = 0
def show_todos(self, items: list, *, force: bool = False) -> None:
self.todos_pane.show_todos(items, force=force)
# The board is a Static inside the scroll box, so its content changes
# through ``update()`` — there is no mount to hook, and the box has to be
# told to re-follow the newest task itself.
self.todos_box.follow_tail()
def clear_todos(self) -> None:
self.todos_pane.clear()
self.todos_box.follow_tail()
def apply_task_board_operation(self, name: str, args: dict) -> None: