Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (59 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (59 loc) · 1.46 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
[build-system]
requires = ["setuptools>=65", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "steward"
version = "0.12.5"
description = "Python CLI steward for LLM tool runs"
authors = [{ name = "rcarmo" }]
requires-python = ">=3.10"
license = { text = "MIT" }
readme = "README.md"
dependencies = [
"aiohttp>=3.9.0",
"agent-client-protocol>=0.7.1",
"openai>=1.55.0",
"python-dotenv>=1.0.0",
"requests>=2.32.3",
"rich>=13.9.4",
"tiktoken>=0.5.0",
"unidiff>=0.7.5",
"quickjs>=1.19.4",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"ruff>=0.4.0",
]
[project.scripts]
steward = "steward.cli:main"
steward-repl = "steward.repl:main"
steward-mcp = "steward.mcp:main"
steward-acp = "steward.acp:main"
[tool.setuptools.packages.find]
include = ["steward", "steward.*"]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "--cov=steward --cov-report=term-missing --cov-fail-under=80"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.coverage.run]
source = ["steward"]
omit = [
"steward/__pycache__/*",
"steward/mcp_client.py", # Complex subprocess management, tested via integration
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"raise NotImplementedError",
]