Textual widgets for deepagents-cli.
Import directly from submodules, e.g.:
from deepagents_cli.widgets.chat_input import ChatInput
from deepagents_cli.widgets.messages import AssistantMessageTool renderers for approval widgets - registry pattern.
Loading widget with animated spinner for agent activity.
Tool-specific approval widgets for HITL display.
Chat input widget for deepagents-cli with autocomplete and history support.
Status bar widget for deepagents-cli.
Autocomplete system for @ mentions and / commands.
This is a custom implementation that handles trigger-based completion for slash commands (/) and file mentions (@).
Message store for virtualized chat history.
This module provides data structures and management for message virtualization, allowing the CLI to handle large message histories efficiently by keeping only a sliding window of widgets in the DOM while storing all message data as lightweight dataclasses.
The approach is inspired by Textual's Log widget, which only keeps N lines
in the DOM and recreates older ones on demand.
Command history manager for input persistence.
Message widgets for deepagents-cli.
Enhanced diff widget for displaying unified diffs.
Interactive model selector screen for /model command.
Approval widget for HITL - using standard Textual patterns.
Welcome banner widget for deepagents-cli.
Interactive thread selector screen for /threads command.