# Core dependencies
# sounddevice >= 0.5.0 bundles a PortAudio build that exposes WASAPI
# "[Loopback]" input devices, which Meeting Mode uses for system audio.
sounddevice>=0.5.0
numpy>=1.24.0
# Global hotkeys: the `keyboard` library (per-key suppression) on Windows;
# `pynput` on macOS/Linux (also drives synthetic Cmd+V / Ctrl+V auto-paste).
keyboard>=0.13.5 ; sys_platform == "win32"
pynput>=1.7.6 ; sys_platform != "win32"
# Windows: action links open through Explorer's desktop (pythoncom and the
# shell's COM interfaces); without it they open from OpenWhisper itself.
pywin32>=311 ; sys_platform == "win32"
openai>=1.66.0
certifi>=2024.2.2
faster-whisper>=1.0.0
# Local Whisper: faster-whisper 1.2.1 still passes metadata_errors= to
# av.open(), which PyAV 19 removed. faster-whisper only declares av>=11,
# so an unconstrained pip install pulls 19.x and every transcription
# fails with "open() got an unexpected keyword argument 'metadata_errors'".
# Keep source installs on PyAV 18, matching the packaged release
# (av==18.1.0). Drop this once a faster-whisper release includes
# SYSTRAN/faster-whisper#1495.
av>=11,<19
# GPU users (NVIDIA): after installing these, also run
#   pip install -r requirements-gpu.txt
# to get the CUDA runtime libraries (cuBLAS) without the CUDA Toolkit.
# CPU-only works out of the box; do not install requirements-gpu.txt.
python-dotenv>=1.0.0
# API keys entered in Settings go to the OS credential store (Windows
# Credential Manager / macOS Keychain / Secret Service) via keyring.
keyring>=25.0
# keyring keeps its Linux Secret Service backend optional. Install it
# explicitly so source installs and the frozen Linux package can actually use
# GNOME Keyring/KWallet instead of silently falling back to environment keys.
SecretStorage>=3.3.3 ; sys_platform == "linux"
PyQt6>=6.0.0
sqlalchemy>=2.0.0

# Meeting Mode: knowledge-folder document extractors (PDF / Office)
pypdf>=5.0.0
python-docx>=1.1.0
python-pptx>=1.0.0
openpyxl>=3.1.0
# Meeting Mode: dashboard web server (FastAPI + WebSocket over uvicorn)
fastapi>=0.110.0
uvicorn[standard]>=0.29.0
# Agent access to saved history via the official MCP SDK.
mcp>=2.2,<3
httpx>=0.28.1
# Remote engine: the host serves its speech engine to paired computers over
# a TLS WebSocket (websockets' threaded server and client). cryptography
# creates the host's self-signed certificate, which clients pin at pairing.
websockets>=13.0
cryptography>=42.0
# Meeting Mode: system-audio loopback capture backend
# Windows fallback for WASAPI; production path on Linux (Pulse/PipeWire-Pulse).
soundcard>=0.4.3 ; sys_platform == "win32" or sys_platform == "linux"
# Beta dictation echo cancellation: WebRTC AEC3 bindings for cancelling
# system audio (speakers) bleeding into the microphone.
pywebrtc-audio>=0.2.0
# Meeting Mode: macOS system-audio capture. macOS has no loopback input
# device, so the "Others" channel comes from a ScreenCaptureKit stream
# (CoreMedia decodes its buffers, Quartz preflights the permission).
pyobjc-framework-ScreenCaptureKit>=10.0 ; sys_platform == "darwin"
pyobjc-framework-CoreMedia>=10.0 ; sys_platform == "darwin"
pyobjc-framework-Quartz>=10.0 ; sys_platform == "darwin"
