github-agent 0.3.0__tar.gz → 0.7.1__tar.gz
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.
- {github_agent-0.3.0 → github_agent-0.7.1}/PKG-INFO +69 -4
- {github_agent-0.3.0 → github_agent-0.7.1}/README.md +66 -1
- {github_agent-0.3.0 → github_agent-0.7.1}/github_agent/agent_server.py +1 -1
- {github_agent-0.3.0 → github_agent-0.7.1}/github_agent/auth.py +2 -2
- github_agent-0.7.1/github_agent/mcp_config.json +3 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/github_agent.egg-info/PKG-INFO +69 -4
- github_agent-0.7.1/github_agent.egg-info/requires.txt +5 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/pyproject.toml +8 -3
- github_agent-0.3.0/github_agent/mcp_config.json +0 -3
- github_agent-0.3.0/github_agent.egg-info/requires.txt +0 -5
- {github_agent-0.3.0 → github_agent-0.7.1}/LICENSE +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/github_agent/__init__.py +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/github_agent/__main__.py +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/github_agent/api_client.py +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/github_agent/github_input_models.py +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/github_agent/github_response_models.py +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/github_agent/mcp_server.py +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/github_agent.egg-info/SOURCES.txt +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/github_agent.egg-info/dependency_links.txt +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/github_agent.egg-info/entry_points.txt +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/github_agent.egg-info/top_level.txt +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/scripts/validate_a2a_agent.py +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/setup.cfg +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/tests/test_github_agent_api_brute_force_coverage.py +0 -0
- {github_agent-0.3.0 → github_agent-0.7.1}/tests/test_github_agent_brute_force_coverage.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: github-agent
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: GitHub Agent for MCP
|
|
5
5
|
Author-email: Audel Rouhi <knucklessg1@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -9,10 +9,10 @@ Classifier: License :: Public Domain
|
|
|
9
9
|
Classifier: Environment :: Console
|
|
10
10
|
Classifier: Operating System :: POSIX :: Linux
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Requires-Python:
|
|
12
|
+
Requires-Python: <3.14,>=3.11
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: agent-utilities[agent,logfire]>=0.2
|
|
15
|
+
Requires-Dist: agent-utilities[agent,logfire]>=0.6.2
|
|
16
16
|
Provides-Extra: test
|
|
17
17
|
Requires-Dist: pytest; extra == "test"
|
|
18
18
|
Requires-Dist: pytest-asyncio; extra == "test"
|
|
@@ -41,7 +41,7 @@ Dynamic: license-file
|
|
|
41
41
|

|
|
42
42
|

|
|
43
43
|
|
|
44
|
-
*Version: 0.
|
|
44
|
+
*Version: 0.7.1*
|
|
45
45
|
|
|
46
46
|
## Overview
|
|
47
47
|
|
|
@@ -225,3 +225,68 @@ docker-compose up -d
|
|
|
225
225
|
|
|
226
226
|

|
|
227
227
|

