INNER CODE UNIT · Python

apply_task_board_operation

ApodexAI/FrontierAgent · apodex/tui/app.py:683

    def apply_task_board_operation(self, name: str, args: dict) -> None:
        self.todos_pane.apply_task_board_operation(name, args)
        self.todos_box.follow_tail()

    async def on_render(self, message: Render) -> None:
        """Apply one queued UI mutation, in order (see messages.Render)."""
        try:
            result = message.fn(self)
            if inspect.isawaitable(result):
                await result
        except Exception:
            logger.exception("TUI render mutation failed")

    def _refresh_sidebar_titles(self) -> None:
        """Keep tab labels' off-screen counts current.

        Driven from the status tick rather than wired into every mutation, so no
        code path can forget it. Cached because ``Static.update`` refreshes

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…