AgentEvalTool/pyproject.toml
sinohqb 739d586aec feat(backend): v0.4 triggered_by tracking, login gate, compare guard, dashboard stats
- EvalRun.triggered_by 全链路(manual/ai_assistant/cli)+ 迁移 b7d4e6f81c22
- 标准 agenteval-run SKILL.md 纳入版本管理,deploy 脚本同步 + API Key 注入
- 简单登录:AGENTEVAL_ADMIN_PASSWORD + HMAC 会话 token,require_auth 双凭据
- 对比报告限同场景(400)+ 空 results 误判修复
- /api/stats/dashboard 扩展聚合;/api/runs 返回场景/对象名
- 测试 218 → 232
2026-07-28 17:40:54 +08:00

74 lines
1.6 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "agenteval"
version = "0.4.0-dev"
description = "智能体质量评估工具集平台"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [
{ name = "AgentEval Team" }
]
keywords = ["agent", "evaluation", "llm", "openclaw"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"typer>=0.12.0",
"pydantic>=2.0.0",
"sqlmodel>=0.0.19",
"fastapi>=0.111.0",
"uvicorn[standard]>=0.30.0",
"jinja2>=3.1.4",
"pyyaml>=6.0.1",
"requests>=2.32.0",
"python-multipart>=0.0.9",
"rich>=13.0.0",
"httpx>=0.27.0",
"websockets>=12.0",
"pydantic-settings>=2.3.0",
"python-dotenv>=1.0.0",
"alembic>=1.13.0",
"cryptography>=42.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.2.0",
"pytest-asyncio>=0.23.7",
"httpx>=0.27.0",
"ruff>=0.5.0",
]
[project.scripts]
agenteval = "cli.main:app"
[tool.hatch.build.targets.wheel]
packages = ["backend/agenteval", "backend/cli"]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["E501"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
pythonpath = ["backend", "."]
asyncio_mode = "auto"