forked from MiniMax-AI/Mini-Agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (61 loc) · 1.59 KB
/
pyproject.toml
File metadata and controls
70 lines (61 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[project]
name = "mini-agent"
version = "0.1.0"
description = "Minimal single agent demo with basic file tools and MCP support"
readme = "README.md"
requires-python = ">=3.10"
authors = [
{name = "Mini Agent Team"}
]
license = {text = "MIT"}
dependencies = [
"pydantic>=2.0.0",
"pyyaml>=6.0.0",
"httpx>=0.27.0",
"mcp>=1.0.0",
"pytest>=8.4.2",
"requests>=2.31.0",
"tiktoken>=0.5.0",
"prompt-toolkit>=3.0.0",
"pip>=25.3",
"pipx>=1.8.0",
"anthropic>=0.39.0",
"openai>=1.57.4",
"agent-client-protocol>=0.6.0",
]
[project.scripts]
mini-agent = "mini_agent.cli:main"
mini-agent-acp = "mini_agent.acp.server:main"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["mini_agent*"]
exclude = ["tests*"]
# Include skills directory (git submodule) as package data
# After moving submodule to mini_agent/skills
[tool.setuptools.package-data]
mini_agent = ["skills/**/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
cache_dir = "workspace/.pytest_cache"
asyncio_mode = "auto"
[tool.pylint.messages_control]
# Disable warnings for Tool.execute method signature differences
# We intentionally use explicit parameters in subclasses for better type hints
disable = [
"arguments-differ", # Allow subclasses to have different parameter signatures
]
[dependency-groups]
dev = [
"pytest-asyncio>=1.2.0",
"pytest-cov>=7.0.0",
"pytest-xdist>=3.8.0",
]