- 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.
96 lines
4.5 KiB
Markdown
96 lines
4.5 KiB
Markdown
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
## [Unreleased]
|
|
|
|
### Added
|
|
- Comprehensive documentation suite including guides for architecture, configuration, testing, and more.
|
|
- Rustdoc examples for core components like `Provider` and `SessionController`.
|
|
- Module-level documentation for `owlen-tui`.
|
|
- Ollama integration can now talk to Ollama Cloud when an API key is configured.
|
|
- Ollama provider will also read `OLLAMA_API_KEY` / `OLLAMA_CLOUD_API_KEY` environment variables when no key is stored in the config.
|
|
- `owlen config doctor`, `owlen config path`, and `owlen upgrade` CLI commands to automate migrations and surface manual update steps.
|
|
- Startup provider health check with actionable hints when Ollama or remote MCP servers are unavailable.
|
|
- `dev/check-windows.sh` helper script for on-demand Windows cross-checks.
|
|
- Global F1 keybinding for the in-app help overlay and a clearer status hint on launch.
|
|
- Automatic fallback to the new `ansi_basic` theme when the active terminal only advertises 16-color support.
|
|
- Offline provider shim that keeps the TUI usable while primary providers are unreachable and communicates recovery steps inline.
|
|
|
|
### Changed
|
|
- The main `README.md` has been updated to be more concise and link to the new documentation.
|
|
- Default configuration now pre-populates both `providers.ollama` and `providers.ollama-cloud` entries so switching between local and cloud backends is a single setting change.
|
|
- `McpMode` support was restored with explicit validation; `remote_only`, `remote_preferred`, and `local_only` now behave predictably.
|
|
- Configuration loading performs structural validation and fails fast on missing default providers or invalid MCP definitions.
|
|
- Ollama provider error handling now distinguishes timeouts, missing models, and authentication failures.
|
|
- `owlen` warns when the active terminal likely lacks 256-color support.
|
|
- `config.toml` now carries a schema version (`1.1.0`) and is migrated automatically; deprecated keys such as `agent.max_tool_calls` trigger warnings instead of hard failures.
|
|
|
|
---
|
|
|
|
## [0.1.10] - 2025-10-03
|
|
|
|
### Added
|
|
- **Material Light Theme**: A new built-in theme, `material-light`, has been added.
|
|
|
|
### Fixed
|
|
- **UI Readability**: Fixed a bug causing unreadable text in light themes.
|
|
- **Visual Selection**: The visual selection mode now correctly colors unselected text portions.
|
|
|
|
### Changed
|
|
- **Theme Colors**: The color palettes for `gruvbox`, `rose-pine`, and `monokai` have been corrected.
|
|
- **In-App Help**: The `:help` menu has been significantly expanded and updated.
|
|
|
|
## [0.1.9] - 2025-10-03
|
|
|
|
*This version corresponds to the release tagged v0.1.10 in the source repository.*
|
|
|
|
### Added
|
|
- **Material Light Theme**: A new built-in theme, `material-light`, has been added.
|
|
|
|
### Fixed
|
|
- **UI Readability**: Fixed a bug causing unreadable text in light themes.
|
|
- **Visual Selection**: The visual selection mode now correctly colors unselected text portions.
|
|
|
|
### Changed
|
|
- **Theme Colors**: The color palettes for `gruvbox`, `rose-pine`, and `monokai` have been corrected.
|
|
- **In-App Help**: The `:help` menu has been significantly expanded and updated.
|
|
|
|
## [0.1.8] - 2025-10-02
|
|
|
|
### Added
|
|
- **Command Autocompletion**: Implemented intelligent command suggestions and Tab completion in command mode.
|
|
|
|
### Changed
|
|
- **Build & CI**: Fixed cross-compilation for ARM64, ARMv7, and Windows.
|
|
|
|
## [0.1.7] - 2025-10-02
|
|
|
|
### Added
|
|
- **Tabbed Help System**: The help menu is now organized into five tabs for easier navigation.
|
|
- **Command Aliases**: Added `:o` as a short alias for `:load` / `:open`.
|
|
|
|
### Changed
|
|
- **Session Management**: Improved AI-generated session descriptions.
|
|
|
|
## [0.1.6] - 2025-10-02
|
|
|
|
### Added
|
|
- **Platform-Specific Storage**: Sessions are now saved to platform-appropriate directories (e.g., `~/.local/share/owlen` on Linux).
|
|
- **AI-Generated Session Descriptions**: Conversations can be automatically summarized on save.
|
|
|
|
### Changed
|
|
- **Migration**: Users on older versions can manually move their sessions from `~/.config/owlen/sessions` to the new platform-specific directory.
|
|
|
|
## [0.1.4] - 2025-10-01
|
|
|
|
### Added
|
|
- **Multi-Platform Builds**: Pre-built binaries are now provided for Linux (x86_64, aarch64, armv7) and Windows (x86_64).
|
|
- **AUR Package**: Owlen is now available on the Arch User Repository.
|
|
|
|
### Changed
|
|
- **Build System**: Switched from OpenSSL to rustls for better cross-platform compatibility.
|