# --- Shared Base (GPU-agnostic) ---

# AI Stack (tokenizers/huggingface-hub: faster-whisper deps, not transformers)
tokenizers
huggingface-hub

# API & Web Infrastructure
fastapi
uvicorn
starlette
httpx       # HTTP client (backend + controlpanel)
pydantic
pydantic_core
anyio
h11
httptools
watchfiles
websockets
wsproto

# Data, UI & System Tools
numpy
scipy
pandas
psutil
tqdm
rich
python-dotenv
PyYAML

# Document ingest (RAG): pure-Python text extraction, no native deps
pypdf
python-docx
# Vector search: loadable SQLite extension (prebuilt wheels). Brute-force cosine
# stays as the fallback when the host Python can't load extensions.
sqlite-vec
# Local speech-to-text: CTranslate2-based, no torch, keeps dictation on-device.
faster-whisper
# Email client: IMAP read (SMTP send is stdlib). Pure-Python, no native deps.
imap-tools
# Chat web search (synapse/search.py). Imported lazily behind a bare except,
# so a missing install shows up as search silently returning nothing.
duckduckgo-search

# Documentation Support
markdown-it-py
MarkupSafe
mdurl
Pygments
Jinja2

# Testing (bin/check.sh is the release gate; it shells out to pytest)
pytest
