Chat input widget for deepagents-cli with autocomplete and history support.
App color scheme.
Maps each non-normal mode to its display glyph shown in the prompt/UI.
Maps each non-normal mode to its trigger character.
Reverse lookup: trigger character -> mode name.
Pattern for image placeholders with a named id capture group.
Used to extract numeric IDs from placeholder tokens so the tracker can prune stale entries and compute the next available ID.
Pattern for video placeholders with a named id capture group.
Used to extract numeric IDs from placeholder tokens so the tracker can prune stale entries and compute the next available ID.
Built-in slash commands: (name, description, hidden_keywords).
Hidden keywords are space-separated terms that participate in fuzzy matching but are never displayed to the user.
Character set mode for TUI display.
Result of handling a key event in the completion system.
Controller for @ file completion with fuzzy matching from project root.
Manages multiple completion controllers, delegating to the active one.
Controller for / slash command completion.
Manages command history with file persistence.
Uses append-only writes for concurrent safety. Multiple agents can safely write to the same history file without corruption.
Track pasted images and videos in the current conversation.
Unified parse result for dropped-path payload detection.
A clickable completion option in the autocomplete popup.
Popup widget that displays completion suggestions as clickable options.
TextArea subclass with custom key handling for chat input.
Chat input widget with prompt, multi-line text, autocomplete, and history.
Features:
config.newline_shortcut)