[project]
name = "manta-client"
dynamic = ["version"]
description = "CLI client for Manta AI Agent platform"
requires-python = ">=3.10"
dependencies = [
    "typer>=0.9",
    "httpx[socks]>=0.28",
    "rtoml>=0.13.0",
    "rich>=13.0",
    "pyyaml>=6.0",
    "aiosqlite>=0.20.0",
]

[project.scripts]
manta-client = "manta_client.cli:app"

[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[tool.hatch.version]
source = "vcs"
tag-pattern = "manta-client-v(?P<version>\\d+.*)"
fallback-version = "0.0.0.dev0"
raw-options = { root = "../..", local_scheme = "no-local-version" }

[tool.hatch.build.hooks.vcs]
version-file = "manta_client/_version.py"

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

[tool.ruff]
line-length = 100
target-version = "py310"

[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
