[project]
name = "tool-agent"
version = "0.1.0"
description = "智能工具管理系统 - 自动封装、接入、部署、编写工具的 Agent + 工具库"
requires-python = ">=3.11"
dependencies = [
    "fastapi>=0.115.0",
    "uvicorn[standard]>=0.30.0",
    "pydantic>=2.0.0",
    "pydantic-settings>=2.0.0",
    "docker>=7.0.0",
    "httpx>=0.27.0",
    "psutil>=6.0.0",
    "claude-agent-sdk",
    "python-dotenv>=1.0.0",
    "filelock>=3.25.2",
]

[project.optional-dependencies]
dev = [
    "pytest>=8.0.0",
    "pytest-asyncio>=0.24.0",
]

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

[tool.hatch.build.targets.wheel]
packages = ["src/tool_agent"]

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]

[tool.uv.workspace]
members = [
    "tools/local/image_stitcher",
    "tools/local/liblibai_controlnet",
    "tools/local/launch_comfy_env",
    "tools/local/run_comfy_workflow",
    "tools/local/task_0cd69d84",
    "tools/local/runcomfy_stop_env",
    "tools/local/ji_meng",
    "tools/local/nano_banana",
    "tools/local/flux",
    "tools/local/midjourney",
]
