- 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.
25 lines
592 B
TOML
25 lines
592 B
TOML
name = "ansi_basic"
|
|
text = "white"
|
|
background = "black"
|
|
focused_panel_border = "cyan"
|
|
unfocused_panel_border = "darkgray"
|
|
user_message_role = "cyan"
|
|
assistant_message_role = "yellow"
|
|
tool_output = "white"
|
|
thinking_panel_title = "magenta"
|
|
command_bar_background = "black"
|
|
status_background = "black"
|
|
mode_normal = "green"
|
|
mode_editing = "yellow"
|
|
mode_model_selection = "cyan"
|
|
mode_provider_selection = "magenta"
|
|
mode_help = "white"
|
|
mode_visual = "blue"
|
|
mode_command = "yellow"
|
|
selection_bg = "blue"
|
|
selection_fg = "white"
|
|
cursor = "white"
|
|
placeholder = "darkgray"
|
|
error = "red"
|
|
info = "green"
|