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 AssistantMessageAsk user widget for interactive questions during agent execution.
Message widgets for deepagents-cli.
Interactive theme selector screen for /theme command.
Tool renderers for approval widgets - registry pattern.
Welcome banner widget for deepagents-cli.
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.
Loading widget with animated spinner for agent activity.
Read-only MCP server and tool viewer modal.
Chat input widget for deepagents-cli with autocomplete and history support.
Interactive model selector screen for /model command.
Status bar widget for deepagents-cli.
Command history manager for input persistence.
Tool-specific approval widgets for HITL display.
Interactive thread selector screen for /threads command.
Enhanced diff widget for displaying unified diffs.
Autocomplete system for @ mentions and / commands.
This is a custom implementation that handles trigger-based completion for slash commands (/) and file mentions (@).
Approval widget for HITL - using standard Textual patterns.