# Runtime dependencies (mirrors pyproject.toml [project.dependencies]).
# Install: pip install -r requirements.txt
#
python-dotenv>=1.0
pyyaml>=6.0
ruamel.yaml>=0.18
click>=8.0
mcp>=1.0.0
pydantic>=2.1.0
lark>=1.1.0
libcst>=1.1.0
# Exact pin: release-build determinism guard (bug 8e0df003). Adapter upgrades are
# deliberate migrations that bump this pin together with config templates. The >=
# floors in pyproject.toml/client remain the library-consumer contract. 8.10.61
# is the selected compatible local-wheel target for the documentation client.
mcp-proxy-adapter==8.10.61
code-analysis-client>=1.0.9
queuemgr>=1.0.20
dulwich>=1.2.4
markdown-it-py>=3.0

# Code quality (required in Docker image; used before every write)
black>=24.0
flake8>=7.0
ruff>=0.6.0
mypy>=1.8

# Test tooling required for full local verification (`pytest -q` / `pipeline`)
pytest>=8.0
pytest-asyncio>=0.25.0
pytest-timeout>=2.4

# --- Системные утилиты (НЕ pip): логический бэкап/restore при driver.type=postgres ---
# MCP-команды backup_database / restore_database вызывают pg_dump / pg_restore.
# Установка клиента PostgreSQL (пример Debian/Ubuntu):
#   sudo apt install postgresql-client
# Либо задайте в config.json пути: code_analysis.database.driver.config.pg_dump_path,
#   pg_restore_path (и при необходимости psql_path).
# Pip-экстра проекта: pip install -e ".[postgres-backup]" (см. pyproject.toml) — маркер;
# сами бинарники ставятся только через ОС / образ контейнера.

# ai-editor-tree-engine: the editor's tree internals, published to PyPI as of
# release 1.0.163/1.0.150. Pinned exactly so the requirement here always
# matches pyproject.toml's `ai-editor-tree-engine==<VERSION>` pin.
ai-editor-tree-engine[tree-engine]==1.0.150

# Local package (ai_editor, aiedmgr CLI)
-e .
