agentguards 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: agentguards
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: GitHub Action that detects authorization and tenant-isolation regressions in Python/Django pull requests
|
|
5
|
+
Author: AgentGuard Team
|
|
6
|
+
License: MIT
|
|
7
|
+
Requires-Python: >=3.11
|
|
8
|
+
Requires-Dist: loguru>=0.7.0
|
|
9
|
+
Requires-Dist: pydantic-settings>=2.4.0
|
|
10
|
+
Requires-Dist: pydantic>=2.10.0
|
|
11
|
+
Requires-Dist: rich>=13.0.0
|
|
12
|
+
Requires-Dist: tree-sitter-python>=0.24.0
|
|
13
|
+
Requires-Dist: tree-sitter>=0.24.0
|
|
14
|
+
Requires-Dist: typer>=0.12.0
|
|
15
|
+
Provides-Extra: dev
|
|
16
|
+
Requires-Dist: mypy>=1.11.0; extra == 'dev'
|
|
17
|
+
Requires-Dist: pre-commit>=3.8.0; extra == 'dev'
|
|
18
|
+
Requires-Dist: pytest-cov>=5.0.0; extra == 'dev'
|
|
19
|
+
Requires-Dist: pytest>=8.0.0; extra == 'dev'
|
|
20
|
+
Requires-Dist: ruff>=0.8.0; extra == 'dev'
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
|
|
23
|
+
# AgentGuard
|
|
24
|
+
|
|
25
|
+
AgentGuard is a GitHub Action that detects authorization and tenant-isolation regressions in Python/Django pull requests, especially AI-generated ones.
|
|
26
|
+
|
|
27
|
+
## Install
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
pip install agentguard
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Dev setup
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# Clone the repo
|
|
37
|
+
cd agentguard
|
|
38
|
+
|
|
39
|
+
# Install with uv (recommended)
|
|
40
|
+
uv sync --dev
|
|
41
|
+
|
|
42
|
+
# Or with pip
|
|
43
|
+
pip install -e ".[dev]"
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Test commands
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# Run all tests
|
|
50
|
+
pytest
|
|
51
|
+
|
|
52
|
+
# Run with coverage
|
|
53
|
+
pytest --cov=src/agentguard
|
|
54
|
+
|
|
55
|
+
# Lint
|
|
56
|
+
ruff check src/ tests/
|
|
57
|
+
|
|
58
|
+
# Format
|
|
59
|
+
ruff format src/ tests/
|
|
60
|
+
|
|
61
|
+
# Type check
|
|
62
|
+
mypy --strict src/
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## CLI usage
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
agentguard version
|
|
69
|
+
agentguard scan --base main --head feature-branch --format json --mode observe --output report.json
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## GitHub Action
|
|
73
|
+
|
|
74
|
+
See `.github/workflows/ci.yml` for the CI pipeline and `action.yml` for the composite action.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
agentguards-1.0.0.dist-info/METADATA,sha256=MWiDobJvA0BICb5aFFuPobJQY4EkTumn29u4IkMyzWI,1573
|
|
2
|
+
agentguards-1.0.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
3
|
+
agentguards-1.0.0.dist-info/entry_points.txt,sha256=eMHO9NE0-KPWCHbY62DWOGzvMWkGz9HMTecDsiBV3nI,50
|
|
4
|
+
agentguards-1.0.0.dist-info/RECORD,,
|