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>
This commit was merged in pull request #2.
This commit is contained in:
2026-02-03 09:02:44 +01:00
committed by rune
parent 1ef7918291
commit b0cf88704e
36 changed files with 11576 additions and 2485 deletions

View File

@@ -1,38 +1,26 @@
anyio==4.11.0
beautifulsoup4==4.14.2
charset-normalizer==3.4.4
click==8.3.1
docopt==0.6.2
h11==0.16.0
httpcore==1.0.9
httpx==0.28.1
idna==3.11
latex2mathml==3.78.1
loguru==0.7.3
markdown-it-py==4.0.0
markdown2==2.5.4
mdurl==0.1.2
natsort==8.4.0
openrouter==0.0.19
packaging==25.0
pipreqs==0.4.13
prompt-toolkit==3.0.52
Pygments==2.19.2
pyperclip==1.11.0
python-dateutil==2.9.0.post0
python-magic==0.4.27
PyYAML==6.0.3
requests==2.32.5
rich==14.2.0
shellingham==1.5.4
six==1.17.0
sniffio==1.3.1
soupsieve==2.8
svgwrite==1.4.3
tqdm==4.67.1
typer==0.20.0
typing-extensions==4.15.0
urllib3==2.5.0
wavedrom==2.0.3.post3
wcwidth==0.2.14
yarg==0.1.10
# oai.py v2.1.0-beta - Core Dependencies
anyio>=4.11.0
charset-normalizer>=3.4.4
click>=8.3.1
h11>=0.16.0
httpcore>=1.0.9
httpx>=0.28.1
idna>=3.11
markdown-it-py>=4.0.0
mdurl>=0.1.2
openrouter>=0.0.19
packaging>=25.0
prompt-toolkit>=3.0.52
Pygments>=2.19.2
pyperclip>=1.11.0
requests>=2.32.5
rich>=14.2.0
shellingham>=1.5.4
sniffio>=1.3.1
typer>=0.20.0
typing-extensions>=4.15.0
urllib3>=2.5.0
wcwidth>=0.2.14
# MCP (Model Context Protocol)
mcp>=1.25.0