Final release of version 2.1. Headlights: ### Core Features - 🤖 Interactive chat with 300+ AI models via OpenRouter - 🔍 Model selection with search and filtering - 💾 Conversation save/load/export (Markdown, JSON, HTML) - 📎 File attachments (images, PDFs, code files) - 💰 Real-time cost tracking and credit monitoring - 🎨 Rich terminal UI with syntax highlighting - 📝 Persistent command history with search (Ctrl+R) - 🌐 Online mode (web search capabilities) - 🧠 Conversation memory toggle ### MCP Integration - 🔧 **File Mode**: AI can read, search, and list local files - Automatic .gitignore filtering - Virtual environment exclusion - Large file handling (auto-truncates >50KB) - ✍️ **Write Mode**: AI can modify files with permission - Create, edit, delete files - Move, copy, organize files - Always requires explicit opt-in - 🗄️ **Database Mode**: AI can query SQLite databases - Read-only access (safe) - Schema inspection - Full SQL query support Reviewed-on: #2 Co-authored-by: Rune Olsen <rune@rune.pm> Co-committed-by: Rune Olsen <rune@rune.pm>
27 lines
673 B
Python
27 lines
673 B
Python
"""
|
|
oAI - OpenRouter AI Chat Client
|
|
|
|
A feature-rich terminal-based chat application that provides an interactive CLI
|
|
interface to OpenRouter's unified AI API with advanced Model Context Protocol (MCP)
|
|
integration for filesystem and database access.
|
|
|
|
Author: Rune
|
|
License: MIT
|
|
"""
|
|
|
|
__version__ = "2.1.0"
|
|
__author__ = "Rune"
|
|
__license__ = "MIT"
|
|
|
|
# Lazy imports to avoid circular dependencies and improve startup time
|
|
# Full imports are available via submodules:
|
|
# from oai.config import Settings, Database
|
|
# from oai.providers import OpenRouterProvider, AIProvider
|
|
# from oai.mcp import MCPManager
|
|
|
|
__all__ = [
|
|
"__version__",
|
|
"__author__",
|
|
"__license__",
|
|
]
|