pyproject.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [project]
  2. name = "cyber-agent"
  3. version = "0.4.0"
  4. description = "模块化、可扩展的 Agent 框架"
  5. readme = "README.md"
  6. requires-python = ">=3.11"
  7. dependencies = [
  8. "httpx[socks]>=0.28.0",
  9. "openai>=2.16.0,<3",
  10. "python-dotenv>=1.0.0",
  11. "pydantic",
  12. "pillow>=10.0.0",
  13. "pyyaml>=6.0.0",
  14. "python-dateutil>=2.9.0",
  15. "filelock>=3.15.0",
  16. ]
  17. [project.optional-dependencies]
  18. dev = [
  19. "pytest>=8.0",
  20. "pytest-asyncio>=0.23",
  21. "pytest-cov>=5.0",
  22. ]
  23. browser = [
  24. "browser-use>=0.11.0",
  25. "langchain_core>=0.3.0",
  26. ]
  27. server = [
  28. "fastapi>=0.115.0",
  29. "uvicorn[standard]>=0.32.0",
  30. "websockets>=13.0",
  31. ]
  32. feishu = [
  33. "lark-oapi==1.5.3",
  34. ]
  35. all = [
  36. "browser-use>=0.11.0",
  37. "langchain_core>=0.3.0",
  38. "fastapi>=0.115.0",
  39. "uvicorn[standard]>=0.32.0",
  40. "websockets>=13.0",
  41. "lark-oapi==1.5.3",
  42. ]
  43. [build-system]
  44. requires = ["setuptools>=68.0"]
  45. build-backend = "setuptools.build_meta"
  46. [tool.setuptools.packages.find]
  47. include = ["agent*"]
  48. [tool.pytest.ini_options]
  49. asyncio_mode = "auto"
  50. testpaths = ["tests"]
  51. pythonpath = ["."]