feat: harden gateway with policy engine, secure tools, and governance docs

This commit is contained in:
2026-02-14 16:05:56 +01:00
parent e17d34e6d7
commit 5969892af3
55 changed files with 4711 additions and 1587 deletions

View File

@@ -25,6 +25,7 @@ dependencies = [
"httpx>=0.26.0",
"pydantic>=2.5.0",
"pydantic-settings>=2.1.0",
"PyYAML>=6.0.1",
"python-dotenv>=1.0.0",
"structlog>=24.1.0",
]
@@ -52,9 +53,11 @@ requires = ["setuptools>=68.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["aegis_gitea_mcp"]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.black]
line-length = 100
target-version = ['py310', 'py311', 'py312']
@@ -63,6 +66,8 @@ include = '\.pyi?$'
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
@@ -77,7 +82,7 @@ ignore = [
"B008", # do not perform function calls in argument defaults
]
[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]