Files
owlen/crates/owlen-tui
vikingowl 56de1170ee feat(cli): add ansi_basic theme fallback and offline provider shim for limited‑color terminals
- Detect terminal color support and automatically switch to the new `ansi_basic` theme when only 16‑color support is available.
- Introduce `OfflineProvider` that supplies a placeholder model and friendly messages when no providers are reachable, keeping the TUI usable.
- Add `CONFIG_SCHEMA_VERSION` (`1.1.0`) with schema migration logic and default handling in `Config`.
- Update configuration saving to persist the schema version and ensure defaults.
- Register the `ansi_basic` theme in `theme.rs`.
- Extend `ChatApp` with `set_status_message` to display custom status lines.
- Update documentation (architecture, Vim mode state machine) to reflect new behavior.
- Add async‑trait and futures dependencies required for the offline provider implementation.
2025-10-12 02:19:43 +02:00
..

Owlen TUI

This crate contains all the logic for the terminal user interface (TUI) of Owlen.

It is built using the excellent ratatui library and is responsible for rendering the chat interface, handling user input, and managing the application state.

Features

  • Chat View: A scrollable view of the conversation history.
  • Input Box: A text input area for composing messages.
  • Model Selection: An interface for switching between different models.
  • Event Handling: A system for managing keyboard events and asynchronous operations.