-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (87 loc) · 2.61 KB
/
pyproject.toml
File metadata and controls
98 lines (87 loc) · 2.61 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[project]
name = "vectl"
version = "0.7.0"
description = "Execution control plane for AI agents — structure agents, save tokens."
readme = "README.md"
authors = [{name = "Tefx", email = "zhaomeng.zhu@gmail.com"}]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Build Tools",
"Typing :: Typed",
]
requires-python = ">=3.10"
dependencies = [
"pyyaml>=6.0",
"typer>=0.9.0",
# Used by MCP server surface (src/vectl/mcp_server.py), not vectl.driver.
"fastmcp>=2.0.0",
"rich>=13.0.0",
"pydantic>=2.0.0",
]
[project.urls]
Homepage = "https://github.com/Tefx/vectl"
Repository = "https://github.com/Tefx/vectl"
Issues = "https://github.com/Tefx/vectl/issues"
[project.scripts]
vectl = "vectl.cli:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"hypothesis>=6.151.5",
"pytest>=9.0",
"pytest-cov>=7.0",
"playwright>=1.40.0",
"pytest-playwright>=0.7.0",
"mypy>=1.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --tb=short"
markers = [
"playwright: marks tests that require Playwright browser (deselect with '-m \"not playwright\"')",
"network: marks tests that require network (for CDN resources)",
# Live smoke test markers (from DRIVER-LIVE-SMOKE-POLICY.md)
"live_runner: marks tests that are part of the live smoke test suite",
"codex_live: marks tests that use the codex runner in live smoke",
"opencode_live: marks tests that use the opencode runner in live smoke",
"judge_live: marks tests that exercise judge/score behavior in live smoke",
"dispatch_live: marks tests that exercise regular dispatch behavior in live smoke",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "UP", "B"]
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = [
"yaml",
"typer",
"typer.*",
"rich",
"rich.*",
"fastmcp",
"pytest",
"hypothesis",
"hypothesis.*",
"playwright",
"playwright.*",
]
ignore_missing_imports = true
[tool.invar.guard]
exclude_paths = [".vectl", "tests"]
[tool.hatch.build.targets.wheel.package-data]
"vectl.driver" = ["judge_agent_prompt.md"]