-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (102 loc) · 3.28 KB
/
Copy pathpyproject.toml
File metadata and controls
118 lines (102 loc) · 3.28 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[project]
name = "agentpack-cli"
version = "0.4.0"
description = "Local context engine for AI coding agents that ranks relevant repo files and builds compact task-focused context packs for Claude Code, Codex, Cursor, Windsurf, MCP, and CI workflows."
readme = "README.md"
requires-python = ">=3.10"
license = {text = "AGPL-3.0-only"}
keywords = ["ai-coding-agents", "coding-agent", "ai-agent", "claude-code", "developer-tools", "repo-analysis", "repo-context", "context-engine", "mcp-context-engine", "context-router", "context-packing", "prompt-context", "task-focused-context", "reduce-token-usage", "local-first", "repo-map", "mcp", "ci", "codex", "cursor", "windsurf", "antigravity", "ai", "llm", "context", "packing"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Build Tools",
]
dependencies = [
"typer>=0.12.0",
"rich>=13.0.0",
"pathspec>=0.12.1",
"pydantic>=2.0.0",
"tomli-w>=1.0.0",
"tiktoken>=0.7.0",
"watchdog>=4.0.0",
"tree-sitter>=0.23.2",
"tree-sitter-language-pack>=0.7.4",
"tomli>=2.0.0; python_version < '3.11'"
]
[project.urls]
Homepage = "https://github.com/vishal2612200/agentpack"
Documentation = "https://vishal2612200.github.io/agentpack/"
Repository = "https://github.com/vishal2612200/agentpack"
Issues = "https://github.com/vishal2612200/agentpack/issues"
Changelog = "https://github.com/vishal2612200/agentpack/blob/main/CHANGELOG.md"
[project.scripts]
agentpack = "agentpack.cli:app"
[project.optional-dependencies]
watch = [
"watchdog>=4.0.0"
]
mcp = [
"mcp>=1.0.0"
]
tree-sitter = []
all = [
"watchdog>=4.0.0",
"mcp>=1.0.0",
"tree-sitter>=0.23.2",
"tree-sitter-language-pack>=0.7.4"
]
dev = [
"pytest",
"pytest-asyncio",
"pytest-cov",
"jsonschema>=4.20.0",
"Pillow>=10.0.0",
"ruff",
"mypy",
"tomli>=2.0.0; python_version < '3.11'"
]
[tool.pytest.ini_options]
pythonpath = ["src"]
asyncio_default_fixture_loop_scope = "function"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.mypy]
python_version = "3.10"
files = [
"src/agentpack/core/e2e_benchmark.py",
"src/agentpack/core/modes.py",
"src/agentpack/router/models.py",
"src/agentpack/analysis/",
]
# Optional parsers and the Python 3.10 TOML fallback are intentionally absent
# from the default development install used by the CI type-check step.
[[tool.mypy.overrides]]
module = ["tomllib", "tomli", "tree_sitter", "tree_sitter_language_pack"]
ignore_missing_imports = true
[tool.coverage.run]
source = [
"src/agentpack/core",
"src/agentpack/analysis",
]
[tool.coverage.report]
fail_under = 80
show_missing = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/agentpack"]
[tool.hatch.build.targets.wheel.shared-data]
# no shared data needed; package data is included via include-package-data
[tool.hatch.build]
include = [
"src/agentpack/**",
]