Files
owlen/crates/owlen-core
vikingowl 99064b6c41 feat(tui): enable syntax highlighting by default and refactor highlighting logic
- Set `default_syntax_highlighting` to true in core config.
- Added language‑aware syntax selector (`select_syntax_for_language`) and highlighter builder (`build_highlighter_for_language`) with unit test.
- Integrated new highlight module into `ChatApp`, using `UnicodeSegmentation` for proper grapheme handling.
- Simplified `should_highlight_code` to always return true and removed extended‑color detection logic.
- Reworked code rendering to use `inline_code_spans_from_text` and `wrap_highlight_segments` for accurate line wrapping and styling.
- Cleaned up removed legacy keyword/comment parsing and extended‑color detection code.
2025-10-14 00:17:17 +02:00
..

Owlen Core

This crate provides the core abstractions and data structures for the Owlen ecosystem.

It defines the essential traits and types that enable communication with various LLM providers, manage sessions, and handle configuration.

Key Components

  • Provider trait: The fundamental abstraction for all LLM providers. Implement this trait to add support for a new provider.
  • Session: Represents a single conversation, managing message history and context.
  • Model: Defines the structure for LLM models, including their names and properties.
  • Configuration: Handles loading and parsing of the application's configuration.