[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "aros-centurion"
version = "0.1.0"
description = "AI Agent Orchestration Engine — spawn and command an army of AI agents with Roman military precision"
readme = "README.md"
license = "MIT"
requires-python = ">=3.12"
authors = [
    { name = "Eddie Tong", email = "xinhant@gmail.com" },
]
keywords = ["ai", "agent", "orchestration", "llm", "claude"]
classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
    "fastapi>=0.115.0",
    "uvicorn[standard]>=0.34.0",
    "anthropic>=0.40.0",
    "pydantic>=2.10.0",
    "aiosqlite>=0.20.0",
    "httpx>=0.28.0",
    "mcp[cli]>=1.0.0",
    "psutil>=6.0.0",
]

[project.optional-dependencies]
dev = [
    "pytest>=8.0",
    "pytest-asyncio>=0.24",
    "pytest-cov>=5.0",
    "httpx>=0.28.0",
    "build>=1.0",
    "twine>=6.0",
]

[project.scripts]
centurion = "centurion.__main__:main"

[project.urls]
Homepage = "https://github.com/spacelobster88/centurion"
Repository = "https://github.com/spacelobster88/centurion"
Issues = "https://github.com/spacelobster88/centurion/issues"

[tool.hatch.build.targets.wheel]
packages = ["centurion"]

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
    "e2e: end-to-end tests that run against a real FastAPI app",
]

[tool.ruff]
target-version = "py312"
line-length = 120

[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "A", "SIM", "TCH"]
ignore = ["E501"]  # line length handled by formatter

[tool.ruff.format]
quote-style = "double"
indent-style = "space"

[tool.ruff.lint.isort]
known-first-party = ["centurion"]

[tool.mypy]
python_version = "3.12"
strict_optional = true
ignore_missing_imports = true
warn_return_any = true
warn_unused_configs = true
