[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "autonoma"
version = "1.0.1"
description = "Autonoma — Open-source AI agent platform. Build, deploy, and run digital employees."
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
dependencies = [
    "anthropic>=0.40.0,<1.0.0",
    "websockets>=13.0,<16.0",
    "pyyaml>=6.0,<7.0",
    "python-dotenv>=1.0,<2.0",
    "rich>=13.0,<15.0",
    # Used to render the WhatsApp reconnect QR inline in the TUI. Pure-Python
    # with no C extensions, so it's cheap to keep in the core deps.
    "qrcode>=7.4,<9.0",
]

[project.optional-dependencies]
telegram = ["python-telegram-bot>=22.0,<23.0"]
all-channels = ["python-telegram-bot>=22.0,<23.0"]
# OpenTelemetry exporter for production tracing. Prometheus metrics and
# structured JSON logs work without this — only enable when shipping
# spans to an OTLP-compatible backend (Jaeger, Tempo, Honeycomb, etc.).
observability = [
    "opentelemetry-sdk>=1.27,<2.0",
    "opentelemetry-exporter-otlp-proto-http>=1.27,<2.0",
]

[project.scripts]
autonoma = "autonoma.main:cli_entry"

[tool.setuptools.packages.find]
include = ["autonoma*"]