|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
## MCP Configuration Examples
|
|
231
|
+
|
|
232
|
+
### 1. Standard IO (stdio) Deployment
|
|
233
|
+
|
|
234
|
+
```json
|
|
235
|
+
{
|
|
236
|
+
"mcpServers": {
|
|
237
|
+
"github-agent": {
|
|
238
|
+
"command": "uv",
|
|
239
|
+
"args": [
|
|
240
|
+
"run",
|
|
241
|
+
"github-mcp"
|
|
242
|
+
],
|
|
243
|
+
"env": {
|
|
244
|
+
"AGENT_DESCRIPTION": "<YOUR_AGENT_DESCRIPTION>",
|
|
245
|
+
"AGENT_SYSTEM_PROMPT": "<YOUR_AGENT_SYSTEM_PROMPT>",
|
|
246
|
+
"CONTENTSTOOL": "True",
|
|
247
|
+
"DEFAULT_AGENT_NAME": "<YOUR_DEFAULT_AGENT_NAME>",
|
|
248
|
+
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
|
|
249
|
+
"GITHUB_URL": "<YOUR_GITHUB_URL>",
|
|
250
|
+
"GITHUB_VERIFY": "<YOUR_GITHUB_VERIFY>",
|
|
251
|
+
"ISSUETOOL": "True",
|
|
252
|
+
"PULLSTOOL": "True",
|
|
253
|
+
"REPOSTOOL": "True"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### 2. Streamable HTTP (SSE) Deployment
|
|
261
|
+
|
|
262
|
+
```json
|
|
263
|
+
{
|
|
264
|
+
"mcpServers": {
|
|
265
|
+
"github-agent": {
|
|
266
|
+
"command": "uv",
|
|
267
|
+
"args": [
|
|
268
|
+
"run",
|
|
269
|
+
"github-mcp",
|
|
270
|
+
"--transport",
|
|
271
|
+
"http",
|
|
272
|
+
"--host",
|
|
273
|
+
"0.0.0.0",
|
|
274
|
+
"--port",
|
|
275
|
+
"8000"
|
|
276
|
+
],
|
|
277
|
+
"env": {
|
|
278
|
+
"AGENT_DESCRIPTION": "<YOUR_AGENT_DESCRIPTION>",
|
|
279
|
+
"AGENT_SYSTEM_PROMPT": "<YOUR_AGENT_SYSTEM_PROMPT>",
|
|
280
|
+
"CONTENTSTOOL": "True",
|
|
281
|
+
"DEFAULT_AGENT_NAME": "<YOUR_DEFAULT_AGENT_NAME>",
|
|
282
|
+
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
|
|
283
|
+
"GITHUB_URL": "<YOUR_GITHUB_URL>",
|
|
284
|
+
"GITHUB_VERIFY": "<YOUR_GITHUB_VERIFY>",
|
|
285
|
+
"ISSUETOOL": "True",
|
|
286
|
+
"PULLSTOOL": "True",
|
|
287
|
+
"REPOSTOOL": "True"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
```
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|

|
|
22
22
|

|
|
23
23
|
|
|
24
|
-
*Version: 0.
|
|
24
|
+
*Version: 0.7.1*
|
|
25
25
|
|
|
26
26
|
## Overview
|
|
27
27
|
|
|
@@ -205,3 +205,68 @@ docker-compose up -d
|
|
|
205
205
|
|
|
206
206
|

|
|
207
207
|

|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
## MCP Configuration Examples
|
|
211
|
+
|
|
212
|
+
### 1. Standard IO (stdio) Deployment
|
|
213
|
+
|
|
214
|
+
```json
|
|
215
|
+
{
|
|
216
|
+
"mcpServers": {
|
|
217
|
+
"github-agent": {
|
|
218
|
+
"command": "uv",
|
|
219
|
+
"args": [
|
|
220
|
+
"run",
|
|
221
|
+
"github-mcp"
|
|
222
|
+
],
|
|
223
|
+
"env": {
|
|
224
|
+
"AGENT_DESCRIPTION": "<YOUR_AGENT_DESCRIPTION>",
|
|
225
|
+
"AGENT_SYSTEM_PROMPT": "<YOUR_AGENT_SYSTEM_PROMPT>",
|
|
226
|
+
"CONTENTSTOOL": "True",
|
|
227
|
+
"DEFAULT_AGENT_NAME": "<YOUR_DEFAULT_AGENT_NAME>",
|
|
228
|
+
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
|
|
229
|
+
"GITHUB_URL": "<YOUR_GITHUB_URL>",
|
|
230
|
+
"GITHUB_VERIFY": "<YOUR_GITHUB_VERIFY>",
|
|
231
|
+
"ISSUETOOL": "True",
|
|
232
|
+
"PULLSTOOL": "True",
|
|
233
|
+
"REPOSTOOL": "True"
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
### 2. Streamable HTTP (SSE) Deployment
|
|
241
|
+
|
|
242
|
+
```json
|
|
243
|
+
{
|
|
244
|
+
"mcpServers": {
|
|
245
|
+
"github-agent": {
|
|
246
|
+
"command": "uv",
|
|
247
|
+
"args": [
|
|
248
|
+
"run",
|
|
249
|
+
"github-mcp",
|
|
250
|
+
"--transport",
|
|
251
|
+
"http",
|
|
252
|
+
"--host",
|
|
253
|
+
"0.0.0.0",
|
|
254
|
+
"--port",
|
|
255
|
+
"8000"
|
|
256
|
+
],
|
|
257
|
+
"env": {
|
|
258
|
+
"AGENT_DESCRIPTION": "<YOUR_AGENT_DESCRIPTION>",
|
|
259
|
+
"AGENT_SYSTEM_PROMPT": "<YOUR_AGENT_SYSTEM_PROMPT>",
|
|
260
|
+
"CONTENTSTOOL": "True",
|
|
261
|
+
"DEFAULT_AGENT_NAME": "<YOUR_DEFAULT_AGENT_NAME>",
|
|
262
|
+
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
|
|
263
|
+
"GITHUB_URL": "<YOUR_GITHUB_URL>",
|
|
264
|
+
"GITHUB_VERIFY": "<YOUR_GITHUB_VERIFY>",
|
|
265
|
+
"ISSUETOOL": "True",
|
|
266
|
+
"PULLSTOOL": "True",
|
|
267
|
+
"REPOSTOOL": "True"
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
```
|
|
@@ -45,8 +45,8 @@ def get_client(
|
|
|
45
45
|
exchange_data = {
|
|
46
46
|
"grant_type": "urn:ietf:params:oauth:grant-type:token-exchange",
|
|
47
47
|
"subject_token": user_token,
|
|
48
|
-
"subject_token_type": "urn:ietf:params:oauth:token-type:access_token",
|
|
49
|
-
"requested_token_type": "urn:ietf:params:oauth:token-type:access_token",
|
|
48
|
+
"subject_token_type": "urn:ietf:params:oauth:token-type:access_token", # nosec B105
|
|
49
|
+
"requested_token_type": "urn:ietf:params:oauth:token-type:access_token", # nosec B105
|
|
50
50
|
"audience": config["audience"],
|
|
51
51
|
"scope": config["delegated_scopes"],
|
|
52
52
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: github-agent
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: GitHub Agent for MCP
|
|
5
5
|
Author-email: Audel Rouhi <knucklessg1@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -9,10 +9,10 @@ Classifier: License :: Public Domain
|
|
|
9
9
|
Classifier: Environment :: Console
|
|
10
10
|
Classifier: Operating System :: POSIX :: Linux
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Requires-Python:
|
|
12
|
+
Requires-Python: <3.14,>=3.11
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: agent-utilities[agent,logfire]>=0.2
|
|
15
|
+
Requires-Dist: agent-utilities[agent,logfire]>=0.6.2
|
|
16
16
|
Provides-Extra: test
|
|
17
17
|
Requires-Dist: pytest; extra == "test"
|
|
18
18
|
Requires-Dist: pytest-asyncio; extra == "test"
|
|
@@ -41,7 +41,7 @@ Dynamic: license-file
|
|
|
41
41
|

|
|
42
42
|

|
|
43
43
|
|
|
44
|
-
*Version: 0.
|
|
44
|
+
*Version: 0.7.1*
|
|
45
45
|
|
|
46
46
|
## Overview
|
|
47
47
|
|
|
@@ -225,3 +225,68 @@ docker-compose up -d
|
|
|
225
225
|
|
|
226
226
|

|
|
227
227
|

|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
## MCP Configuration Examples
|
|
231
|
+
|
|
232
|
+
### 1. Standard IO (stdio) Deployment
|
|
233
|
+
|
|
234
|
+
```json
|
|
235
|
+
{
|
|
236
|
+
"mcpServers": {
|
|
237
|
+
"github-agent": {
|
|
238
|
+
"command": "uv",
|
|
239
|
+
"args": [
|
|
240
|
+
"run",
|
|
241
|
+
"github-mcp"
|
|
242
|
+
],
|
|
243
|
+
"env": {
|
|
244
|
+
"AGENT_DESCRIPTION": "<YOUR_AGENT_DESCRIPTION>",
|
|
245
|
+
"AGENT_SYSTEM_PROMPT": "<YOUR_AGENT_SYSTEM_PROMPT>",
|
|
246
|
+
"CONTENTSTOOL": "True",
|
|
247
|
+
"DEFAULT_AGENT_NAME": "<YOUR_DEFAULT_AGENT_NAME>",
|
|
248
|
+
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
|
|
249
|
+
"GITHUB_URL": "<YOUR_GITHUB_URL>",
|
|
250
|
+
"GITHUB_VERIFY": "<YOUR_GITHUB_VERIFY>",
|
|
251
|
+
"ISSUETOOL": "True",
|
|
252
|
+
"PULLSTOOL": "True",
|
|
253
|
+
"REPOSTOOL": "True"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### 2. Streamable HTTP (SSE) Deployment
|
|
261
|
+
|
|
262
|
+
```json
|
|
263
|
+
{
|
|
264
|
+
"mcpServers": {
|
|
265
|
+
"github-agent": {
|
|
266
|
+
"command": "uv",
|
|
267
|
+
"args": [
|
|
268
|
+
"run",
|
|
269
|
+
"github-mcp",
|
|
270
|
+
"--transport",
|
|
271
|
+
"http",
|
|
272
|
+
"--host",
|
|
273
|
+
"0.0.0.0",
|
|
274
|
+
"--port",
|
|
275
|
+
"8000"
|
|
276
|
+
],
|
|
277
|
+
"env": {
|
|
278
|
+
"AGENT_DESCRIPTION": "<YOUR_AGENT_DESCRIPTION>",
|
|
279
|
+
"AGENT_SYSTEM_PROMPT": "<YOUR_AGENT_SYSTEM_PROMPT>",
|
|
280
|
+
"CONTENTSTOOL": "True",
|
|
281
|
+
"DEFAULT_AGENT_NAME": "<YOUR_DEFAULT_AGENT_NAME>",
|
|
282
|
+
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
|
|
283
|
+
"GITHUB_URL": "<YOUR_GITHUB_URL>",
|
|
284
|
+
"GITHUB_VERIFY": "<YOUR_GITHUB_VERIFY>",
|
|
285
|
+
"ISSUETOOL": "True",
|
|
286
|
+
"PULLSTOOL": "True",
|
|
287
|
+
"REPOSTOOL": "True"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
```
|
|
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "github-agent"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.7.1"
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
description = "GitHub Agent for MCP"
|
|
10
|
-
requires-python = ">=3.
|
|
10
|
+
requires-python = ">=3.11, <3.14"
|
|
11
11
|
classifiers = [ "Development Status :: 5 - Production/Stable", "License :: Public Domain", "Environment :: Console", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3",]
|
|
12
|
-
dependencies = [ "agent-utilities[agent,logfire]>=0.2
|
|
12
|
+
dependencies = [ "agent-utilities[agent,logfire]>=0.6.2",]
|
|
13
13
|
[[project.authors]]
|
|
14
14
|
name = "Audel Rouhi"
|
|
15
15
|
email = "knucklessg1@gmail.com"
|
|
@@ -36,6 +36,11 @@ python_version = "3.10"
|
|
|
36
36
|
ignore_missing_imports = true
|
|
37
37
|
check_untyped_defs = true
|
|
38
38
|
|
|
39
|
+
[dependency-groups]
|
|
40
|
+
dev = [
|
|
41
|
+
"pytest-timeout>=2.4.0",
|
|
42
|
+
]
|
|
43
|
+
|
|
39
44
|
[tool.setuptools.package-data]
|
|
40
45
|
github_agent = [ "mcp_config.json", "agent_data/**",]
|
|
41
46
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{github_agent-0.3.0 → github_agent-0.7.1}/tests/test_github_agent_api_brute_force_coverage.py
RENAMED
|
File without changes
|
|
File without changes
|