# Auto-Build Framework Dependencies
# SDK 0.1.25+ required for improved tool use concurrency handling
# Earlier versions had 400 errors when tool_use blocks had partial failures
# Utiliser le nom correct du package (tiret) pour l'installation via pip
claude-agent-sdk>=0.1.25
python-dotenv>=1.0.0

# WebSocket support for streaming development mode
websockets>=12.0

# TOML parsing fallback for Python < 3.11
tomli>=2.0.0; python_version < "3.11"

# Linux Secret Service support for credential storage
# Provides access to the Freedesktop.org Secret Service API via DBus
# Used on Linux to store OAuth tokens in gnome-keyring/kwallet
secretstorage>=3.3.3; sys_platform == "linux"

# Memory Integration - LadybugDB (embedded graph database)
#real_ladybug>=0.14.1; python_version >= "3.13"
graphiti-core>=0.5.0; python_version >= "3.12"
# pandas is required by real_ladybug for get_as_df() method
# pandas 2.2.0+ required for pre-built wheels on Python 3.12
pandas>=2.2.0; python_version >= "3.12"

# Windows-specific dependency for LadybugDB/Graphiti
# pywin32 provides Windows system bindings required by real_ladybug
# Required on all Python versions on Windows (ACS-306) - MCP library unconditionally imports win32api
pywin32>=306; sys_platform == "win32"

# Google AI (optional - for Gemini LLM and embeddings)
google-generativeai>=0.8.0

# Pydantic for structured output schemas
pydantic>=2.0.0

# Rich for beautiful CLI formatting (intent recognition)
rich>=13.0.0

# Error tracking (optional - requires SENTRY_DSN environment variable)
sentry-sdk>=2.0.0

# Security-First Features
# Basic secret scanning is built-in, these enhance capabilities
# Bandit for Python SAST (strongly recommended, will warn if missing)
bandit>=1.7.0
# Semgrep for advanced SAST (optional but recommended)
# Install separately: pip install semgrep
# pip-audit for dependency vulnerability scanning (optional but recommended)
# Install separately: pip install pip-audit

fastapi>=0.100.0
uvicorn[standard]>=0.23.0
slowapi>=0.1.9
requests>=2.33.0
httpx[http2]>=0.27.0
h2>=4.1.0  # HTTP/2 support for Windsurf gRPC proxy
sqlalchemy>=2.0.0
psutil>=5.9.0
azure-devops>=7.1.0b3  # Azure DevOps SDK for src/connectors/azure_devops
msrest>=0.7.1           # Required by azure-devops SDK

# Anthropic SDK for Claude API integration
anthropic>=0.34.0

# Ajout d'une note pour l'installation automatique de uvicorn si absent
# Pour garantir l'automatisation, il est recommandé d'ajouter uvicorn dans requirements.txt racine ou de documenter l'installation automatique.